Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteLabeled ¶ added in v0.5.82
func ExecuteLabeled(tasks []LabeledTask, concurrency int64, policy ErrorPolicy) error
Types ¶
type ErrorAction ¶ added in v0.5.82
type ErrorAction int
const ( ErrActionIgnore ErrorAction = 0 ErrActionReport ErrorAction = 1 ErrActionRetry ErrorAction = 2 )
type ErrorPolicy ¶ added in v0.5.82
type ErrorPolicy func(task LabeledTask, attempt int, err error) ErrorAction
func AlwaysReport ¶ added in v0.5.82
func AlwaysReport() ErrorPolicy
type LabeledTask ¶ added in v0.5.82
func TaskWithLabel ¶ added in v0.5.82
func TaskWithLabel(taskType string, label string, task Task) LabeledTask
Click to show internal directories.
Click to hide internal directories.