Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
func AddFinalizer(ctx context.Context, client ctrlClient.Client, o ctrlClient.Object, name string) error
func RemoveFinalizer ¶
func RemoveFinalizer(ctx context.Context, client ctrlClient.Client, o ctrlClient.Object, name string) error
Types ¶
type BaseReconciler ¶
type BaseReconciler[T ctrlClient.Object] struct { Log logr.Logger FinalizerName string Delegate reconcile.ObjectReconciler[T] Client *client.Client }
type Finalizable ¶
type Finalizable interface {
Finalize(ctx context.Context, obj ctrlClient.Object) error
}
Click to show internal directories.
Click to hide internal directories.