Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
Cmd is a wrapper around exec.Cmd with sensible handling of stderr in error reports.
func NewKraft ¶
NewKraft returns a kraft OS command that uses the given IO streams and has pre-set flags to use the given paths.
func NewKraftPrivileged ¶ added in v0.7.0
NewKraftPrivileged returns a kraft OS command that uses the given IO streams and has pre-set flags to use the given paths, with a sudo prefix if user is not already root.
type ExitError ¶
ExitError is a wrapper around exec.ExitError that can be pretty-printed through a gomega matcher.
func (*ExitError) GomegaString ¶
type IOStream ¶
type IOStream struct {
// contains filtered or unexported fields
}
IOStream represents an IO stream to be used by OS commands and suitable for assertions and reporting in tests.
func (*IOStream) GomegaString ¶
Click to show internal directories.
Click to hide internal directories.