Documentation ¶
Index ¶
- func Associate(kubeClient internalclientset.Interface, namespace *kapi.Namespace) (*kapi.Namespace, error)
- func Associated(namespace *kapi.Namespace) bool
- func ConvertNamespace(namespace *kapi.Namespace) *projectapi.Project
- func ConvertNamespaceList(namespaceList *kapi.NamespaceList) *projectapi.ProjectList
- func ConvertProject(project *projectapi.Project) *kapi.Namespace
- func Finalize(kubeClient clientset.Interface, namespace *v1.Namespace) (result *v1.Namespace, err error)
- func Finalized(namespace *v1.Namespace) bool
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 ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.