Versions in this module Expand all Collapse all v0 v0.5.0-rc May 19, 2020 v0.4.0 May 19, 2020 Changes in this version + const DeletionPriorityAnnotationKey + const DeletionPriorityAnnotationZeroValue + const RemoveDefaultAnnotationsKey + const RemoveDefaultAnnotationsTrueValue + type APIOrderedDeleter struct + func NewAPIOrderedDeleter(c client.Client) *APIOrderedDeleter + func (d *APIOrderedDeleter) Delete(ctx context.Context, cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type ChildResourceDeleter interface + Delete func(ctx context.Context, cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type ChildResourceDeleterFunc func(ctx context.Context, cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + func (pre ChildResourceDeleterFunc) Delete(ctx context.Context, cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type ChildResourcePatcher interface + Patch func(resource.ParentResource, []resource.ChildResource) ([]resource.ChildResource, error) + type ChildResourcePatcherChain []ChildResourcePatcher + func (pre ChildResourcePatcherChain) Patch(cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type ChildResourcePatcherFunc func(resource.ParentResource, []resource.ChildResource) ([]resource.ChildResource, error) + func (pre ChildResourcePatcherFunc) Patch(cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type DefaultingAnnotationRemover struct + func NewDefaultingAnnotationRemover() DefaultingAnnotationRemover + func (lo DefaultingAnnotationRemover) Patch(cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type Engine interface + Run func(resource.ParentResource) ([]resource.ChildResource, error) + type EngineFunc func(resource.ParentResource) ([]resource.ChildResource, error) + func (t EngineFunc) Run(cr resource.ParentResource) ([]resource.ChildResource, error) + type LabelPropagator struct + func NewLabelPropagator() LabelPropagator + func (lo LabelPropagator) Patch(cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type NamespacePatcher struct + func NewNamespacePatcher() NamespacePatcher + func (lo NamespacePatcher) Patch(cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type NopEngine struct + func (n *NopEngine) Run(_ resource.ParentResource) ([]resource.ChildResource, error) + type OwnerReferenceAdder struct + func NewOwnerReferenceAdder() OwnerReferenceAdder + func (lo OwnerReferenceAdder) Patch(cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type ParentLabelSetAdder struct + func NewParentLabelSetAdder() ParentLabelSetAdder + func (lo ParentLabelSetAdder) Patch(cr resource.ParentResource, list []resource.ChildResource) ([]resource.ChildResource, error) + type Reconciler struct + func NewReconciler(m manager.Manager, of schema.GroupVersionKind, options ...ReconcilerOption) *Reconciler + func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) + type ReconcilerOption func(*Reconciler) + func WithChildResourceDeleter(d ChildResourceDeleter) ReconcilerOption + func WithChildResourcePatcher(op ...ChildResourcePatcher) ReconcilerOption + func WithEngine(eng Engine) ReconcilerOption + func WithFinalizer(f rresource.Finalizer) ReconcilerOption + func WithLogger(l logging.Logger) ReconcilerOption + func WithLongWait(d time.Duration) ReconcilerOption + func WithShortWait(d time.Duration) ReconcilerOption