Versions in this module Expand all Collapse all v0 v0.10.0 Jun 13, 2019 Changes in this version + type Framework struct + KubeClient kubernetes.Interface + Namespace string + NodeName string + func NewTestingFramework(kubeconfig, namespace, nodeName string) *Framework + func (f *Framework) CreateDummyPodObjectWithPrefix(testName string, prefix string, images ...string) *corev1.Pod + func (f *Framework) CreatePod(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() error + func (f *Framework) DeletePod(namespace, name string) error + func (f *Framework) DeletePodImmediately(namespace, name string) error + func (f *Framework) GetNode() (*corev1.Node, error) + func (f *Framework) GetRunningPods() (*corev1.PodList, error) + func (f *Framework) GetStatsSummary() (*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)