Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Clientset kubernetes.Interface
Clientset to be synced by the custom resources
Functions ¶
func GetNamespace ¶
GetNamespace uses clientset to get namespace requested
func List ¶
func List() []string
List uses clientset, this function provides the list of namespaces by eliminating "default", "kube-system", and "kube-public"
func SetAsOwnerReference ¶
func SetAsOwnerReference(namespace *corev1.Namespace) []metav1.OwnerReference
SetAsOwnerReference returns the namespace as owner
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.