bulkcancel

package
v0.19.1306 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: AGPL-3.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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