Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeInitConfig ¶
GetKubeInitConfig returns the init config for kubernetes.
Types ¶
type KubeadmInitYAML ¶
type KubeadmInitYAML struct { InitConfiguration kubeadm.InitConfiguration ClusterConfiguration kubeadm.ClusterConfiguration KubeletConfiguration kubeletconf.KubeletConfiguration }
KubeadmInitYAML groups multiple kubernetes config files into one struct.
func (*KubeadmInitYAML) SetCertSANs ¶
func (k *KubeadmInitYAML) SetCertSANs(certSANs []string)
SetCertSANs sets the certSANs for the kubernetes api server.
func (*KubeadmInitYAML) SetControlPlaneEndpoint ¶
func (k *KubeadmInitYAML) SetControlPlaneEndpoint(controlPlaneEndpoint string)
SetControlPlaneEndpoint sets the control plane endpoint if controlPlaneEndpoint is not empty.
Click to show internal directories.
Click to hide internal directories.