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(cmdName string, args ...string) (string, string, error)
- func RunCommandPipe(commands ...[]string) (string, string, error)
- func RunCommandPipeWithNS(namespace string, commands ...[]string) (string, string, error)
- func RunCommandWithNS(namespace string, cmdName string, args ...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 RunCommandPipeWithNS ¶
func RunCommandWithNS ¶
func SkipIfNoCmd ¶
func SkipIfNoCmd(cmdName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.