finalizer

package
v0.0.0-...-6fa98e6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: UPL-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasFinalizer

func HasFinalizer(obj client.Object) bool

HasFinalizer returns true if the finalizer exists in the object metadata

func Register

func Register(kubeClient client.Client, obj client.Object) error

Register adds the finalizer and patch the object

func Unregister

func Unregister(kubeClient client.Client, obj client.Object) error

Unregister removes the finalizer and patch the object

Types

This section is empty.

Jump to

Keyboard shortcuts

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