Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶ added in v0.8.1
func RunCommand(cmd *exec.Cmd, output *OutputWriter) (err error)
Types ¶
type Execution ¶ added in v0.8.1
func DefaultExecution ¶ added in v0.8.1
func GetExecution ¶ added in v0.8.1
type OutputWriter ¶
type OutputWriter struct {
// contains filtered or unexported fields
}
func SuppressedCommand ¶ added in v0.8.1
func SuppressedCommand(command string, args ...string) (cmd *exec.Cmd, output *OutputWriter)
func (*OutputWriter) Close ¶
func (out *OutputWriter) Close() error
func (*OutputWriter) Format ¶
func (out *OutputWriter) Format() string
type Step ¶ added in v0.8.1
type Step struct {
Name string `hcl:",key"`
Wkdir string `hcl:"wkdir"`
Target string `hcl:"target"`
Command string `hcl:"command"`
Args []string `hcl:"args"`
Sha string `hcl:"sha"`
Retries int `hcl:"retries"`
Verbose bool `hcl:"verbose"`
}
type WrappedError ¶
type WrappedError struct {
Output string
// contains filtered or unexported fields
}
func (*WrappedError) Error ¶
func (we *WrappedError) Error() string
Click to show internal directories.
Click to hide internal directories.