Versions in this module Expand all Collapse all v0 v0.0.2 Oct 14, 2022 v0.0.1 Jul 12, 2021 Changes in this version + const LabelRole + var Client client.Client + var K8sClient *kubernetes.Clientset + var TestingNamespace *corev1.Namespace = &corev1.Namespace + func ExecAndLogCommand(name string, arg ...string) ([]byte, error) + func ExecCommandOnPod(pod *corev1.Pod, command []string) ([]byte, error) + func GetByLabels(nodeLabels map[string]string) ([]corev1.Node, error) + func GetByRole(role string) ([]corev1.Node, error) + func GetBySelector(selector labels.Selector) ([]corev1.Node, error) + func GetPodLogs(c *kubernetes.Clientset, pod *corev1.Pod) (string, error) + func GetTestPod() *corev1.Pod + func GetWithRetry(ctx context.Context, key client.ObjectKey, obj runtime.Object) error + func New() (client.Client, error) + func NewK8s() (*kubernetes.Clientset, error) + func Setup() error + func Teardown() error + func WaitForNamespaceDeletion(name string, timeout time.Duration) error + func WaitForPodCondition(pod *corev1.Pod, conditionType corev1.PodConditionType, ...) error + func WaitForPodDeletion(pod *corev1.Pod, timeout time.Duration) error + func WaitForPodPhase(pod *corev1.Pod, phase corev1.PodPhase, timeout time.Duration) error