kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

func phaseBuilder(name string, phases ...Phase) Phase {}

func TestComputePhaseRunFlags(t *testing.T) {}

func phaseBuilder1(name string, runIf func(data RunData) (bool, error), phases ...Phase) Phase {}

var callstack

func runBuilder(name string) func(data RunData) error {}

func runConditionTrue(data RunData) (bool, error) {}

func runConditionFalse(data RunData) (bool, error) {}

func TestRunOrderAndConditions(t *testing.T) {}

func phaseBuilder2(name string, runIf func(data RunData) (bool, error), run func(data RunData) error, phases ...Phase) Phase {}

func runPass(data RunData) error {}

func runFails(data RunData) error {}

func runConditionPass(data RunData) (bool, error) {}

func runConditionFails(data RunData) (bool, error) {}

func TestRunHandleErrors(t *testing.T) {}

func phaseBuilder3(name string, hidden bool, phases ...Phase) Phase {}

func TestHelp(t *testing.T) {}

func phaseBuilder4(name string, cmdFlags []string, phases ...Phase) Phase {}

func phaseBuilder5(name string, flags *pflag.FlagSet) Phase {}

type argTest

func phaseBuilder6(name string, args cobra.PositionalArgs, phases ...Phase) Phase {}

// customArgs is a custom cobra.PositionArgs function
func customArgs(cmd *cobra.Command, args []string) error {}

func TestBindToCommandArgRequirements(t *testing.T) {}

func TestBindToCommand(t *testing.T) {}

func getCmd(parent *cobra.Command, nestedName string) *cobra.Command {}

func cmdHasFlags(cmd *cobra.Command, expectedFlags ...string) error {}