package
Version:
v1.18.20
Opens a new window with list of versions in this module.
Published: Jun 16, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func AssertSubCommandHasFlags(t *testing.T, subCmds []*cobra.Command, command string, flags ...string)
-
func RunCmd(command string, args ...string) (string, string, int, error)
-
func RunSubCommand(t *testing.T, subCmds []*cobra.Command, command string, args ...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
RunSubCommand is a utility function for kubeadm testing that executes a Cobra sub command
Source Files
¶
Click to show internal directories.
Click to hide internal directories.