Versions in this module Expand all Collapse all v3 v3.9.9 Jun 3, 2022 Changes in this version + type AddFunction func(manager.Manager) error + type ControllerSwitch struct + func NewSwitch() *ControllerSwitch + func (c *ControllerSwitch) Enter() bool + func (c *ControllerSwitch) Exit() + func (c *ControllerSwitch) Stop() + type Manager struct + func New(c RemovableCache) (*Manager, error) + func (wm *Manager) GetManagedGVK() []schema.GroupVersionKind + func (wm *Manager) NewRegistrar(parent string, events chan<- event.GenericEvent) (*Registrar, error) + func (wm *Manager) OnAdd(obj interface{}) + func (wm *Manager) OnDelete(obj interface{}) + func (wm *Manager) OnUpdate(oldObj, newObj interface{}) + func (wm *Manager) RemoveRegistrar(parentName string) error + func (wm *Manager) Start(ctx context.Context) error + type Registrar struct + func (r *Registrar) AddWatch(gvk schema.GroupVersionKind) error + func (r *Registrar) IfWatching(gvk schema.GroupVersionKind, fn func() error) (bool, error) + func (r *Registrar) RemoveWatch(gvk schema.GroupVersionKind) error + func (r *Registrar) ReplaceWatch(gvks []schema.GroupVersionKind) error + type RemovableCache interface + GetInformerNonBlocking func(obj client.Object) (cache.Informer, error) + List func(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error + Remove func(obj client.Object) error + type Set struct + func NewSet() *Set + func (w *Set) Add(gvks ...schema.GroupVersionKind) + func (w *Set) AddSet(other *Set) + func (w *Set) Contains(gvk schema.GroupVersionKind) bool + func (w *Set) Difference(other *Set) *Set + func (w *Set) DoForEach(f func(gvk schema.GroupVersionKind) error) error + func (w *Set) Dump() map[schema.GroupVersionKind]bool + func (w *Set) Equals(other *Set) bool + func (w *Set) Intersection(other *Set) *Set + func (w *Set) Items() []schema.GroupVersionKind + func (w *Set) RLock() + func (w *Set) RUnlock() + func (w *Set) Remove(gvks ...schema.GroupVersionKind) + func (w *Set) RemoveSet(other *Set) + func (w *Set) Replace(other *Set, fns ...func()) + func (w *Set) Size() int + func (w *Set) String() string Other modules containing this package github.com/SuperSandro2000/gatekeeper