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 ¶
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
Click to show internal directories.
Click to hide internal directories.