controllers

package
v0.0.0-...-42edd1d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DerivedFromFieldValueFromLabels

func DerivedFromFieldValueFromLabels(labels map[string]string) (string, bool)

func DerivedFromFieldValueFromObject

func DerivedFromFieldValueFromObject(obj client.Object) string

Types

type DerivedSecretConfigMapWatcher

type DerivedSecretConfigMapWatcher struct {
	DerivedSecretWatcher
}

func (*DerivedSecretConfigMapWatcher) Create

func (*DerivedSecretConfigMapWatcher) Delete

func (*DerivedSecretConfigMapWatcher) Generic

func (*DerivedSecretConfigMapWatcher) QueueConfigMapReferencingDerivedSecrets

func (w *DerivedSecretConfigMapWatcher) QueueConfigMapReferencingDerivedSecrets(configMap client.Object, q workqueue.RateLimitingInterface)

func (*DerivedSecretConfigMapWatcher) Update

type DerivedSecretReconciler

type DerivedSecretReconciler struct {
	client.Client
	Scheme     *runtime.Scheme
	RestConfig *rest.Config
	Manager    ctrl.Manager
}

DerivedSecretReconciler reconciles a DerivedSecret object

func (*DerivedSecretReconciler) Reconcile

func (r *DerivedSecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*DerivedSecretReconciler) SetupWithManager

func (r *DerivedSecretReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DerivedSecretReconcilerRunStage1

type DerivedSecretReconcilerRunStage1 struct {
	*DerivedSecretReconciler
	// contains filtered or unexported fields
}

func (*DerivedSecretReconcilerRunStage1) FetchReferences

func (r *DerivedSecretReconcilerRunStage1) FetchReferences() (nextR *DerivedSecretReconcilerRunStage2, err error)

func (*DerivedSecretReconcilerRunStage1) GetClientForSecret

func (r *DerivedSecretReconcilerRunStage1) GetClientForSecret() (client.Client, error)

func (*DerivedSecretReconcilerRunStage1) SyncStatus

func (r *DerivedSecretReconcilerRunStage1) SyncStatus(err error) error

type DerivedSecretReconcilerRunStage2

type DerivedSecretReconcilerRunStage2 struct {
	*DerivedSecretReconcilerRunStage1
	// contains filtered or unexported fields
}

func (*DerivedSecretReconcilerRunStage2) CreateSecret

func (r *DerivedSecretReconcilerRunStage2) CreateSecret(secretClient client.Client) (nextR *DerivedSecretReconcilerRunStage3, err error)

type DerivedSecretReconcilerRunStage3

type DerivedSecretReconcilerRunStage3 struct {
	*DerivedSecretReconcilerRunStage2
	// contains filtered or unexported fields
}

func (*DerivedSecretReconcilerRunStage3) CleanOtherOwnedSecrets

func (r *DerivedSecretReconcilerRunStage3) CleanOtherOwnedSecrets(secretClient client.Client) error

type DerivedSecretSecretWatcher

type DerivedSecretSecretWatcher struct {
	DerivedSecretWatcher
}

func (*DerivedSecretSecretWatcher) Create

func (*DerivedSecretSecretWatcher) Delete

func (*DerivedSecretSecretWatcher) Generic

func (*DerivedSecretSecretWatcher) QueueSecretReferencingDerivedSecrets

func (w *DerivedSecretSecretWatcher) QueueSecretReferencingDerivedSecrets(secret client.Object, q workqueue.RateLimitingInterface)

func (*DerivedSecretSecretWatcher) Update

type DerivedSecretWatcher

type DerivedSecretWatcher struct {
	Reconciler *DerivedSecretReconciler
}

func (*DerivedSecretWatcher) QueueReferencingDerivedSecrets

func (w *DerivedSecretWatcher) QueueReferencingDerivedSecrets(kind string, obj client.Object, q workqueue.RateLimitingInterface)

Jump to

Keyboard shortcuts

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