types

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudConfigToString

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

Types

type CPUArchitecture added in v1.36.1

type CPUArchitecture string

CPUArchitecture defines processor architectures returned by the AWS API

const (
	CPUArchitectureARM64  CPUArchitecture = "arm64"
	CPUArchitectureX86_64 CPUArchitecture = "x86_64"
	CPUArchitectureI386   CPUArchitecture = "i386"
)

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

	AssumeRoleARN        providerconfigtypes.ConfigVarString `json:"assumeRoleARN,omitempty"`
	AssumeRoleExternalID providerconfigtypes.ConfigVarString `json:"assumeRoleExternalID,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"`
	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"`
	EBSVolumeEncrypted providerconfigtypes.ConfigVarBool     `json:"ebsVolumeEncrypted"`
	Tags               map[string]string                     `json:"tags,omitempty"`
	AssignPublicIP     *bool                                 `json:"assignPublicIP,omitempty"`

	IsSpotInstance     *bool               `json:"isSpotInstance,omitempty"`
	SpotInstanceConfig *SpotInstanceConfig `json:"spotInstanceConfig,omitempty"`
}

type SpotInstanceConfig added in v1.27.11

type SpotInstanceConfig struct {
	MaxPrice             providerconfigtypes.ConfigVarString `json:"maxPrice,omitempty"`
	PersistentRequest    providerconfigtypes.ConfigVarBool   `json:"persistentRequest,omitempty"`
	InterruptionBehavior providerconfigtypes.ConfigVarString `json:"interruptionBehavior,omitempty"`
}

Jump to

Keyboard shortcuts

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