Versions in this module Expand all Collapse all v0 v0.0.1 Apr 22, 2022 Changes in this version + func RecordContextualError(ctx context.Context, recorder kuberecorder.EventRecorder, obj client.Object, ...) + func RecordReconcileReq(ctx context.Context, recorder kuberecorder.EventRecorder, obj client.Object, ...) + type Conditions struct + NegativePolarity []string + Owned []string + Summarize []string + Target string + type Helper struct + func NewHelper(recorder kuberecorder.EventRecorder, patchHelper *patch.Helper) *Helper + func (h *Helper) SummarizeAndPatch(ctx context.Context, obj conditions.Setter, options ...Option) (ctrl.Result, error) + type HelperOptions struct + Conditions []Conditions + IgnoreNotFound bool + PatchFieldOwner string + Processors []ResultProcessor + ReconcileError error + ReconcileResult reconcile.Result + ResultBuilder reconcile.RuntimeResultBuilder + type Option func(*HelperOptions) + func WithConditions(condns ...Conditions) Option + func WithIgnoreNotFound() Option + func WithPatchFieldOwner(fieldOwner string) Option + func WithProcessors(rps ...ResultProcessor) Option + func WithReconcileError(re error) Option + func WithReconcileResult(rr reconcile.Result) Option + func WithResultBuilder(rb reconcile.RuntimeResultBuilder) Option + type ResultProcessor func(context.Context, kuberecorder.EventRecorder, client.Object, reconcile.Result, ...)