api

package
v0.0.0-...-b3ee267 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWSDebugLevel = 5

	EKS_REGION_US_WEST_2 = "us-west-2"
	EKS_REGION_US_EAST_1 = "us-east-1"
	EKS_REGION_EU_WEST_1 = "eu-west-1"
	DEFAULT_EKS_REGION   = EKS_REGION_US_WEST_2
)

Variables

View Source
var DefaultWaitTimeout = 20 * time.Minute

Functions

This section is empty.

Types

type AddonIAM

type AddonIAM struct {
	PolicyAmazonEC2ContainerRegistryPowerUser bool
}

type ClusterAddons

type ClusterAddons struct {
	WithIAM AddonIAM
	Storage bool
}

type ClusterConfig

type ClusterConfig struct {
	Region      string
	Profile     string
	Tags        map[string]string
	ClusterName string

	NodeAMI  string
	NodeType string
	Nodes    int
	MinNodes int
	MaxNodes int

	MaxPodsPerNode int

	NodePolicyARNs []string

	NodeSSH          bool
	SSHPublicKeyPath string
	SSHPublicKey     []byte
	SSHPublicKeyName string

	WaitTimeout time.Duration

	SecurityGroup string
	Subnets       []string
	VPC           string

	Endpoint                 string
	CertificateAuthorityData []byte
	ARN                      string

	ClusterStackName string

	NodeInstanceRoleARN string

	AvailabilityZones []string

	Addons ClusterAddons
}

simple config, to be replaced with Cluster API

type ClusterProvider

type ClusterProvider interface {
	CloudFormation() cloudformationiface.CloudFormationAPI
	EKS() eksiface.EKSAPI
	EC2() ec2iface.EC2API
	STS() stsiface.STSAPI
}

Jump to

Keyboard shortcuts

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