kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/config/config_test.go

func newRedFederalCowHammerConfig() clientcmdapi.Config {}

func Example_view() {}

func TestCurrentContext(t *testing.T) {}

func TestSetCurrentContext(t *testing.T) {}

func TestSetNonExistentContext(t *testing.T) {}

func TestSetIntoExistingStruct(t *testing.T) {}

func TestSetWithPathPrefixIntoExistingStruct(t *testing.T) {}

func TestUnsetStruct(t *testing.T) {}

func TestUnsetField(t *testing.T) {}

func TestSetIntoNewStruct(t *testing.T) {}

func TestSetBoolean(t *testing.T) {}

func TestSetIntoNewConfig(t *testing.T) {}

func TestNewEmptyAuth(t *testing.T) {}

func TestAdditionalAuth(t *testing.T) {}

func TestEmbedClientCert(t *testing.T) {}

func TestExecPlugin(t *testing.T) {}

func TestExecPluginWithProveClusterInfo(t *testing.T) {}

func TestEmbedClientKey(t *testing.T) {}

func TestEmbedNoKeyOrCertDisallowed(t *testing.T) {}

func TestEmptyTokenAndCertAllowed(t *testing.T) {}

func TestTokenAndCertAllowed(t *testing.T) {}

func TestTokenAndBasicDisallowed(t *testing.T) {}

func TestBasicClearsToken(t *testing.T) {}

func TestTokenClearsBasic(t *testing.T) {}

func TestTokenLeavesCert(t *testing.T) {}

func TestCertLeavesToken(t *testing.T) {}

func TestSetBytesBad(t *testing.T) {}

func TestSetBytes(t *testing.T) {}

func TestSetBase64Bytes(t *testing.T) {}

func TestUnsetBytes(t *testing.T) {}

func TestCAClearsInsecure(t *testing.T) {}

func TestCAClearsCAData(t *testing.T) {}

func TestInsecureClearsCA(t *testing.T) {}

func TestCADataClearsCA(t *testing.T) {}

func TestEmbedNoCADisallowed(t *testing.T) {}

func TestCAAndInsecureDisallowed(t *testing.T) {}

func TestMergeExistingAuth(t *testing.T) {}

func TestNewEmptyCluster(t *testing.T) {}

func TestAdditionalCluster(t *testing.T) {}

func TestOverwriteExistingCluster(t *testing.T) {}

func TestNewEmptyContext(t *testing.T) {}

func TestAdditionalContext(t *testing.T) {}

func TestMergeExistingContext(t *testing.T) {}

func TestToBool(t *testing.T) {}

func testConfigCommand(args []string, startingConfig clientcmdapi.Config, t *testing.T) (string, clientcmdapi.Config) {}

type configCommandTest

func (test configCommandTest) checkOutput(out string, expectedOutputs []string, t *testing.T) {}

func (test configCommandTest) run(t *testing.T) string {}

func testClearLocationOfOrigin(config *clientcmdapi.Config) {}

func testSetNilMapsToEmpties(curr reflect.Value) {}