finalizer

package
v0.1.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FinalizerCleanupCapp = "dana.io/capp-cleanup"

Variables

This section is empty.

Functions

func EnsureFinalizer

func EnsureFinalizer(ctx context.Context, service cappv1alpha1.Capp, r client.Client) error

EnsureFinalizer ensures the service has the finalizer.

func HandleResourceDeletion

func HandleResourceDeletion(ctx context.Context, capp cappv1alpha1.Capp, r client.Client, resourceManagers map[string]rmanagers.ResourceManager) (error, bool)

HandleResourceDeletion manages the Capp deletion.

func RemoveFinalizer

func RemoveFinalizer(ctx context.Context, capp cappv1alpha1.Capp, r client.Client) error

RemoveFinalizer removes the finalizer from the Capp manifest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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