aws

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 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:"tectonic_aws_ec2_ami_override,omitempty"`
	Endpoints      Endpoints `json:"tectonic_aws_endpoints,omitempty"`
	External       `json:",inline"`
	ExtraTags      map[string]string `json:"tectonic_aws_extra_tags,omitempty"`
	InstallerRole  string            `json:"tectonic_aws_installer_role,omitempty"`
	Master         `json:",inline"`
	Region         string `json:"tectonic_aws_region,omitempty"`
	VPCCIDRBlock   string `json:"tectonic_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"
	// DefaultVPCCIDRBlock is the default CIDR range for an AWS VPC.
	DefaultVPCCIDRBlock = "10.0.0.0/16"
	// DefaultRegion is the default AWS region for the cluster.
	DefaultRegion = "us-east-1"
)

type External

type External struct {
	MasterSubnetIDs []string `json:"tectonic_aws_external_master_subnet_ids,omitempty"`
	PrivateZone     string   `json:"tectonic_aws_external_private_zone,omitempty"`
	VPCID           string   `json:"tectonic_aws_external_vpc_id,omitempty"`
	WorkerSubnetIDs []string `json:"tectonic_aws_external_worker_subnet_ids,omitempty"`
}

External converts external related config.

type Master

type Master struct {
	CustomSubnets    map[string]string `json:"tectonic_aws_master_custom_subnets,omitempty"`
	EC2Type          string            `json:"tectonic_aws_master_ec2_type,omitempty"`
	ExtraSGIDs       []string          `json:"tectonic_aws_master_extra_sg_ids,omitempty"`
	IAMRoleName      string            `json:"tectonic_aws_master_iam_role_name,omitempty"`
	MasterRootVolume `json:",inline"`
}

Master converts master related config.

type MasterRootVolume

type MasterRootVolume struct {
	IOPS int    `json:"tectonic_aws_master_root_volume_iops,omitempty"`
	Size int    `json:"tectonic_aws_master_root_volume_size,omitempty"`
	Type string `json:"tectonic_aws_master_root_volume_type,omitempty"`
}

MasterRootVolume converts master rool volume related config.

type Worker

type Worker struct {
	CustomSubnets    map[string]string `json:"tectonic_aws_worker_custom_subnets,omitempty"`
	EC2Type          string            `json:"tectonic_aws_worker_ec2_type,omitempty"`
	ExtraSGIDs       []string          `json:"tectonic_aws_worker_extra_sg_ids,omitempty"`
	IAMRoleName      string            `json:"tectonic_aws_worker_iam_role_name,omitempty"`
	LoadBalancers    []string          `json:"tectonic_aws_worker_load_balancers,omitempty"`
	WorkerRootVolume `json:",inline"`
}

Worker converts worker related config.

type WorkerRootVolume

type WorkerRootVolume struct {
	IOPS int    `json:"tectonic_aws_worker_root_volume_iops,omitempty"`
	Size int    `json:"tectonic_aws_worker_root_volume_size,omitempty"`
	Type string `json:"tectonic_aws_worker_root_volume_type,omitempty"`
}

WorkerRootVolume converts worker rool volume related config.

Jump to

Keyboard shortcuts

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