destroy

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 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 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

NewController creates a new destroy Controller for the resource type given as a type parameter.

func NewControllerForResource added in v1.14.2

func NewControllerForResource(rd meta.ResourceDefinitionSpec, concurrency optional.Optional[uint]) *Controller

NewControllerForResource creates a new destroy Controller for the resource described by the given definition.

func (*Controller) MapInput

MapInput implements controller.QController interface.

func (*Controller) Reconcile

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

Reconcile implements controller.QController interface.

func (*Controller) Settings

func (ctrl *Controller) 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