root

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2017 License: Apache-2.0 Imports: 23 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
	ControlPlane() *controlplane.Cluster
	NodePools() []*nodepool.Cluster
	RenderStackTemplateAsString() (string, error)
}

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)
	NeedToExportIAMroles() bool
}

type TemplateParams

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

TemplateParams is the set of parameters exposed for templating cfn stack template for the root stack

func (TemplateParams) CloudWatchLogging added in v0.9.7

func (p TemplateParams) CloudWatchLogging() config.CloudWatchLogging

func (TemplateParams) ClusterName

func (p TemplateParams) ClusterName() string

func (TemplateParams) ControlPlane

func (c TemplateParams) ControlPlane() controlPlane

func (TemplateParams) ExtraCfnResources added in v0.9.8

func (p TemplateParams) ExtraCfnResources() map[string]interface{}

func (TemplateParams) KubeAwsVersion added in v0.9.8

func (p TemplateParams) KubeAwsVersion() string

func (TemplateParams) KubeDnsMasq added in v0.9.8

func (p TemplateParams) KubeDnsMasq() config.KubeDns

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