cluster

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 9 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

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 ClusterRef

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

func (*ClusterRef) Destroy

func (c *ClusterRef) Destroy() error

Jump to

Keyboard shortcuts

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