kubernetesk8s.io/kubernetes/cmd/kubeadm/test/cmd Index | Files

package kubeadm

import "k8s.io/kubernetes/cmd/kubeadm/test/cmd"

Index

Functions

func RunCmd

func RunCmd(command string, args ...string) (string, string, int, error)

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, args ...string) error

RunSubCommand is a utility function for kubeadm testing that executes a Cobra sub command

Source Files

util.go

Version
v1.27.6
Published
Sep 13, 2023
Platform
js/wasm
Imports
6 packages
Last checked
1 minute ago

Tools for package owners.