Documentation
¶
Index ¶
- func GetKubeadmControlPlaneFromCAPIMachine(ctx context.Context, client clientPkg.Client, capiMachine *capiv1.Machine) (*controlplanev1.KubeadmControlPlane, error)
- func GetMachineSetFromCAPIMachine(ctx context.Context, client clientPkg.Client, capiMachine *capiv1.Machine) (*capiv1.MachineSet, error)
- func GetManagementOwnerRef(capiMachine *capiv1.Machine) *meta.OwnerReference
- func IsOwnerDeleted(ctx context.Context, client clientPkg.Client, capiMachine *capiv1.Machine) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeadmControlPlaneFromCAPIMachine ¶
func GetKubeadmControlPlaneFromCAPIMachine( ctx context.Context, client clientPkg.Client, capiMachine *capiv1.Machine, ) (*controlplanev1.KubeadmControlPlane, error)
GetKubeadmControlPlaneFromCAPIMachine attempts to fetch a KubeadmControlPlane from a CAPI machine owner reference.
func GetMachineSetFromCAPIMachine ¶
func GetMachineSetFromCAPIMachine( ctx context.Context, client clientPkg.Client, capiMachine *capiv1.Machine, ) (*capiv1.MachineSet, error)
GetMachineSet attempts to fetch a MachineSet from CAPI machine owner reference.
func GetManagementOwnerRef ¶
func GetManagementOwnerRef(capiMachine *capiv1.Machine) *meta.OwnerReference
GetManagementOwnerRef returns the reference object pointing to the CAPI machine's manager.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.