Documentation ¶
Index ¶
- func CreateCommandWithNS(namespace string, cmdName string, args ...string) (string, *exec.Cmd, error)
- func GetK8sCmdClient() string
- func NewRepeatableVirtctlCommand(args ...string) func() error
- func NewRepeatableVirtctlCommandWithOut(args ...string) func() ([]byte, error)
- func NewVirtctlCommand(args ...string) *cobra.Command
- func RunCommand(namespace string, cmdName string, args ...string) (string, string, error)
- func RunCommandPipe(namespace string, commands ...[]string) (string, string, error)
- func RunCommandWithNSAndInput(namespace string, input io.Reader, cmdName string, args ...string) (string, string, error)
- func SkipIfNoCmd(cmdName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommandWithNS ¶
func GetK8sCmdClient ¶
func GetK8sCmdClient() string
func NewRepeatableVirtctlCommandWithOut ¶ added in v0.59.0
func NewVirtctlCommand ¶
func RunCommand ¶
func RunCommandPipe ¶
func SkipIfNoCmd ¶
func SkipIfNoCmd(cmdName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.