tokenrequestor

package
v1.67.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ControllerName = "token-requestor"

ControllerName is the name of the controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler added in v1.59.0

type Reconciler struct {
	SourceClient       client.Client
	TargetClient       client.Client
	TargetCoreV1Client corev1clientset.CoreV1Interface
	Config             config.TokenRequestorControllerConfig
	Clock              clock.Clock
	JitterFunc         func(time.Duration, float64) time.Duration
}

Reconciler requests and refreshes tokens via the TokenRequest API.

func (*Reconciler) AddToManager added in v1.59.0

func (r *Reconciler) AddToManager(mgr manager.Manager, sourceCluster, targetCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile added in v1.59.0

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

Reconcile requests and populates tokens.

func (*Reconciler) SecretPredicate added in v1.59.0

func (r *Reconciler) SecretPredicate() predicate.Predicate

SecretPredicate is the predicate for secrets.

Jump to

Keyboard shortcuts

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