predicate

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerationChangedPredicate

type GenerationChangedPredicate = predicate.GenerationChangedPredicate

type HasLabels

type HasLabels struct {
	Labels map[string]string
}

func (HasLabels) Create

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

func (HasLabels) Delete

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

func (HasLabels) Generic

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

func (HasLabels) Update

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

type InNamespace

type InNamespace struct {
	Namespace string
}

func (InNamespace) Create

func (p InNamespace) Create(event event.CreateEvent) bool

func (InNamespace) Delete

func (p InNamespace) Delete(event event.DeleteEvent) bool

func (InNamespace) Generic

func (p InNamespace) Generic(event event.GenericEvent) bool

func (InNamespace) Update

func (p InNamespace) Update(event event.UpdateEvent) bool

type IsNamed

type IsNamed struct {
	Name string
}

func (IsNamed) Create

func (p IsNamed) Create(event event.CreateEvent) bool

func (IsNamed) Delete

func (p IsNamed) Delete(event event.DeleteEvent) bool

func (IsNamed) Generic

func (p IsNamed) Generic(event event.GenericEvent) bool

func (IsNamed) Update

func (p IsNamed) Update(event event.UpdateEvent) bool

type ResourceVersionChangedPredicate

type ResourceVersionChangedPredicate = predicate.ResourceVersionChangedPredicate

Jump to

Keyboard shortcuts

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