Documentation ¶
Index ¶
- Constants
- func ConfigurationToYAML(obj runtime.Object) (string, error)
- func GetCodecs() serializer.CodecFactory
- func SetClusterConfigurationOverrides(machine joinMachine, base *kubeadmv1beta1.ClusterConfiguration) *kubeadmv1beta1.ClusterConfiguration
- func SetControlPlaneJoinConfigurationOverrides(base *kubeadmv1beta1.JoinConfiguration) *kubeadmv1beta1.JoinConfiguration
- func SetDefaultClusterConfiguration(machine joinMachine, base *kubeadmv1beta1.ClusterConfiguration) *kubeadmv1beta1.ClusterConfiguration
- func SetInitConfigurationOverrides(machine joinMachine, base *kubeadmv1beta1.InitConfiguration) *kubeadmv1beta1.InitConfiguration
- func SetJoinNodeConfigurationOverrides(caCertHash, bootstrapToken string, machine joinMachine, ...) *kubeadmv1beta1.JoinConfiguration
Constants ¶
const ( // HostnameLookup uses the instance metadata service to lookup its own hostname. HostnameLookup = "{{ ds.meta_data.hostname }}" // ContainerdSocket is the expected path to containerd socket. ContainerdSocket = "/var/run/containerd/containerd.sock" // APIServerBindPort is the default port for the kube-apiserver to bind to. APIServerBindPort = 6443 // CloudProvider is the name of the cloud provider passed to various // kubernetes components. CloudProvider = "aws" )
Variables ¶
This section is empty.
Functions ¶
func ConfigurationToYAML ¶
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 joinMachine, base *kubeadmv1beta1.ClusterConfiguration) *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) *kubeadmv1beta1.JoinConfiguration
SetControlPlaneJoinConfigurationOverrides user input for kubeadm join configuration during a control plane join action.
func SetDefaultClusterConfiguration ¶
func SetDefaultClusterConfiguration(machine joinMachine, base *kubeadmv1beta1.ClusterConfiguration) *kubeadmv1beta1.ClusterConfiguration
SetDefaultClusterConfiguration sets default dynamic values without overriding user specified values.
func SetInitConfigurationOverrides ¶
func SetInitConfigurationOverrides(machine joinMachine, base *kubeadmv1beta1.InitConfiguration) *kubeadmv1beta1.InitConfiguration
SetInitConfigurationOverrides overrides user input on particular fields for the kubeadm InitConfiguration.
func SetJoinNodeConfigurationOverrides ¶
func SetJoinNodeConfigurationOverrides(caCertHash, bootstrapToken string, machine joinMachine, base *kubeadmv1beta1.JoinConfiguration) *kubeadmv1beta1.JoinConfiguration
SetJoinNodeConfigurationOverrides overrides user input for certain fields of the kubeadm JoinConfiguration during a worker node join.
Types ¶
This section is empty.