Documentation
¶
Index ¶
- func CloudInitSecretCreator(mdName string, oscType CloudInitSecret, data []byte) reconciling.NamedSecretCreatorGetter
- func GetCloudProviderFromMachineDeployment(md *clusterv1alpha1.MachineDeployment) (*v1alpha1.CloudProviderSpec, error)
- func KubeletFlags() []string
- func KubeletSystemdUnit(containerRuntime, kubeletVersion, cloudProvider, hostname string, ...) (string, error)
- func OperatingSystemConfigCreator(md *v1alpha1.MachineDeployment, osp *osmv1alpha1.OperatingSystemProfile, ...) reconciling.NamedOperatingSystemConfigCreatorGetter
- func SafeDownloadBinariesScript(kubeVersion string) (string, error)
- type CloudInitSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudInitSecretCreator ¶
func CloudInitSecretCreator(mdName string, oscType CloudInitSecret, data []byte) reconciling.NamedSecretCreatorGetter
CloudInitSecretCreator returns a function to create a secret that contains the cloud-init configurations.
func GetCloudProviderFromMachineDeployment ¶
func GetCloudProviderFromMachineDeployment(md *clusterv1alpha1.MachineDeployment) (*v1alpha1.CloudProviderSpec, error)
func KubeletFlags ¶
func KubeletFlags() []string
func KubeletSystemdUnit ¶
func KubeletSystemdUnit(containerRuntime, kubeletVersion, cloudProvider, hostname string, dnsIPs []net.IP, external bool, pauseImage string, initialTaints []corev1.Taint, extraKubeletFlags []string) (string, error)
KubeletSystemdUnit returns the systemd unit for the kubelet
func OperatingSystemConfigCreator ¶
func OperatingSystemConfigCreator( md *v1alpha1.MachineDeployment, osp *osmv1alpha1.OperatingSystemProfile, kubeconfig string, clusterDNSIPs []net.IP, ) reconciling.NamedOperatingSystemConfigCreatorGetter
Types ¶
type CloudInitSecret ¶
type CloudInitSecret string
const ( ProvisioningCloudInit CloudInitSecret = "provisioning" MachineDeploymentOSPAnnotation = "k8c.io/operating-system-profile" )
Click to show internal directories.
Click to hide internal directories.