func generatePodName(base string) string { … } func testPod(podnamebase string) *v1.Pod { … } var _ … // expectSandboxFailureEvent polls for an event with reason "FailedCreatePodSandBox" containing the // expected message string. func expectSandboxFailureEvent(ctx context.Context, f *framework.Framework, pod *v1.Pod, msg string) { … } func checkPodIsPending(ctx context.Context, f *framework.Framework, podName, namespace string) error { … }