Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudConfigToString ¶ added in v0.10.6
func CloudConfigToString(c *CloudConfig) (string, error)
func New ¶
func New(configVarResolver *providerconfig.ConfigVarResolver) cloud.Provider
New returns a aws provider
Types ¶
type CloudConfig ¶ added in v0.10.6
type CloudConfig struct {
Global GlobalOpts
}
type GlobalOpts ¶ added in v0.10.6
type RawConfig ¶ added in v0.2.0
type RawConfig struct { AccessKeyID providerconfig.ConfigVarString `json:"accessKeyId"` SecretAccessKey providerconfig.ConfigVarString `json:"secretAccessKey"` Region providerconfig.ConfigVarString `json:"region"` AvailabilityZone providerconfig.ConfigVarString `json:"availabilityZone"` VpcID providerconfig.ConfigVarString `json:"vpcId"` SubnetID providerconfig.ConfigVarString `json:"subnetId"` SecurityGroupIDs []providerconfig.ConfigVarString `json:"securityGroupIDs"` InstanceProfile providerconfig.ConfigVarString `json:"instanceProfile"` IsSpotInstance *bool `json:"isSpotInstance,omitempty"` InstanceType providerconfig.ConfigVarString `json:"instanceType"` AMI providerconfig.ConfigVarString `json:"ami"` DiskSize int64 `json:"diskSize"` DiskType providerconfig.ConfigVarString `json:"diskType"` Tags map[string]string `json:"tags"` }
Click to show internal directories.
Click to hide internal directories.