clientcmd

package
v0.59.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 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 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