kubeadm

package
v1.19.15-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Describe added in v1.17.0

func Describe(text string, body func()) bool

Describe annotates the test with the Kubeadm label.

func ExpectClusterRole

func ExpectClusterRole(c clientset.Interface, name string)

ExpectClusterRole expects to be able to get the ClusterRole with specific name

func ExpectClusterRoleBinding

func ExpectClusterRoleBinding(c clientset.Interface, name string)

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

func ExpectRole(c clientset.Interface, namespace, name string)

ExpectRole expects to be able to get the Role with specific name from the namespace

func ExpectRoleBinding

func ExpectRoleBinding(c clientset.Interface, namespace, name string)

ExpectRoleBinding expects to be able to get the RoleBinding with specific name from the namespace

func ExpectService

func ExpectService(c clientset.Interface, namespace, name string)

ExpectService expects to be able to get the Service with specific name from the namespace

func ExpectServiceAccount

func ExpectServiceAccount(c clientset.Interface, namespace, name string)

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

func GetConfigMap(c clientset.Interface, namespace, name string) *corev1.ConfigMap

GetConfigMap gets ConfigMap with specific name from the namespace

func GetDaemonSet

func GetDaemonSet(c clientset.Interface, namespace, name string) *appsv1.DaemonSet

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

func GetSecret(c clientset.Interface, namespace, name string) *corev1.Secret

GetSecret gets Secret with specific name from the namespace

Types

This section is empty.

Directories

Path Synopsis
runner

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL