finalizer

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFinalizer

func AddFinalizer(o types.Object, finalizer string) (finalizersUpdated bool)

AddFinalizer accepts an Object and adds the provided finalizer if not present. It returns an indication of whether it updated the object's list of finalizers.

func ContainsFinalizer

func ContainsFinalizer(o types.Object, finalizer string) bool

ContainsFinalizer checks an Object that the provided finalizer is present.

func RemoveFinalizer

func RemoveFinalizer(o types.Object, finalizer string) (finalizersUpdated bool)

RemoveFinalizer accepts an Object and removes the provided finalizer if present. It returns an indication of whether it updated the object's list of finalizers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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