bulkcancel

package
v0.19.1237 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL