Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIRunner ¶
type CLIRunner struct {
// Stdout, if set, receives a real-time copy of the process stdout while it runs.
Stdout io.Writer
// Stderr, if set, receives a real-time copy of the process stderr while it runs.
Stderr io.Writer
// contains filtered or unexported fields
}
CLIRunner runs the CRE CLI via os/exec. Run executes the binary and captures stdout/stderr.
func NewCLIRunner ¶
NewCLIRunner returns a CLIRunner for the given binary path. An empty path defaults to "cre" (resolved via PATH).
type CallResult ¶
CallResult holds stdout, stderr, and exit code from a completed CRE call.
Click to show internal directories.
Click to hide internal directories.