predicate

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 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 BlindDeletePredicate

type BlindDeletePredicate struct{}

BlindDeletePredicate implements a deleted predicate function that always returns true.

All other events are ignored.

func (BlindDeletePredicate) Create

func (BlindDeletePredicate) Delete

func (BlindDeletePredicate) Generic

func (BlindDeletePredicate) Update

type UnprocessedTransitionsPredicate

type UnprocessedTransitionsPredicate struct{}

UnprocessedTransitionsPredicate implements an updated predicate function on ImageBuildTransition changes.

This predicate will skip update events when the object's status.transitions collection is either empty or has no unprocessed transitions (i.e. status.transitions[*].processed == true). All other events (create/delete/generic) will be entirely.

func (UnprocessedTransitionsPredicate) Create

func (UnprocessedTransitionsPredicate) Delete

func (UnprocessedTransitionsPredicate) Generic

func (UnprocessedTransitionsPredicate) Update

Jump to

Keyboard shortcuts

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