const Poll …
func LookForStringInPodExec(ns, podName string, command []string, expectedString string, timeout time.Duration) (result string, err error) { … }
func LookForStringInPodExecToContainer(ns, podName, containerName string, command []string, expectedString string, timeout time.Duration) (result string, err error) { … }
func lookForString(expectedString string, timeout time.Duration, fn func() string) (result string, err error) { … }
func RunHostCmd(ns, name, cmd string) (string, error) { … }
func RunHostCmdWithFullOutput(ns, name, cmd string) (string, string, error) { … }
func RunHostCmdOrDie(ns, name, cmd string) string { … }
func RunHostCmdWithRetries(ns, name, cmd string, interval, timeout time.Duration) (string, error) { … }
func LookForStringInLog(ns, podName, container, expectedString string, timeout time.Duration) (result string, err error) { … }
func LookForStringInLogWithoutKubectl(ctx context.Context, client clientset.Interface, ns string, podName string, container string, expectedString string, timeout time.Duration) (result string, err error) { … }
func CreateEmptyFileOnPod(namespace string, podName string, filePath string) error { … }
func DumpDebugInfo(ctx context.Context, c clientset.Interface, ns string) { … }
func MatchContainerOutput(
ctx context.Context,
f *framework.Framework,
pod *v1.Pod,
containerName string,
expectedOutput []string,
matcher func(string, ...interface{ … }
func MatchMultipleContainerOutputs(
ctx context.Context,
f *framework.Framework,
pod *v1.Pod,
expectedOutputs map[string][]string,
matcher func(string, ...interface{ … }
func TestContainerOutput(ctx context.Context, f *framework.Framework, scenarioName string, pod *v1.Pod, containerIndex int, expectedOutput []string) { … }
func TestContainerOutputRegexp(ctx context.Context, f *framework.Framework, scenarioName string, pod *v1.Pod, containerIndex int, expectedOutput []string) { … }
func TestContainerOutputsRegexp(ctx context.Context, f *framework.Framework, scenarioName string, pod *v1.Pod, expectedOutputs map[int][]string) { … }
func TestContainerOutputMatcher(ctx context.Context, f *framework.Framework,
scenarioName string,
pod *v1.Pod,
containerIndex int,
expectedOutput []string,
matcher func(string, ...interface{ … }
func TestContainerOutputsMatcher(ctx context.Context, f *framework.Framework,
scenarioName string,
pod *v1.Pod,
expectedOutputs map[int][]string,
matcher func(string, ...interface{ … }