controllers

package
v0.0.0-...-7054bb0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPCidrProgressing

func IPCidrProgressing(o *ipamv1alpha1.IPCidr)

IPCidrProgressing registers progress toward reconciling the given IPCidr by resetting the status to a progressing state.

func IPClaimProgressing

func IPClaimProgressing(o *ipamv1alpha1.IPClaim)

IPClaimProgressing registers progress toward reconciling the given IPClaim by resetting the status to a progressing state.

Types

type IPCidrReconciler

type IPCidrReconciler struct {
	client.Client
	Scheme      *runtime.Scheme
	Log         logr.Logger
	Ipamer      goipam.Ipamer
	Initialized bool
}

IPCidrReconciler reconciles a IPCidr object

func (*IPCidrReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*IPCidrReconciler) SetupWithManager

func (r *IPCidrReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type IPClaimReconciler

type IPClaimReconciler struct {
	client.Client
	Scheme      *runtime.Scheme
	Log         logr.Logger
	Ipamer      goipam.Ipamer
	Initialized bool
}

IPClaimReconciler reconciles a IPClaim object

func (*IPClaimReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*IPClaimReconciler) SetupWithManager

func (r *IPClaimReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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