root

package
v0.9.6-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LOCAL_ROOT_STACK_TEMPLATE_PATH = defaults.RootStackTemplateTmplFile
	REMOTE_STACK_TEMPLATE_FILENAME = "stack.json"
)

Variables

This section is empty.

Functions

func CredentialsRendererFromFile

func CredentialsRendererFromFile(configPath string) (render.CredentialsRenderer, error)

func NewOptions

func NewOptions(s3URI string, prettyPrint bool, skipWait bool) options

func StackAssetsRendererFromFile

func StackAssetsRendererFromFile(configPath string) (render.StackRenderer, error)

Types

type Cluster

type Cluster interface {
	Assets() (cfnstack.Assets, error)
	Create() error
	Export() error
	EstimateCost() ([]string, error)
	Info() (*Info, error)
	Update() (string, error)
	ValidateStack() (string, error)
	ValidateTemplates() error
	ValidateUserData() error
	ControlPlane() *controlplane.Cluster
}

func ClusterFromConfig

func ClusterFromConfig(cfg *config.Config, opts options, awsDebug bool) (Cluster, error)

func ClusterFromFile

func ClusterFromFile(configPath string, opts options, awsDebug bool) (Cluster, error)

type ClusterDescriber

type ClusterDescriber interface {
	Info() (*Info, error)
}

func ClusterDescriberFromFile

func ClusterDescriberFromFile(configPath string) (ClusterDescriber, error)

func NewClusterDescriber

func NewClusterDescriber(clusterName string, stackName string, cpConfig *cp.Config, session *session.Session) ClusterDescriber

type ClusterDestroyer

type ClusterDestroyer interface {
	Destroy() error
}

func ClusterDestroyerFromFile

func ClusterDestroyerFromFile(configPath string, opts DestroyOptions) (ClusterDestroyer, error)

type DestroyOptions

type DestroyOptions struct {
	AwsDebug bool
}

type Info

type Info struct {
	ControlPlane *cluster.Info
}

func (*Info) String

func (i *Info) String() string

type NestedStack

type NestedStack interface {
	Name() string
	Tags() map[string]string
	TemplateURL() (string, error)
}

type TemplateParams

type TemplateParams struct {
	// contains filtered or unexported fields
}

func (TemplateParams) ClusterName

func (p TemplateParams) ClusterName() string

func (TemplateParams) ControlPlane

func (c TemplateParams) ControlPlane() NestedStack

func (TemplateParams) NodePools

func (c TemplateParams) NodePools() []NestedStack

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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