Documentation ¶
Index ¶
- Constants
- type GraphConfig
- type RunStep
- type Runner
- func (r *Runner[T]) RunTask(ctx T, task Task[T], in, out interface{}) error
- func (r *Runner[T]) SetStartTraceFunc(f ptrace.StartTraceFunc[T]) *Runner[T]
- func (r *Runner[T]) TaskGraph(task Task[T], showCodes ...string) string
- func (r *Runner[T]) TaskGraphRunSteps(task Task[T], runSteps []*RunStep, showCodes ...string) string
- func (r *Runner[T]) TaskGraphRunStepsFromJson(task Task[T], runStepsJson []byte, showCodes ...string) (string, error)
- func (r *Runner[T]) TaskRunSteps() []*RunStep
- type StepConfig
- type StepFailedFunc
- type StepFunc
- type Task
Constants ¶
View Source
const ( StepCodeFailure = "FAILURE" StepCodeSuccess = "SUCCESS" StepCodeJump1 = "JUMP1" StepCodeJump2 = "JUMP2" StepCodeJump3 = "JUMP3" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphConfig ¶ added in v1.2.0
type Runner ¶
type Runner[T pcontext.Context] struct { GraphConfig *GraphConfig // contains filtered or unexported fields }
func (*Runner[T]) SetStartTraceFunc ¶
func (r *Runner[T]) SetStartTraceFunc(f ptrace.StartTraceFunc[T]) *Runner[T]
func (*Runner[T]) TaskGraphRunSteps ¶ added in v1.2.0
func (*Runner[T]) TaskGraphRunStepsFromJson ¶ added in v1.2.0
func (*Runner[T]) TaskRunSteps ¶ added in v1.2.0
type StepConfig ¶
type StepFailedFunc ¶
Click to show internal directories.
Click to hide internal directories.