util

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMachinePoolByName

func GetMachinePoolByName(ctx context.Context, c client.Client, namespace, name string) (*clusterv1exp.MachinePool, error)

GetMachinePoolByName finds and returns a MachinePool object usting the specified params.

func GetOwnerMachinePool

func GetOwnerMachinePool(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*clusterv1exp.MachinePool, error)

GetOwnerMachinePool returns the MachinePool objects owning the current resource.

func MachinePoolToInfrastructureMapFunc added in v0.3.10

func MachinePoolToInfrastructureMapFunc(gvk schema.GroupVersionKind, log logr.Logger) handler.ToRequestsFunc

MachinePoolToInfrastructureMapFunc returns a handler.ToRequestsFunc that watches for MachinePool events and returns reconciliation requests for an infrastructure provider object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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