package kubeadm
import "k8s.io/kubernetes/cmd/kubeadm/test/cmd"
Index ¶
- func RunCmd(command string, args ...string) (string, string, int, error)
- func RunSubCommand(t *testing.T, subCmds []*cobra.Command, command string, output io.Writer, args ...string) error
Functions ¶
func RunCmd ¶
RunCmd is a utility function for kubeadm testing that executes a specified command
func RunSubCommand ¶
func RunSubCommand(t *testing.T, subCmds []*cobra.Command, command string, output io.Writer, args ...string) error
RunSubCommand is a utility function for kubeadm testing that executes a Cobra sub command
Source Files ¶
util.go
- Version
- v1.30.5
- Published
- Sep 12, 2024
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 12 minutes ago –
Tools for package owners.