Documentation ¶
Index ¶
- func DerivedFromFieldValueFromLabels(labels map[string]string) (string, bool)
- func DerivedFromFieldValueFromObject(obj client.Object) string
- type DerivedSecretConfigMapWatcher
- func (w *DerivedSecretConfigMapWatcher) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretConfigMapWatcher) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretConfigMapWatcher) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretConfigMapWatcher) QueueConfigMapReferencingDerivedSecrets(configMap client.Object, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretConfigMapWatcher) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
- type DerivedSecretReconciler
- type DerivedSecretReconcilerRunStage1
- type DerivedSecretReconcilerRunStage2
- type DerivedSecretReconcilerRunStage3
- type DerivedSecretSecretWatcher
- func (w *DerivedSecretSecretWatcher) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretSecretWatcher) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretSecretWatcher) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretSecretWatcher) QueueSecretReferencingDerivedSecrets(secret client.Object, q workqueue.RateLimitingInterface)
- func (w *DerivedSecretSecretWatcher) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
- type DerivedSecretWatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DerivedSecretConfigMapWatcher ¶
type DerivedSecretConfigMapWatcher struct {
DerivedSecretWatcher
}
func (*DerivedSecretConfigMapWatcher) Create ¶
func (w *DerivedSecretConfigMapWatcher) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
func (*DerivedSecretConfigMapWatcher) Delete ¶
func (w *DerivedSecretConfigMapWatcher) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
func (*DerivedSecretConfigMapWatcher) Generic ¶
func (w *DerivedSecretConfigMapWatcher) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
func (*DerivedSecretConfigMapWatcher) QueueConfigMapReferencingDerivedSecrets ¶
func (w *DerivedSecretConfigMapWatcher) QueueConfigMapReferencingDerivedSecrets(configMap client.Object, q workqueue.RateLimitingInterface)
func (*DerivedSecretConfigMapWatcher) Update ¶
func (w *DerivedSecretConfigMapWatcher) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
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 (w *DerivedSecretSecretWatcher) Create(e event.CreateEvent, q workqueue.RateLimitingInterface)
func (*DerivedSecretSecretWatcher) Delete ¶
func (w *DerivedSecretSecretWatcher) Delete(e event.DeleteEvent, q workqueue.RateLimitingInterface)
func (*DerivedSecretSecretWatcher) Generic ¶
func (w *DerivedSecretSecretWatcher) Generic(e event.GenericEvent, q workqueue.RateLimitingInterface)
func (*DerivedSecretSecretWatcher) QueueSecretReferencingDerivedSecrets ¶
func (w *DerivedSecretSecretWatcher) QueueSecretReferencingDerivedSecrets(secret client.Object, q workqueue.RateLimitingInterface)
func (*DerivedSecretSecretWatcher) Update ¶
func (w *DerivedSecretSecretWatcher) Update(e event.UpdateEvent, q workqueue.RateLimitingInterface)
type DerivedSecretWatcher ¶
type DerivedSecretWatcher struct {
Reconciler *DerivedSecretReconciler
}
func (*DerivedSecretWatcher) QueueReferencingDerivedSecrets ¶
func (w *DerivedSecretWatcher) QueueReferencingDerivedSecrets(kind string, obj client.Object, q workqueue.RateLimitingInterface)
Click to show internal directories.
Click to hide internal directories.