finalizers

package
v1.9.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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