util

package
v0.8.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunE

func RunE(log logr.Logger, cmd *exec.Cmd) error

func RunPrintCombined

func RunPrintCombined(log logr.Logger, cmd *exec.Cmd) ([]byte, error)

RunPrintCombined will run the given command, capturing its output using CombinedOutput. If the command execution fails, the command output will be logged to the loggers underlying output Writer. This function will return the combined output bytes on both failure and success.

Types

This section is empty.

Jump to

Keyboard shortcuts

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