Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudConfigToString ¶ added in v0.8.0
func CloudConfigToString(c *CloudConfig) (string, error)
func New ¶
func New(configVarResolver *providerconfig.ConfigVarResolver) cloud.Provider
New returns a digitalocean provider
Types ¶
type CloudConfig ¶ added in v0.8.0
type CloudConfig struct { Cloud string `json:"cloud"` TenantID string `json:"tenantId"` SubscriptionID string `json:"subscriptionId"` AADClientID string `json:"aadClientId"` AADClientSecret string `json:"aadClientSecret"` ResourceGroup string `json:"resourceGroup"` Location string `json:"location"` VNetName string `json:"vnetName"` SubnetName string `json:"subnetName"` RouteTableName string `json:"routeTableName"` UseInstanceMetadata bool `json:"useInstanceMetadata"` }
type RawConfig ¶
type RawConfig struct { SubscriptionID providerconfig.ConfigVarString `json:"subscriptionID"` TenantID providerconfig.ConfigVarString `json:"tenantID"` ClientID providerconfig.ConfigVarString `json:"clientID"` ClientSecret providerconfig.ConfigVarString `json:"clientSecret"` Location providerconfig.ConfigVarString `json:"location"` ResourceGroup providerconfig.ConfigVarString `json:"resourceGroup"` VMSize providerconfig.ConfigVarString `json:"vmSize"` VNetName providerconfig.ConfigVarString `json:"vnetName"` SubnetName providerconfig.ConfigVarString `json:"subnetName"` RouteTableName providerconfig.ConfigVarString `json:"routeTableName"` AvailabilitySet providerconfig.ConfigVarString `json:"availabilitySet"` AssignPublicIP providerconfig.ConfigVarBool `json:"assignPublicIP"` Tags map[string]string `json:"tags"` }
RawConfig is a direct representation of an Azure machine object's configuration
Click to show internal directories.
Click to hide internal directories.