clientcmd

package
v1.4.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCommandWithNS

func CreateCommandWithNS(namespace string, cmdName string, args ...string) (string, *exec.Cmd, error)

func GetK8sCmdClient

func GetK8sCmdClient() string

func NewRepeatableVirtctlCommand

func NewRepeatableVirtctlCommand(args ...string) func() error

func NewRepeatableVirtctlCommandWithOut added in v0.59.0

func NewRepeatableVirtctlCommandWithOut(args ...string) func() ([]byte, error)

func NewVirtctlCommand

func NewVirtctlCommand(args ...string) *cobra.Command

func RunCommand

func RunCommand(namespace string, cmdName string, args ...string) (string, string, error)

func RunCommandPipe

func RunCommandPipe(namespace string, commands ...[]string) (string, string, error)

func RunCommandWithNSAndInput

func RunCommandWithNSAndInput(namespace string, input io.Reader, cmdName string, args ...string) (string, string, error)

func SkipIfNoCmd

func SkipIfNoCmd(cmdName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL