cluster

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const STACK_TEMPLATE_FILENAME = "stack.json"

Variables

View Source
var VERSION = "UNKNOWN"

VERSION set by build script

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	*ClusterRef
	*config.StackConfig
	// contains filtered or unexported fields
}

func NewCluster

func NewCluster(cfgRef *config.Cluster, opts config.StackTemplateOptions, plugins []*pluginmodel.Plugin, session *session.Session) (*Cluster, error)

func (*Cluster) Assets

func (c *Cluster) Assets() cfnstack.Assets

func (Cluster) NestedStackName added in v0.11.0

func (c Cluster) NestedStackName() string

NestedStackName returns a sanitized name of this control-plane which is usable as a valid cloudformation nested stack name

func (*Cluster) String

func (c *Cluster) String() string

func (*Cluster) TemplateURL

func (c *Cluster) TemplateURL() (string, error)

func (*Cluster) Validate

func (c *Cluster) Validate() error

func (*Cluster) ValidateStack

func (c *Cluster) ValidateStack() (string, error)

ValidateStack validates the CloudFormation stack for this control plane already uploaded to S3

type ClusterDescriber

type ClusterDescriber interface {
	Info() (*Info, error)
}

func NewClusterDescriber

func NewClusterDescriber(clusterName string, stackName string, elbResourceLogicalNames []string, session *session.Session) ClusterDescriber

type ClusterRef

type ClusterRef struct {
	*config.Cluster
	// contains filtered or unexported fields
}

func (*ClusterRef) Destroy

func (c *ClusterRef) Destroy() error

type Info

type Info struct {
	Name            string
	ControllerHosts []string
}

func (*Info) String

func (c *Info) String() string

Jump to

Keyboard shortcuts

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