Versions in this module Expand all Collapse all v1 v1.9.2 Apr 2, 2023 Changes in this version + func IsPodReady(pod *v1.Pod) bool + type Framework struct + KubeClient kubernetes.Interface + Namespace string + NodeName string + WatchTimeout time.Duration + func NewTestingFramework(kubeconfig, namespace, nodeName string, watchTimeout time.Duration) *Framework + func (f *Framework) CreateDummyPodObjectWithPrefix(testName string, prefix string, images ...string) *corev1.Pod + func (f *Framework) CreatePod(ctx context.Context, pod *corev1.Pod) (*corev1.Pod, error) + func (f *Framework) CreatePodObjectWithEnv(testName string, env []corev1.EnvVar) *corev1.Pod + func (f *Framework) CreatePodObjectWithMandatoryConfigMapKey(testName string) *corev1.Pod + func (f *Framework) CreatePodObjectWithMandatorySecretKey(testName string) *corev1.Pod + func (f *Framework) CreatePodObjectWithOptionalConfigMapKey(testName string) *corev1.Pod + func (f *Framework) CreatePodObjectWithOptionalSecretKey(testName string) *corev1.Pod + func (f *Framework) DeleteNode(ctx context.Context) error + func (f *Framework) DeletePod(ctx context.Context, namespace, name string) error + func (f *Framework) DeletePodImmediately(ctx context.Context, namespace, name string) error + func (f *Framework) GetMetricsResource(ctx context.Context) ([]*dto.MetricFamily, error) + func (f *Framework) GetNode(ctx context.Context) (*corev1.Node, error) + func (f *Framework) GetRunningPodsFromKubernetes(ctx context.Context) (*corev1.PodList, error) + func (f *Framework) GetRunningPodsFromProvider(ctx context.Context) (*corev1.PodList, error) + func (f *Framework) GetStatsSummary(ctx context.Context) (*stats.Summary, error) + func (f *Framework) WaitUntilNodeCondition(fn watch.ConditionFunc) error + func (f *Framework) WaitUntilPodCondition(namespace, name string, fn watch.ConditionFunc) (*corev1.Pod, error) + func (f *Framework) WaitUntilPodDeleted(namespace, name string) (*corev1.Pod, error) + func (f *Framework) WaitUntilPodEventWithReason(pod *corev1.Pod, reason string) error + func (f *Framework) WaitUntilPodInPhase(namespace, name string, phases ...corev1.PodPhase) (*corev1.Pod, error) + func (f *Framework) WaitUntilPodReady(namespace, name string) (*corev1.Pod, error)