aws

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 29 Imported by: 0

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

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
}

type GlobalOpts added in v0.10.6

type GlobalOpts struct {
	Zone                        string
	VPC                         string
	SubnetID                    string
	RouteTableID                string
	RoleARN                     string
	KubernetesClusterTag        string
	KubernetesClusterID         string
	ElbSecurityGroup            string
	DisableSecurityGroupIngress bool
	DisableStrictZoneCheck      bool
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL