package kubeadm
import "k8s.io/kubernetes/test/e2e_kubeadm"
Index ¶
- func Describe(text string, body func()) bool
- func ExpectClusterRole(c clientset.Interface, name string)
- func ExpectClusterRoleBinding(c clientset.Interface, name string)
- func ExpectClusterRoleBindingWithSubjectAndRole(c clientset.Interface, name, subjectKind, subject, role string)
- func ExpectRole(c clientset.Interface, namespace, name string)
- func ExpectRoleBinding(c clientset.Interface, namespace, name string)
- func ExpectService(c clientset.Interface, namespace, name string)
- func ExpectServiceAccount(c clientset.Interface, namespace, name string)
- func ExpectSubjectHasAccessToResource(c clientset.Interface, subjectKind, subject string, resource *authv1.ResourceAttributes)
- func GetConfigMap(c clientset.Interface, namespace, name string) *corev1.ConfigMap
- func GetDaemonSet(c clientset.Interface, namespace, name string) *appsv1.DaemonSet
- func GetDeployment(c clientset.Interface, namespace, name string) *appsv1.Deployment
- func GetSecret(c clientset.Interface, namespace, name string) *corev1.Secret
Functions ¶
func Describe ¶
Describe annotates the test with the Kubeadm label.
func ExpectClusterRole ¶
ExpectClusterRole expects to be able to get the ClusterRole with specific name
func ExpectClusterRoleBinding ¶
ExpectClusterRoleBinding expects to be able to get the ClusterRoleBinding with specific name
func ExpectClusterRoleBindingWithSubjectAndRole ¶
func ExpectClusterRoleBindingWithSubjectAndRole(c clientset.Interface, name, subjectKind, subject, role string)
ExpectClusterRoleBindingWithSubjectAndRole expects to be able to get the ClusterRoleBinding with specific name, subject and role
func ExpectRole ¶
ExpectRole expects to be able to get the Role with specific name from the namespace
func ExpectRoleBinding ¶
ExpectRoleBinding expects to be able to get the RoleBinding with specific name from the namespace
func ExpectService ¶
ExpectService expects to be able to get the Service with specific name from the namespace
func ExpectServiceAccount ¶
ExpectServiceAccount expects to be able to get the ServiceAccount with specific name from the namespace
func ExpectSubjectHasAccessToResource ¶
func ExpectSubjectHasAccessToResource(c clientset.Interface, subjectKind, subject string, resource *authv1.ResourceAttributes)
ExpectSubjectHasAccessToResource expects that the subject has access to the target resource
func GetConfigMap ¶
GetConfigMap gets ConfigMap with specific name from the namespace
func GetDaemonSet ¶
GetDaemonSet gets DaemonSet with specific name from the namespace
func GetDeployment ¶
func GetDeployment(c clientset.Interface, namespace, name string) *appsv1.Deployment
GetDeployment gets Deployment with specific name from the namespace
func GetSecret ¶
GetSecret gets Secret with specific name from the namespace
Source Files ¶
bootstrap_signer.go const.go framework.go util.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 6 hours ago –
Tools for package owners.