predicate

package
v0.0.0-...-57137be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HasLabels

type HasLabels []string

HasLabels defines a predicate that check if the object has all defined labels. The value is not checked.

func (HasLabels) Create

func (p HasLabels) Create(e event.CreateEvent) bool

func (HasLabels) Delete

func (p HasLabels) Delete(e event.DeleteEvent) bool

func (HasLabels) Generic

func (p HasLabels) Generic(e event.GenericEvent) bool

func (HasLabels) Update

func (p HasLabels) Update(e event.UpdateEvent) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL