cluster

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 17 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(cfg *config.Cluster, opts config.StackTemplateOptions, plugins []*pluginmodel.Plugin, awsDebug bool) (*Cluster, error)

func (*Cluster) Assets

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

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 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