Versions in this module Expand all Collapse all v0 v0.0.3 Apr 15, 2022 v0.0.1 Apr 15, 2022 Changes in this version + const DoFinalizeKind + const DoObserveFinalizeKind + const DoObserveKind + const DoReconcileKind + var EventAs = errors.As + var EventIs = errors.Is + func AnnotationFilterFunc(key, value string, allowUnset bool) func(interface{}) bool + func ChainFilterFuncs(funcs ...func(interface{}) bool) func(interface{}) bool + func LabelExistsFilterFunc(label string) func(obj interface{}) bool + func LabelFilterFunc(label, value string, allowUnset bool) func(interface{}) bool + func NameFilterFunc(name string) func(interface{}) bool + func NamespaceFilterFunc(namespace string) func(interface{}) bool + func Not(f func(interface{}) bool) func(interface{}) bool + func Or(funcs ...func(interface{}) bool) func(interface{}) bool + func PostProcessReconcile(ctx context.Context, resource, oldResource duckv1.KRShaped) + func PreProcessReconcile(ctx context.Context, resource duckv1.KRShaped) + func RetryErrors(updater func(int) error, fns ...func(error) bool) error + func RetryTestErrors(updater func(int) error) error + func RetryUpdateConflicts(updater func(int) error) error + type Bucket interface + Has func(key types.NamespacedName) bool + Name func() string + func UniversalBucket() Bucket + type ConfigStore interface + ToContext func(ctx context.Context) context.Context + type Event error + func NewEvent(eventtype, reason, messageFmt string, args ...interface{}) Event + type LeaderAware interface + Demote func(Bucket) + Promote func(b Bucket, enq func(Bucket, types.NamespacedName)) error + type LeaderAwareFuncs struct + DemoteFunc func(b Bucket) + PromoteFunc func(b Bucket, enq func(Bucket, types.NamespacedName)) error + func (laf *LeaderAwareFuncs) Demote(b Bucket) + func (laf *LeaderAwareFuncs) IsLeaderFor(key types.NamespacedName) bool + func (laf *LeaderAwareFuncs) Promote(b Bucket, enq func(Bucket, types.NamespacedName)) error + type OnDeletionInterface interface + ObserveDeletion func(ctx context.Context, key types.NamespacedName) error + type ReconcilerEvent struct + Args []interface{} + EventType string + Format string + Reason string + func (e *ReconcilerEvent) As(target interface{}) bool + func (e *ReconcilerEvent) Error() string + func (e *ReconcilerEvent) Is(target error) bool