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 (p BlindDeletePredicate) Create(event.CreateEvent) bool
func (BlindDeletePredicate) Delete ¶
func (p BlindDeletePredicate) Delete(event.DeleteEvent) bool
func (BlindDeletePredicate) Generic ¶
func (p BlindDeletePredicate) Generic(event.GenericEvent) bool
func (BlindDeletePredicate) Update ¶
func (p BlindDeletePredicate) Update(event.UpdateEvent) bool
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 (p UnprocessedTransitionsPredicate) Create(event.CreateEvent) bool
func (UnprocessedTransitionsPredicate) Delete ¶
func (p UnprocessedTransitionsPredicate) Delete(event.DeleteEvent) bool
func (UnprocessedTransitionsPredicate) Generic ¶
func (p UnprocessedTransitionsPredicate) Generic(event.GenericEvent) bool
func (UnprocessedTransitionsPredicate) Update ¶
func (p UnprocessedTransitionsPredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.