Retracted: Legacy tags before v0.1.0 was created
package
Version:
v1.4.0-pre-alpha-2
Opens a new window with list of versions in this module.
Published: Jul 9, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package exec implements command execution functionality.
KubectlApplyWithArgs applies config with args
Command wraps exec.Command
NewCommand returns a Command.
func (*Command) Run ¶
Run executes the command and returns stdout, stderr and the error if there is any.
RunAndRedirectOutput executes command and redirects output
Option is a functional option type that modifies a Command.
WithArgs sets the arguments for the command
WithCommand defines the command
WithEnv sets env variables
WithStdin sets up the command to read from this io.Reader.
WithStdout sets up the command to write to io.Writer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.