Documentation ¶
Index ¶
- func NameLabelsPredicate(expectedName string, expectedLabels map[string]string) predicate.Predicate
- type FilterNoTargetNamespacePredicate
- func (p *FilterNoTargetNamespacePredicate) Create(event event.CreateEvent) bool
- func (p *FilterNoTargetNamespacePredicate) Delete(event event.DeleteEvent) bool
- func (p *FilterNoTargetNamespacePredicate) Generic(event event.GenericEvent) bool
- func (p *FilterNoTargetNamespacePredicate) InjectClient(c client.Client) error
- func (p *FilterNoTargetNamespacePredicate) Update(event event.UpdateEvent) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FilterNoTargetNamespacePredicate ¶
type FilterNoTargetNamespacePredicate struct { ClusterName string // contains filtered or unexported fields }
func (*FilterNoTargetNamespacePredicate) Create ¶
func (p *FilterNoTargetNamespacePredicate) Create(event event.CreateEvent) bool
func (*FilterNoTargetNamespacePredicate) Delete ¶
func (p *FilterNoTargetNamespacePredicate) Delete(event event.DeleteEvent) bool
func (*FilterNoTargetNamespacePredicate) Generic ¶
func (p *FilterNoTargetNamespacePredicate) Generic(event event.GenericEvent) bool
func (*FilterNoTargetNamespacePredicate) InjectClient ¶
func (p *FilterNoTargetNamespacePredicate) InjectClient(c client.Client) error
func (*FilterNoTargetNamespacePredicate) Update ¶
func (p *FilterNoTargetNamespacePredicate) Update(event event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.