util

package
v3.9.0-alpha.4+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 10 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Associate

func Associate(kubeClient internalclientset.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 ConvertNamespace added in v1.3.0

func ConvertNamespace(namespace *kapi.Namespace) *projectapi.Project

ConvertNamespace transforms a Namespace into a Project

func ConvertNamespaceList added in v1.3.0

func ConvertNamespaceList(namespaceList *kapi.NamespaceList) *projectapi.ProjectList

ConvertNamespaceList transforms a NamespaceList into a ProjectList

func ConvertProject added in v1.3.0

func ConvertProject(project *projectapi.Project) *kapi.Namespace

convertProject transforms a Project into a Namespace

func Finalize

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

Finalize will remove the origin finalizer from the namespace

func Finalized

func Finalized(namespace *v1.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