config

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: Apache-2.0 Imports: 7 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"`
}

func ConfigFromBytes

func ConfigFromBytes(data []byte) (*Config, error)

func ConfigFromBytesWithEncryptService

func ConfigFromBytesWithEncryptService(data []byte, encryptService controlplane.EncryptService) (*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