kubernetes/cmd/kubeadm/app/phases/addons/dns/dns_test.go

func TestCompileManifests(t *testing.T) {}

func TestGetDNSIP(t *testing.T) {}

func TestDeploymentsHaveSystemClusterCriticalPriorityClassName(t *testing.T) {}

func TestCreateCoreDNSAddon(t *testing.T) {}

func createClientAndCoreDNSManifest(t *testing.T, corefile, coreDNSVersion string) *clientsetfake.Clientset {}

func TestDeployedDNSReplicas(t *testing.T) {}

func TestCoreDNSAddon(t *testing.T) {}

func TestEnsureDNSAddon(t *testing.T) {}

func TestCreateDNSService(t *testing.T) {}

func TestDeployedDNSAddon(t *testing.T) {}

func TestGetCoreDNSInfo(t *testing.T) {}

func TestIsCoreDNSConfigMapMigrationRequired(t *testing.T) {}

// replicas is replica of each DNS deployment
// deploymentSize is the number of deployments with `k8s-app=kube-dns` label.
func newMockClientForTest(t *testing.T, replicas int32, deploymentSize int, image string, configMap string, configData string) *clientsetfake.Clientset {}