Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectFactoryFunc ¶
ObjectFactoryFunc for newing a typed object
type Reconciler ¶
type Reconciler interface { // Reconcile the object and make sure a corresponding v1alpha1.CertInjection is there. // The object might be: // - HarborCluster CR // - PackageInstall CR // - Secret (with expected label) Reconcile(ctx context.Context, name types.NamespacedName, objFacFunc ObjectFactoryFunc) error }
Reconciler is for doing the common cert injection reconciling logic.
type ReconcilerBuilder ¶
type ReconcilerBuilder interface { // WithScheme sets scheme. WithScheme(scheme *runtime.Scheme) ReconcilerBuilder // WithLogger sets logger. WithLogger(logger logr.Logger) ReconcilerBuilder // UseClient sets client. UseClient(client client.Client) ReconcilerBuilder // Reconciler returns the ready Reconciler. Reconciler() Reconciler }
ReconcilerBuilder is used to build a usable Reconciler.
Click to show internal directories.
Click to hide internal directories.