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) cloudprovidertypes.Provider
New returns a aws provider
Types ¶
type CloudConfig ¶ added in v0.10.6
type CloudConfig struct {
Global GlobalOpts
}
type Config ¶ added in v0.0.2
type Config struct { AccessKeyID string SecretAccessKey string Region string AvailabilityZone string VpcID string SubnetID string SecurityGroupIDs []string InstanceProfile string IsSpotInstance *bool InstanceType string AMI string DiskSize int64 DiskType string DiskIops *int64 Tags map[string]string AssignPublicIP *bool }
type GlobalOpts ¶ added in v0.10.6
type RawConfig ¶ added in v0.2.0
type RawConfig struct { AccessKeyID providerconfig.ConfigVarString `json:"accessKeyId,omitempty"` SecretAccessKey providerconfig.ConfigVarString `json:"secretAccessKey,omitempty"` 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,omitempty"` InstanceProfile providerconfig.ConfigVarString `json:"instanceProfile"` IsSpotInstance *bool `json:"isSpotInstance,omitempty"` InstanceType providerconfig.ConfigVarString `json:"instanceType,omitempty"` AMI providerconfig.ConfigVarString `json:"ami"` DiskSize int64 `json:"diskSize"` DiskType providerconfig.ConfigVarString `json:"diskType,omitempty"` DiskIops *int64 `json:"diskIops,omitempty"` Tags map[string]string `json:"tags,omitempty"` AssignPublicIP *bool `json:"assignPublicIP"` }
Click to show internal directories.
Click to hide internal directories.