kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/wait/wait_test.go

const None

const podYAML

func newUnstructuredList(items ...*unstructured.Unstructured) *unstructured.UnstructuredList {}

func newUnstructured(apiVersion, kind, namespace, name string) *unstructured.Unstructured {}

func newUnstructuredWithGeneration(apiVersion, kind, namespace, name string, generation int64) *unstructured.Unstructured {}

func newUnstructuredStatus(status *metav1.Status) runtime.Unstructured {}

func addCondition(in *unstructured.Unstructured, name, status string) *unstructured.Unstructured {}

func addConditionWithObservedGeneration(in *unstructured.Unstructured, name, status string, observedGeneration int64) *unstructured.Unstructured {}

// createUnstructured parses the yaml string into a map[string]interface{}.  Verifies that the string does not have
// any tab characters.
func createUnstructured(t *testing.T, config string) *unstructured.Unstructured {}

func TestWaitForDeletion(t *testing.T) {}

func TestWaitForCondition(t *testing.T) {}

func TestWaitForCreate(t *testing.T) {}

func TestWaitForDeletionIgnoreNotFound(t *testing.T) {}

// TestWaitForDifferentJSONPathCondition will run tests on different types of
// JSONPath expression to check the JSONPath can be parsed correctly from a Pod Yaml
// and check if the comparison returns as expected.
func TestWaitForDifferentJSONPathExpression(t *testing.T) {}

// TestWaitForJSONPathCondition will run tests to check whether
// the List actions and Watch actions match what we expected
func TestWaitForJSONPathCondition(t *testing.T) {}

// TestConditionFuncFor tests that the condition string can be properly parsed into a ConditionFunc.
func TestConditionFuncFor(t *testing.T) {}