finalizer

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 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 rcsv1alpha1.Capp, r client.Client) error

ensureFinalizer ensures the service has the finalizer

func HandleResourceDeletion

func HandleResourceDeletion(ctx context.Context, capp rcsv1alpha1.Capp, r client.Client, resource_managers []rmanagers.ResourceManager) (error, bool)

func RemoveFinalizer

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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