aws

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	EC2AMIOverride string    `json:"aws_ec2_ami_override,omitempty"`
	Endpoints      Endpoints `json:"aws_endpoints,omitempty"`
	External       `json:",inline"`
	ExtraTags      map[string]string `json:"aws_extra_tags,omitempty"`
	InstallerRole  string            `json:"aws_installer_role,omitempty"`
	Master         `json:",inline"`
	Region         string `json:"aws_region,omitempty"`
	VPCCIDRBlock   string `json:"aws_vpc_cidr_block,omitempty"`
	Worker         `json:",inline"`
}

AWS converts AWS related config.

type Endpoints

type Endpoints string

Endpoints is the type of the AWS endpoints.

const (
	// EndpointsAll represents the configuration for using both private and public endpoints.
	EndpointsAll Endpoints = "all"
	// EndpointsPrivate represents the configuration for using only private endpoints.
	EndpointsPrivate Endpoints = "private"
	// EndpointsPublic represents the configuration for using only public endpoints.
	EndpointsPublic Endpoints = "public"
)

type External

type External struct {
	MasterSubnetIDs []string `json:"aws_external_master_subnet_ids,omitempty"`
	PrivateZone     string   `json:"aws_external_private_zone,omitempty"`
	VPCID           string   `json:"aws_external_vpc_id,omitempty"`
	WorkerSubnetIDs []string `json:"aws_external_worker_subnet_ids,omitempty"`
}

External converts external related config.

type Master

type Master struct {
	CustomSubnets    map[string]string `json:"aws_master_custom_subnets,omitempty"`
	EC2Type          string            `json:"aws_master_ec2_type,omitempty"`
	ExtraSGIDs       []string          `json:"aws_master_extra_sg_ids,omitempty"`
	IAMRoleName      string            `json:"aws_master_iam_role_name,omitempty"`
	MasterRootVolume `json:",inline"`
}

Master converts master related config.

type MasterRootVolume

type MasterRootVolume struct {
	IOPS int    `json:"aws_master_root_volume_iops,omitempty"`
	Size int    `json:"aws_master_root_volume_size,omitempty"`
	Type string `json:"aws_master_root_volume_type,omitempty"`
}

MasterRootVolume converts master rool volume related config.

type Worker

type Worker struct {
	CustomSubnets map[string]string `json:"aws_worker_custom_subnets,omitempty"`
	IAMRoleName   string            `json:"aws_worker_iam_role_name,omitempty"`
}

Worker converts worker related config.

Jump to

Keyboard shortcuts

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