cluster-api: sigs.k8s.io/cluster-api/exp/util Index | Files

package util

import "sigs.k8s.io/cluster-api/exp/util"

Index

Package Files

util.go

func GetMachinePoolByName Uses

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 Uses

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 Uses

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

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

Package util imports 9 packages (graph) and is imported by 1 packages. Updated 2020-12-14. Refresh now. Tools for package owners.