util

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Associate

func Associate(kubeClient kclient.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 kclient.Interface, namespace *kapi.Namespace) (*kapi.Namespace, 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