cluster

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 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.StackConfig
	// contains filtered or unexported fields
}

func (*Cluster) Assets

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

func (Cluster) NestedStackName

func (c Cluster) NestedStackName() string

NestedStackName returns a sanitized name of this etcd 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 {
	*controlplaneconfig.Cluster
	// contains filtered or unexported fields
}

func (*ClusterRef) Destroy

func (c *ClusterRef) Destroy() error

type EtcdConfigurationContext

type EtcdConfigurationContext struct {
	*controlplaneconfig.Config
	model.EtcdExistingState
}

An EtcdConfigurationContext contains configuration settings/options mixed with existing state in a way that can be consumed by stack and cloud-config templates.

Jump to

Keyboard shortcuts

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