secret

package
v1.67.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 23 Imported by: 0

Documentation

Index

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(mgr manager.Manager, sourceCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) MapManagedResourcesToSecrets added in v1.59.0

func (r *Reconciler) MapManagedResourcesToSecrets(_ context.Context, _ logr.Logger, _ client.Reader, obj client.Object) []reconcile.Request

MapManagedResourcesToSecrets maps the ManagedResource to all referenced secrets.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile implements reconcile.Reconciler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL