kubeadm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigurationToYAML

func ConfigurationToYAML(obj runtime.Object) (string, error)

ConfigurationToYAML converts a kubeadm configuration type to its YAML representation.

func GetCodecs

func GetCodecs() serializer.CodecFactory

GetCodecs returns a type that can be used to deserialize most kubeadm configuration types.

func SetClusterConfigurationOverrides

func SetClusterConfigurationOverrides(machine *actuators.MachineScope, base *kubeadmv1beta1.ClusterConfiguration)

SetClusterConfigurationOverrides will modify the supplied configuration with certain values that cluster-api-provider-aws requires overriding user specified input.

func SetControlPlaneJoinConfigurationOverrides

func SetControlPlaneJoinConfigurationOverrides(base *kubeadmv1beta1.JoinConfiguration)

SetControlPlaneJoinConfigurationOverrides user input for kubeadm join configuration during a control plane join action.

func SetDefaultClusterConfiguration

func SetDefaultClusterConfiguration(machine *actuators.MachineScope, base *kubeadmv1beta1.ClusterConfiguration)

SetDefaultClusterConfiguration sets default dynamic values without overriding user specified values.

func SetInitConfigurationOverrides

func SetInitConfigurationOverrides(base *kubeadmv1beta1.InitConfiguration)

SetInitConfigurationOverrides overrides user input on particular fields for the kubeadm InitConfiguration.

func SetJoinNodeConfigurationOverrides

func SetJoinNodeConfigurationOverrides(caCertHash, bootstrapToken string, machine *actuators.MachineScope, base *kubeadmv1beta1.JoinConfiguration)

SetJoinNodeConfigurationOverrides overrides user input for certain fields of the kubeadm JoinConfiguration during a worker node join.

Types

This section is empty.

Jump to

Keyboard shortcuts

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