package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Feb 28, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Run(log logr.Logger, options *Opt, stdin string, cmd string, args ...string) (stdout, stderr string, err error)
-
func RunAsync(ctx context.Context, log logr.Logger, options *Opt, _ string, cmd string, ...) *exec.Cmd
-
type Opt
Run executes 'cmd' with 'stdin', 'args' and (optional) 'options'.
Return stdout and stderr upon completion.
RunAsync returns an exec.Cmd that requires Start() and Wait() to run it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.