controllers

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPPoolReconciler

type IPPoolReconciler struct {
	Client           client.Client
	ManagerFactory   ipam.ManagerFactoryInterface
	Log              logr.Logger
	WatchFilterValue string
}

IPPoolReconciler reconciles a IPPool object.

func (*IPPoolReconciler) IPClaimToIPPool

func (r *IPPoolReconciler) IPClaimToIPPool(_ context.Context, obj client.Object) []ctrl.Request

IPClaimToIPPool will return a reconcile request for a Metal3DataTemplate if the event is for a IPClaim and that IPClaim references a Metal3DataTemplate.

func (*IPPoolReconciler) Reconcile

func (r *IPPoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)

Reconcile handles IPPool events.

func (*IPPoolReconciler) SetupWithManager

func (r *IPPoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager will add watches for this controller.

Jump to

Keyboard shortcuts

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