config

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*controlplane.Cluster
	NodePools         []*nodepool.ProvidedConfig
	model.UnknownKeys `yaml:",inline"`
	Plugins           []*pluginmodel.Plugin
}

func ConfigFromBytes

func ConfigFromBytes(data []byte, plugins []*pluginmodel.Plugin) (*Config, error)

func ConfigFromBytesWithStubs added in v0.10.1

func ConfigFromBytesWithStubs(data []byte, plugins []*pluginmodel.Plugin, encryptService controlplane.EncryptService, ec2 cfnstack.EC2Interrogator) (*Config, error)

func ConfigFromFile

func ConfigFromFile(configPath string) (*Config, error)

func (*Config) RootStackName

func (c *Config) RootStackName() string

type UnmarshalledConfig

type UnmarshalledConfig struct {
	controlplane.Cluster `yaml:",inline"`
	Worker               `yaml:"worker,omitempty"`
	model.UnknownKeys    `yaml:",inline"`
}

type Worker added in v0.9.6

type Worker struct {
	APIEndpointName   string                     `yaml:"apiEndpointName,omitempty"`
	NodePools         []*nodepool.ProvidedConfig `yaml:"nodePools,omitempty"`
	model.UnknownKeys `yaml:",inline"`
}

Jump to

Keyboard shortcuts

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