var controlPlaneJoinExample … var etcdJoinExample … func getControlPlaneJoinPhaseFlags(name string) []string { … } // NewControlPlaneJoinPhase creates a kubeadm workflow phase that implements joining a machine as a control plane instance func NewControlPlaneJoinPhase() workflow.Phase { … } // NewEtcdJoinPhase creates a kubeadm workflow phase that implements joining etcd func NewEtcdJoinPhase() workflow.Phase { … } func newEtcdLocalSubphase() workflow.Phase { … } func newMarkControlPlaneSubphase() workflow.Phase { … } func runEtcdPhase(c workflow.RunData) error { … } func runMarkControlPlanePhase(c workflow.RunData) error { … }