finalizers

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package finalizers used add/remove finalizer from object

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsFinalizer

func ContainsFinalizer(meta metav1.Object, finalizer string) bool

ContainsFinalizer checks if a finalizer already exists.

func RemoveFinalizer

func RemoveFinalizer(meta metav1.Object, finalizer string)

RemoveFinalizer removes a finalizer if it exists.

func SetFinalizer

func SetFinalizer(meta metav1.Object, finalizer string)

SetFinalizer adds a finalizer if it doesn't exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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