github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/provider/equinix/init.go (about)

     1  // Copyright 2020 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package equinix
     5  
     6  import (
     7  	"github.com/juju/juju/environs"
     8  )
     9  
    10  const (
    11  	providerType = "equinix"
    12  )
    13  
    14  const (
    15  	Provisioning string = "provisioning"
    16  	Active       string = "active"
    17  	ShuttingDown string = "shutting-down"
    18  	Stopped      string = "stopped"
    19  	Stopping     string = "stopping"
    20  	Terminated   string = "terminated"
    21  )
    22  
    23  func init() {
    24  	environs.RegisterProvider(providerType, environProvider{})
    25  }
    26  
    27  func NewProvider() environs.CloudEnvironProvider {
    28  	return environProvider{}
    29  }