cluster

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const STACK_TEMPLATE_FILENAME = "stack.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

func NewCluster

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

func (*Cluster) Assets

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

func (*Cluster) TemplateURL

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

func (*Cluster) ValidateStack

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

ValidateStack validates the CloudFormation stack for this worker node pool already uploaded to S3

type ClusterRef

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

func ClusterRefFromBytes

func ClusterRefFromBytes(bytes []byte, main *controlplane.Config, awsDebug bool) (*ClusterRef, error)

func NewClusterRef

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

func (*ClusterRef) Destroy

func (c *ClusterRef) Destroy() error

func (*ClusterRef) Info

func (c *ClusterRef) Info() (*Info, error)

type Info

type Info struct {
	Name 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