Versions in this module Expand all Collapse all v0 v0.2.1 Jan 23, 2025 v0.2.0 Jan 22, 2025 Changes in this version + const CmdDefaultTimeout + type Cmd struct + AcceptReturn []int + AdditionalEnv []string + Command string + Ctx context.Context + FailReturn []int + ForceNoOutput bool + ForceOutput bool + Shell bool + Timeout time.Duration + func (c *Cmd) Execute() error + func (c *Cmd) Validate() error + type CmdError struct + Cmd error + Expect error + func (ce CmdError) Error() string + type CmdResult struct + Err error + Stderr string + Stdout string + type Dummy struct + Results []error + func (d *Dummy) Validate() error + type Executor struct + Executor frame2.Executor + func (e *Executor) Validate() error + type Fail struct + Reason string + func (f Fail) Execute() error + func (f Fail) Validate() error + type Function struct + Fn func() error + func (f Function) Execute() error + func (f Function) Validate() error + type JSON struct + Data string + Matchers []JSONMatcher + func (j JSON) Validate() error + type JSONMatcher struct + Exact int + Expression string + Literal bool + Max int + Min int + NotBoolList bool + Response interface{} + type MapCheck struct + KeysAbsent []string + KeysPresent []string + MapType string + MapValidator func(map[string]string) error + NegativeValues map[string]string + NegativeValuesOrMissing map[string]string + RegexpValues map[string]regexp.Regexp + Values map[string]string + ValuesOrMissing map[string]string + func (mc MapCheck) Check(m map[string]string) error + func (mc MapCheck) CheckBytes(m map[string][]byte) error + type Phase struct + Phase frame2.Phase + func (p Phase) Validate() error + type Print struct + Data []interface{} + Message string + func (p Print) Execute() error + func (p Print) Validate() error + type Success struct + func (s Success) Execute() error + func (s Success) Validate() error + type Wait struct + Ctx context.Context + Delay time.Duration + func (w Wait) Execute() error v0.1.0 Oct 28, 2024