finalizer

package
v0.0.0-...-f697c5b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(object metav1.Object, finalizer string)

Add adds a finalizer to an object

func Contains

func Contains(list []string, s string) bool

func HasFinalizer

func HasFinalizer(o metav1.Object, finalizerKey string) bool

HasFinalizer verifies if a finalizer is placed on the resource

func Remove

func Remove(object metav1.Object, finalizer string)

func WasDeleteRequested

func WasDeleteRequested(o metav1.Object) bool

WasDeleteRequested verifies if the resource was requested for deletion

Types

This section is empty.

Jump to

Keyboard shortcuts

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