Documentation ¶
Index ¶
- Constants
- func ConfigBase(c *api.Cluster) (vfs.Path, error)
- func CreateClusterConfig(ctx context.Context, clientset simple.Clientset, cluster *api.Cluster, ...) error
- func ReadConfigDeprecated(configPath vfs.Path, config interface{}) error
- func WriteConfigDeprecated(cluster *kops.Cluster, configPath vfs.Path, config interface{}, ...) error
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 CreateClusterConfig ¶
func ReadConfigDeprecated ¶
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.
Click to show internal directories.
Click to hide internal directories.