Versions in this module Expand all Collapse all v0 v0.0.3 Oct 18, 2023 Changes in this version + var EnumList = []ResultStatus + type ActionResult struct + EndTime time.Time + Error error + Host connector.Host + StartTime time.Time + Status ResultStatus + func (a *ActionResult) GetEndTime() time.Time + func (a *ActionResult) GetErr() error + func (a *ActionResult) GetHost() connector.Host + func (a *ActionResult) GetStartTime() time.Time + func (a *ActionResult) GetStatus() ResultStatus + type Interface interface + GetEndTime func() time.Time + GetErr func() error + GetHost func() connector.Host + GetStartTime func() time.Time + GetStatus func() ResultStatus + type ModuleResult struct + CombineResult error + EndTime time.Time + HostResults map[string]Interface + StartTime time.Time + Status ResultStatus + func NewModuleResult() *ModuleResult + func (m *ModuleResult) AppendHostResult(p Interface) + func (m *ModuleResult) ErrResult(combineErr error) + func (m *ModuleResult) IsFailed() bool + func (m *ModuleResult) LocalErrResult(err error) + func (m *ModuleResult) NormalResult() + type ResultStatus int + const FAILED + const NULL + const SKIPPED + const SUCCESS + func GetByCode(code int) ResultStatus + func (r ResultStatus) String() string + type TaskResult struct + ActionResults []*ActionResult + EndTime time.Time + StartTime time.Time + Status ResultStatus + func NewTaskResult() *TaskResult + func (t *TaskResult) AppendErr(host connector.Host, err error) + func (t *TaskResult) AppendSkip(host connector.Host) + func (t *TaskResult) AppendSuccess(host connector.Host) + func (t *TaskResult) CombineErr() error + func (t *TaskResult) ErrResult() + func (t *TaskResult) IsFailed() bool + func (t *TaskResult) NormalResult() + func (t *TaskResult) SkippedResult()