controllers

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package controllers implements controllers to handle allocations using in-cluster resources.

Index

Constants

View Source
const (
	// ReleaseAddressFinalizer is used to release an IP address before cleaning up the claim.
	ReleaseAddressFinalizer = "ipam.cluster.x-k8s.io/ReleaseAddress"

	// ProtectAddressFinalizer is used to prevent deletion of an IPAddress object while its claim is not deleted.
	ProtectAddressFinalizer = "ipam.cluster.x-k8s.io/ProtectAddress"
)
View Source
const (

	// ProtectPoolFinalizer is used to prevent deletion of a Pool object while its addresses have not been deleted.
	ProtectPoolFinalizer = "ipam.cluster.x-k8s.io/ProtectPool"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalInClusterIPPoolReconciler

type GlobalInClusterIPPoolReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

GlobalInClusterIPPoolReconciler reconciles a GlobalInClusterIPPool object.

func (*GlobalInClusterIPPoolReconciler) Reconcile

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

func (*GlobalInClusterIPPoolReconciler) SetupWithManager

func (r *GlobalInClusterIPPoolReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type IPAddressClaimReconciler

type IPAddressClaimReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	WatchFilterValue string
}

IPAddressClaimReconciler reconciles a InClusterIPPool object.

func (*IPAddressClaimReconciler) Reconcile

func (r *IPAddressClaimReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.

func (*IPAddressClaimReconciler) SetupWithManager

func (r *IPAddressClaimReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type InClusterIPPoolReconciler

type InClusterIPPoolReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

InClusterIPPoolReconciler reconciles a InClusterIPPool object.

func (*InClusterIPPoolReconciler) Reconcile

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

func (*InClusterIPPoolReconciler) SetupWithManager

func (r *InClusterIPPoolReconciler) SetupWithManager(ctx context.Context, 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