registry

package
v1.20.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 13 Imported by: 185

Documentation

Index

Constants

View Source
const (
	// Path for the user-specified cluster spec
	PathCluster = "config"
	// Path for completed cluster spec in the state store
	PathClusterCompleted = "cluster.spec"
	// PathKopsVersionUpdated is the path for the version of kops last used to apply the cluster.
	PathKopsVersionUpdated = "kops-version.txt"
)

Variables

This section is empty.

Functions

func ConfigBase

func ConfigBase(c *api.Cluster) (vfs.Path, error)

func CreateClusterConfig

func CreateClusterConfig(ctx context.Context, clientset simple.Clientset, cluster *api.Cluster, groups []*api.InstanceGroup, addons kubemanifest.ObjectList) error

func ReadConfigDeprecated

func ReadConfigDeprecated(configPath vfs.Path, config interface{}) error

func WriteConfigDeprecated

func WriteConfigDeprecated(cluster *kops.Cluster, configPath vfs.Path, config interface{}, writeOptions ...vfs.WriteOption) error

WriteConfigDeprecated writes a config file as yaml. It is deprecated because it is unversioned, but it is still used, in particular for writing the completed config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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