Documentation ¶
Overview ¶
Package controllers implements controllers to handle allocations using in-cluster resources.
Index ¶
Constants ¶
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" )
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 ¶
GlobalInClusterIPPoolReconciler reconciles a GlobalInClusterIPPool object.
func (*GlobalInClusterIPPoolReconciler) Reconcile ¶
func (r *GlobalInClusterIPPoolReconciler) 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.
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 ¶
SetupWithManager sets up the controller with the Manager.
type InClusterIPPoolReconciler ¶
InClusterIPPoolReconciler reconciles a InClusterIPPool object.
func (*InClusterIPPoolReconciler) Reconcile ¶
func (r *InClusterIPPoolReconciler) 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.
func (*InClusterIPPoolReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.