Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertSubCommandHasFlags ¶ added in v1.8.0
func AssertSubCommandHasFlags(t *testing.T, subCmds []*cobra.Command, command string, flags ...string)
AssertSubCommandHasFlags is a utility function for kubeadm testing that assert if a Cobra sub command has expected flags
func RunCmd ¶
func RunCmd(command string, args ...string) (string, string, error)
RunCmd is a utility function for kubeadm testing that executes a specified command
func RunSubCommand ¶ added in v1.8.0
func RunSubCommand(t *testing.T, subCmds []*cobra.Command, command string, args ...string)
RunSubCommand is a utility function for kubeadm testing that executes a Cobra sub command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.