Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configVarResolver *providerconfig.ConfigVarResolver) cloudprovidertypes.Provider
New returns a digitalocean provider
Types ¶
type RawConfig ¶ added in v0.2.0
type RawConfig struct { Token providerconfig.ConfigVarString `json:"token,omitempty"` Region providerconfig.ConfigVarString `json:"region"` Size providerconfig.ConfigVarString `json:"size"` Backups providerconfig.ConfigVarBool `json:"backups"` IPv6 providerconfig.ConfigVarBool `json:"ipv6"` PrivateNetworking providerconfig.ConfigVarBool `json:"private_networking"` Monitoring providerconfig.ConfigVarBool `json:"monitoring"` Tags []providerconfig.ConfigVarString `json:"tags,omitempty"` }
type TokenSource ¶
type TokenSource struct {
AccessToken string
}
Click to show internal directories.
Click to hide internal directories.