util

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Associate

func Associate(kubeClient clientset.Interface, namespace *kapi.Namespace) (*kapi.Namespace, error)

Associate adds the origin finalizer to spec.finalizers if its not there already

func Associated

func Associated(namespace *kapi.Namespace) bool

Associated returns true if the spec.finalizers contains the origin finalizer

func Finalize

func Finalize(kubeClient clientset.Interface, namespace *kapi.Namespace) (result *kapi.Namespace, err error)

Finalize will remove the origin finalizer from the namespace

func Finalized

func Finalized(namespace *kapi.Namespace) bool

Finalized returns true if the spec.finalizers does not contain the origin finalizer

Types

This section is empty.

Jump to

Keyboard shortcuts

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