kubernetes/cmd/kubeadm/test/cmd/init_test.go

func runKubeadmInit(t testing.TB, args ...string) (string, string, int, error) {}

func getKubeadmVersion() *version.Version {}

func TestCmdInitToken(t *testing.T) {}

func TestCmdInitKubernetesVersion(t *testing.T) {}

func TestCmdInitConfig(t *testing.T) {}

func TestCmdInitAPIPort(t *testing.T) {}

// TestCmdInitFeatureGates test that feature gates won't make kubeadm panic.
// When go panics it will exit with a 2 code. While we don't expect the init
// calls to succeed in these tests, we ensure that the exit code of calling
// kubeadm with different feature gates is not 2.
func TestCmdInitFeatureGates(t *testing.T) {}