Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler[T client.Object] struct { Config *v1alpha1.KubernetesObjectConfig Ctx context.Context Cancel context.CancelFunc Client client.Client Mgr ctrl.Manager CtrlClientSet typedcorev1.CoreV1Interface EventChan chan events.SecretRotationEvent Logger logr.Logger VersionMap sync.Map // map[types.NamespacedName]string Obj T Name string }
Handler creates a kubernetes Secret watch on a given cluster and sends event on any operation propagated to the watch (create, update, delete).
Click to show internal directories.
Click to hide internal directories.