package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Feb 15, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
-
func Get(dir, command string, arg ...string) (*exec.Cmd, error)
-
func Kubectl(command ...string) (string, error)
-
func Run(dir string, toStdout bool, command string, args ...string) (string, error)
-
func RunW(cmd string, args ...string) (string, error)
Kubectl invokes the `kubectl` command in PATH, running the specified command.
It returns the command output and/or error.
RunW runs the command in the current working dir
Source Files
¶
Click to show internal directories.
Click to hide internal directories.