Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Informer ¶
type Informer struct { ServerRing *hashring.Ring Keyring *credentials.Keyring Client client.Client Mirrors map[client.ObjectKey]*stvziov1.Mirror Namespace string Labels labels.Selector cache.Cache }
func SetupWithManager ¶
type MirrorHandler ¶
type MirrorHandler struct { Keyring *credentials.Keyring Mirrors map[client.ObjectKey]*stvziov1.Mirror }
func (*MirrorHandler) OnAdd ¶
func (h *MirrorHandler) OnAdd(obj interface{}, init bool)
func (*MirrorHandler) OnDelete ¶
func (h *MirrorHandler) OnDelete(obj interface{})
func (*MirrorHandler) OnUpdate ¶
func (h *MirrorHandler) OnUpdate(oldObj, newObj interface{})
type PodHandler ¶
type PodHandler struct { Log logr.Logger ServerRing *hashring.Ring Namespace string Labels labels.Selector }
func (*PodHandler) OnAdd ¶
func (ph *PodHandler) OnAdd(obj interface{}, isInInitialList bool)
func (*PodHandler) OnDelete ¶
func (ph *PodHandler) OnDelete(obj interface{})
func (*PodHandler) OnUpdate ¶
func (ph *PodHandler) OnUpdate(oldObj, newObj interface{})
type SecretHandler ¶
type SecretHandler struct { ManagedSecrets map[types.NamespacedName]bool Keyring *credentials.Keyring }
func (*SecretHandler) OnAdd ¶
func (h *SecretHandler) OnAdd(obj interface{}, init bool)
func (*SecretHandler) OnDelete ¶
func (h *SecretHandler) OnDelete(obj interface{})
func (*SecretHandler) OnUpdate ¶
func (h *SecretHandler) OnUpdate(oldObj, newObj interface{})
Click to show internal directories.
Click to hide internal directories.