Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LabelMatcherPredicate ¶
type LabelMatcherPredicate struct { Selector labels.Selector // contains filtered or unexported fields }
func NewLabelMatcherPredicate ¶
func NewLabelMatcherPredicate(selector labels.Selector, logr *logger.Logger) *LabelMatcherPredicate
func (*LabelMatcherPredicate) Create ¶
func (p *LabelMatcherPredicate) Create(e event.CreateEvent) bool
func (*LabelMatcherPredicate) Delete ¶
func (p *LabelMatcherPredicate) Delete(e event.DeleteEvent) bool
func (*LabelMatcherPredicate) Generic ¶
func (p *LabelMatcherPredicate) Generic(e event.GenericEvent) bool
func (*LabelMatcherPredicate) Update ¶
func (p *LabelMatcherPredicate) Update(e event.UpdateEvent) bool
type NamespacesMatcherPredicate ¶
type NamespacesMatcherPredicate struct { Namespaces []string // contains filtered or unexported fields }
func NewNamespacesMatcherPredicate ¶
func NewNamespacesMatcherPredicate(namespaces []string, logr *logger.Logger) *NamespacesMatcherPredicate
func (*NamespacesMatcherPredicate) Create ¶
func (p *NamespacesMatcherPredicate) Create(e event.CreateEvent) bool
func (*NamespacesMatcherPredicate) Delete ¶
func (p *NamespacesMatcherPredicate) Delete(e event.DeleteEvent) bool
func (*NamespacesMatcherPredicate) Generic ¶
func (p *NamespacesMatcherPredicate) Generic(e event.GenericEvent) bool
func (*NamespacesMatcherPredicate) Update ¶
func (p *NamespacesMatcherPredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.