proc

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(dir, command string, arg ...string) (*exec.Cmd, error)

func Kubectl added in v0.3.4

func Kubectl(command ...string) (string, error)

Kubectl invokes the `kubectl` command in PATH, running the specified command. It returns the command output and/or error.

func Run

func Run(dir string, toStdout bool, command string, args ...string) (string, error)

func RunW added in v0.0.22

func RunW(cmd string, args ...string) (string, error)

RunW runs the command in the current working dir

Types

This section is empty.

Jump to

Keyboard shortcuts

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