Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AbortRequested ¶ added in v0.6.0
AbortRequested is a predicate that returns true if the abort annotation has been set on a resource, or the ID of the request has changed compared to the previous state.
func (AbortRequested) Update ¶ added in v0.6.0
func (p AbortRequested) Update(e event.UpdateEvent) bool
Update returns true if the abort annotation has been set on the new object, or if the ID of the request has changed compared to the old object.
type PromoWentTerminal ¶ added in v0.2.0
PromoWentTerminal is a predicate that returns true if a promotion went terminal. Used by stage reconciler to enqueue a stage when it's associated promo is complete. Also used by promo reconciler to enqueue the next highest priority promotion.
func NewPromoWentTerminalPredicate ¶ added in v0.2.0
func NewPromoWentTerminalPredicate(logger *log.Entry) PromoWentTerminal
func (PromoWentTerminal) Create ¶ added in v0.2.0
func (p PromoWentTerminal) Create(_ event.CreateEvent) bool
func (PromoWentTerminal) Delete ¶ added in v0.2.0
func (p PromoWentTerminal) Delete(e event.DeleteEvent) bool
func (PromoWentTerminal) Generic ¶ added in v0.2.0
func (p PromoWentTerminal) Generic(_ event.GenericEvent) bool
func (PromoWentTerminal) Update ¶ added in v0.2.0
func (p PromoWentTerminal) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for checking if a promotion went terminal
type RefreshRequested ¶ added in v0.6.0
RefreshRequested is a predicate that returns true if the refresh annotation has been set on a resource, or the value of the annotation has changed compared to the previous state.
func (RefreshRequested) Update ¶ added in v0.6.0
func (p RefreshRequested) Update(e event.UpdateEvent) bool
Update returns true if the refresh annotation has been set on the new object, or if the value of the annotation has changed compared to the old object.
type ReverifyRequested ¶ added in v0.6.0
ReverifyRequested is a predicate that returns true if the reverify annotation has been set on a resource, or the ID of the request has changed compared to the previous state.
func (ReverifyRequested) Update ¶ added in v0.6.0
func (r ReverifyRequested) Update(e event.UpdateEvent) bool
Update returns true if the reverify annotation has been set on the new object, or if the ID of the request has changed compared to the old object.