cluster

package
v0.9.6-rc.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: Apache-2.0 Imports: 15 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.CompressedStackConfig
}

func NewCluster

func NewCluster(cfg *config.Cluster, opts config.StackTemplateOptions, awsDebug bool) (*Cluster, error)

func (*Cluster) Assets

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

func (*Cluster) Create

func (c *Cluster) Create() error

func (*Cluster) RenderTemplateAsString

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

func (*Cluster) String

func (c *Cluster) String() string

func (*Cluster) TemplateURL

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

func (*Cluster) Update

func (c *Cluster) Update() (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 NewClusterRef

func NewClusterRef(cfg *config.Cluster, awsDebug bool) *ClusterRef

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