finalizers

package
v1.8.3-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Helper functions for manipulating finalizers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFinalizers

func AddFinalizers(obj runtime.Object, newFinalizers sets.String) (bool, error)

AddFinalizers adds the given finalizers to the given objects ObjectMeta. Returns true if the object was updated.

func HasFinalizer

func HasFinalizer(obj runtime.Object, finalizer string) (bool, error)

HasFinalizer returns true if the given object has the given finalizer in its ObjectMeta.

func RemoveFinalizers

func RemoveFinalizers(obj runtime.Object, finalizers sets.String) (bool, error)

RemoveFinalizers removes the given finalizers from the given objects ObjectMeta. Returns true if the object was updated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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