Documentation
¶
Overview ¶
Package bulkcancel carries the input and progress types for the admin bulk workflow cancellation run.
Index ¶
Constants ¶
View Source
const ( WorkflowName = "BulkCancelWorkflows" ProgressQueryType = "progress" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Progress ¶
type Progress struct {
Total int `json:"total"`
Done int `json:"done"`
Cancelled int `json:"cancelled"`
Skipped int `json:"skipped"`
Failed int `json:"failed"`
FailedIDs []string `json:"failed_ids,omitempty"`
CurrentWorkflowID string `json:"current_workflow_id,omitempty"`
Finished bool `json:"finished"`
}
type Request ¶
type Request struct {
Pending []string `json:"pending"`
Reason string `json:"reason"`
Total int `json:"total"`
Cancelled int `json:"cancelled"`
Skipped int `json:"skipped"`
Failed int `json:"failed"`
FailedIDs []string `json:"failed_ids"`
}
Request carries its counters across continue-as-new; callers set only Pending and Reason.
Click to show internal directories.
Click to hide internal directories.