config

package
v0.9.8-rc.3 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: 9 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 ConfigFromBytesWithEncryptService

func ConfigFromBytesWithEncryptService(data []byte, plugins []*pluginmodel.Plugin, 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