var initDoneTempl … // NewShowJoinCommandPhase creates a kubeadm workflow phase that implements showing the join command. func NewShowJoinCommandPhase() workflow.Phase { … } // showJoinCommand prints the join command after all the phases in init have finished func showJoinCommand(c workflow.RunData) error { … } func printJoinCommand(out io.Writer, adminKubeConfigPath, token string, i InitData) error { … }