// kubeadmReset executes "kubeadm reset" and restarts kubelet. func kubeadmReset() error { … } func TestCmdJoinConfig(t *testing.T) { … } func TestCmdJoinDiscoveryFile(t *testing.T) { … } func TestCmdJoinDiscoveryToken(t *testing.T) { … } func TestCmdJoinNodeName(t *testing.T) { … } func TestCmdJoinTLSBootstrapToken(t *testing.T) { … } func TestCmdJoinToken(t *testing.T) { … } func TestCmdJoinBadArgs(t *testing.T) { … } func TestCmdJoinArgsMixed(t *testing.T) { … }