clientcmd

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 15 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(cmdName string, args ...string) (string, string, error)

func RunCommandPipe

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

func RunCommandPipeWithNS

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

func RunCommandWithNS

func RunCommandWithNS(namespace string, cmdName string, args ...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