package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
Describe annotates the test with the Kubeadm label.
ExpectClusterRole expects to be able to get the ClusterRole with specific name.
ExpectClusterRoleBinding expects to be able to get the ClusterRoleBinding with specific name.
ExpectClusterRoleBindingWithSubjectAndRole expects to be able to get the ClusterRoleBinding with specific name, subject and role.
ExpectRole expects to be able to get the Role with specific name from the namespace.
ExpectRoleBinding expects to be able to get the RoleBinding with specific name from the namespace.
ExpectService expects to be able to get the Service with specific name from the namespace.
ExpectServiceAccount expects to be able to get the ServiceAccount with specific name from the namespace.
ExpectSubjectHasAccessToResource expects that the subject has access to the target resource.
GetConfigMap gets ConfigMap with specific name from the namespace.
GetDaemonSet gets DaemonSet with specific name from the namespace.
GetDeployment gets Deployment with specific name from the namespace.
GetSecret gets Secret with specific name from the namespace.