config

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: 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, cf cfnstack.CFInterrogator, ec cfnstack.EC2Interrogator) (*Config, error)

func ConfigFromFile

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

func (*Config) RootStackName

func (c *Config) RootStackName() string

type InitialConfig added in v0.11.0

type InitialConfig struct {
	AmiId            string
	AvailabilityZone string
	ClusterName      string
	ExternalDNSName  string
	HostedZoneID     string
	KMSKeyARN        string
	KeyName          string
	NoRecordSet      bool
	Region           model.Region
	S3URI            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"`
	NodePoolRollingStrategy string `yaml:"nodePoolRollingStrategy,omitempty"`
}

Jump to

Keyboard shortcuts

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