Documentation ¶
Index ¶
- func AddTargetInformationToInitConfigurationWithClusterVersion(target *deployments.Target, initConfiguration *kubeadmapi.InitConfiguration, ...) error
- func BytesToInitConfiguration(b []byte) (*kubeadmapi.InitConfiguration, error)
- func LoadInitConfigurationFromFile(cfgPath string) (*kubeadmapi.InitConfiguration, error)
- func LoadJoinConfigurationFromFile(cfgPath string) (*kubeadmapi.JoinConfiguration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTargetInformationToInitConfigurationWithClusterVersion ¶
func AddTargetInformationToInitConfigurationWithClusterVersion(target *deployments.Target, initConfiguration *kubeadmapi.InitConfiguration, clusterVersion *version.Version) error
func BytesToInitConfiguration ¶ added in v1.1.0
func BytesToInitConfiguration(b []byte) (*kubeadmapi.InitConfiguration, error)
BytesToInitConfiguration converts a byte slice to an internal, defaulted and validated InitConfiguration object. The map may contain many different YAML documents. These YAML documents are parsed one-by-one and well-known ComponentConfig GroupVersionKinds are stored inside of the internal InitConfiguration struct. The resulting InitConfiguration is then dynamically defaulted and validated prior to return.
func LoadInitConfigurationFromFile ¶ added in v1.1.0
func LoadInitConfigurationFromFile(cfgPath string) (*kubeadmapi.InitConfiguration, error)
LoadInitConfigurationFromFile loads a supported versioned InitConfiguration from a file, converts it into internal config, defaults it and verifies it.
func LoadJoinConfigurationFromFile ¶ added in v1.1.0
func LoadJoinConfigurationFromFile(cfgPath string) (*kubeadmapi.JoinConfiguration, error)
LoadJoinConfigurationFromFile loads versioned JoinConfiguration from file, converts it to internal, defaults and validates it
Types ¶
This section is empty.