finalizer

package
v0.0.0-...-a719f44 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: UPL-1.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FinalizerManager

type FinalizerManager struct {
	Client        client.Client
	Log           logr.Logger
	EventRecorder record.EventRecorder
	Patcher       patching.ResourcePatcher
}

FinalizerManager manages finalizers for Coherence resources

func (*FinalizerManager) EnsureFinalizerApplied

func (fm *FinalizerManager) EnsureFinalizerApplied(ctx context.Context, c *coh.Coherence) (bool, error)

EnsureFinalizerApplied ensures the finalizer is applied to the Coherence resource

func (*FinalizerManager) EnsureFinalizerRemoved

func (fm *FinalizerManager) EnsureFinalizerRemoved(ctx context.Context, c *coh.Coherence) error

EnsureFinalizerRemoved ensures the finalizer is removed from the Coherence resource

func (*FinalizerManager) FinalizeDeployment

func (fm *FinalizerManager) FinalizeDeployment(ctx context.Context, c *coh.Coherence, findStatefulSet func(ctx context.Context, namespace, name string) (*appsv1.StatefulSet, bool, error)) error

FinalizeDeployment performs any required finalizer tasks for the Coherence resource

Jump to

Keyboard shortcuts

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