Back to godoc.org
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
RunCmd is a utility function for kubeadm testing that executes a specified command
Documentation was rendered with GOOS=linux and GOARCH=amd64.