kubectl

package
v0.0.0-...-203e7e7 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(cmdName string, cmdArgs []string, timeout time.Duration) ([]byte, error)

func ExecStdin

func ExecStdin(cmdName string, cmdArgs []string, stdin *[]byte, timeout time.Duration) ([]byte, error)

Types

type KubeCtl

type KubeCtl interface {
	Exec(cmdArgs []string) (string, error)
	ExecStdin(cmdArgs []string, stdin *[]byte) (string, error)
}

func RealKubeCtl

func RealKubeCtl() KubeCtl

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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