Versions in this module Expand all Collapse all v1 v1.0.1 Mar 17, 2026 Changes in this version + func CmdRunCaseFile(_ base.TaskActionImpl, cmd []string, caseIndex int32, beginTime time.Time) string v1.0.0 Mar 11, 2026 Changes in this version + var CaseActionActor sync.Map + var FailedCount atomic.Int64 + var ProgressBarCurrentCount atomic.Int64 + var ProgressBarTotalCount int64 + var RefreshFunc *time.Timer + var TotalFailedCount atomic.Int64 + func AddProgressBarCount() + func AutoCompleteCaseName(string) []string + func ClearProgressBar() + func CmdRunCase(_ base.TaskActionImpl, cmd []string) string + func InitProgressBar(totalCount int64) + func RefreshProgressBar() + func RegisterCase(name string, fn CaseFunc, timeout time.Duration) + func RunCaseFile(caseFile string) error + func RunCaseWait(pendingCase []chan string) error + type CaseAction struct + type CaseFunc func(*TaskActionCase, string, []string) error + type TaskActionCase struct + Args []string + Fn CaseFunc + OpenId string + func (t *TaskActionCase) AfterYield() + func (t *TaskActionCase) BeforeYield() + func (t *TaskActionCase) HookRun() error + func (t *TaskActionCase) Log(format string, a ...any)