types

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudConfigToString

func CloudConfigToString(c *CloudConfig) (string, error)

Types

type CloudConfig

type CloudConfig struct {
	Global GlobalOpts
}

type GlobalOpts

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

type RawConfig struct {
	AccessKeyID     providerconfigtypes.ConfigVarString `json:"accessKeyId,omitempty"`
	SecretAccessKey providerconfigtypes.ConfigVarString `json:"secretAccessKey,omitempty"`

	Region           providerconfigtypes.ConfigVarString   `json:"region"`
	AvailabilityZone providerconfigtypes.ConfigVarString   `json:"availabilityZone,omitempty"`
	VpcID            providerconfigtypes.ConfigVarString   `json:"vpcId"`
	SubnetID         providerconfigtypes.ConfigVarString   `json:"subnetId"`
	SecurityGroupIDs []providerconfigtypes.ConfigVarString `json:"securityGroupIDs,omitempty"`
	InstanceProfile  providerconfigtypes.ConfigVarString   `json:"instanceProfile,omitempty"`
	IsSpotInstance   *bool                                 `json:"isSpotInstance,omitempty"`
	InstanceType     providerconfigtypes.ConfigVarString   `json:"instanceType,omitempty"`
	AMI              providerconfigtypes.ConfigVarString   `json:"ami,omitempty"`
	DiskSize         int64                                 `json:"diskSize"`
	DiskType         providerconfigtypes.ConfigVarString   `json:"diskType,omitempty"`
	DiskIops         *int64                                `json:"diskIops,omitempty"`
	Tags             map[string]string                     `json:"tags,omitempty"`
	AssignPublicIP   *bool                                 `json:"assignPublicIP,omitempty"`
}

Jump to

Keyboard shortcuts

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