deleter

package
v0.0.0-...-2a80d7f Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentName = "deleter"

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteReconciler

type DeleteReconciler struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

func NewDeleteReconciler

func NewDeleteReconciler(client client.Client, cleanupTracker *provDeleter.CleanupStatusTracker, rc *provCommon.RuntimeConfig) *DeleteReconciler

func (*DeleteReconciler) Reconcile

func (r *DeleteReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a LocalVolumeSet object and makes changes based on the state read and what is in the LocalVolumeSet.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*DeleteReconciler) WithManager

func (r *DeleteReconciler) WithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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