func ExpectServiceAccount(c clientset.Interface, namespace, name string) { … }
func GetSecret(c clientset.Interface, namespace, name string) *corev1.Secret { … }
func GetConfigMap(c clientset.Interface, namespace, name string) *corev1.ConfigMap { … }
func ExpectService(c clientset.Interface, namespace, name string) { … }
func GetDeployment(c clientset.Interface, namespace, name string) *appsv1.Deployment { … }
func GetDaemonSet(c clientset.Interface, namespace, name string) *appsv1.DaemonSet { … }
func ExpectRole(c clientset.Interface, namespace, name string) { … }
func ExpectRoleBinding(c clientset.Interface, namespace, name string) { … }
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 ExpectSubjectHasAccessToResource(c clientset.Interface, subjectKind, subject string, resource *authv1.ResourceAttributes) { … }
func subjectMatcher(name, kind string) gomega.OmegaMatcher { … }