destroy

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package destroy provides a generic implementation of controller which cleans up tearing down resources without finalizers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller[Input generic.ResourceWithRD] struct {
	generic.NamedController
	// contains filtered or unexported fields
}

Controller provides a generic implementation of a QController which destroys tearing down resources without finalizers.

func NewController

func NewController[Input generic.ResourceWithRD](concurrency optional.Optional[uint]) *Controller[Input]

NewController creates a new destroy Controller.

func (*Controller[Input]) MapInput

MapInput implements controller.QController interface.

func (*Controller[Input]) Reconcile

func (ctrl *Controller[Input]) Reconcile(ctx context.Context, logger *zap.Logger, r controller.QRuntime, ptr resource.Pointer) error

Reconcile implements controller.QController interface.

func (*Controller[Input]) Settings

func (ctrl *Controller[Input]) Settings() controller.QSettings

Settings implements controller.QController interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL