kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/explain/explain_test.go

var testDataPath

var fakeSchema

var FakeOpenAPISchema

type testOpenAPISchema

func TestExplainInvalidArgs(t *testing.T) {}

func TestExplainNotExistResource(t *testing.T) {}

type explainTestCase

var explainV2Cases

func TestExplainOpenAPIV2(t *testing.T) {}

func TestExplainOpenAPIV3(t *testing.T) {}

func runExplainTestCases(t *testing.T, cases []explainTestCase) {}

// OpenAPI V2 specifications retrieval -- should never be called.
func panicOpenAPISchemaFn() (openapi.Resources, error) {}

// OpenAPI V3 specifications retrieval does *not* retrieve V2 specifications.
func TestExplainOpenAPIV3DoesNotLoadOpenAPIV2Specs(t *testing.T) {}