kubernetes/cmd/kubeadm/app/util/kubeconfig/kubeconfig_test.go

const configOut1

const configOut2

type configClient

type configClientWithCerts

type configClientWithToken

func TestCreateWithCerts(t *testing.T) {}

func TestCreateWithToken(t *testing.T) {}

func TestWriteKubeconfigToDisk(t *testing.T) {}

func TestGetCurrentAuthInfo(t *testing.T) {}

func TestHasCredentials(t *testing.T) {}

func TestGetClusterFromKubeConfig(t *testing.T) {}

func TestEnsureAuthenticationInfoAreEmbedded(t *testing.T) {}

func TestEnsureCertificateAuthorityIsEmbedded(t *testing.T) {}