Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Clientset kubernetes.Interface
Clientset to be synced by the custom resources
View Source
var EdgenetClientset clientset.Interface
Functions ¶
func EligibilityCheck ¶
EligibilityCheck checks whether namespace, in which role request made, is local to the cluster or is propagated along with a federated deployment. If another cluster propagates the namespace, we skip checking the owner tenant's status as the Selective Deployment entity manages this life-cycle.
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.