Documentation ¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, sourceCluster cluster.Cluster) error
- func (r *Reconciler) MapManagedResourcesToSecrets(_ context.Context, _ logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request
- func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Constants ¶
View Source
const ControllerName = "secret"
ControllerName is the name of the controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { SourceClient client.Client Config config.SecretControllerConfig ClassFilter *predicate.ClassFilter }
Reconciler adds/removes finalizers to/from secrets referenced by ManagedResources.
func (*Reconciler) AddToManager ¶ added in v1.59.0
func (r *Reconciler) AddToManager(ctx context.Context, mgr manager.Manager, sourceCluster cluster.Cluster) error
AddToManager adds Reconciler to the given manager.
Click to show internal directories.
Click to hide internal directories.