var preflightExample … // NewPreflightPhase creates a kubeadm workflow phase that implements preflight checks for a new control-plane node. func NewPreflightPhase() workflow.Phase { … } // runPreflight executes preflight checks logic. func runPreflight(c workflow.RunData) error { … }