cancel

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCancelCommand

func AddCancelCommand(cmd *cobra.Command, rootFlags *model.RootFlags)

func AddJobCommand

func AddJobCommand(cmd *cobra.Command, cancelFlags *CancelFlags, rootFlags *model.RootFlags)

func AddWorkerCommand

func AddWorkerCommand(cmd *cobra.Command, cancelFlags *CancelFlags, rootFlags *model.RootFlags)

Types

type CancelCommand

type CancelCommand struct {
	Cmd         *cobra.Command
	RootFlags   *model.RootFlags
	CancelFlags *CancelFlags
}

type CancelFlags

type CancelFlags struct {
	RID string
}

type JobCommand

type JobCommand struct {
	Cmd         *cobra.Command
	RootFlags   *model.RootFlags
	CancelFlags *CancelFlags
}

func (*JobCommand) RunJobCommand

func (r *JobCommand) RunJobCommand(cmd *cobra.Command, args []string)

type WorkerCommand

type WorkerCommand struct {
	Cmd         *cobra.Command
	RootFlags   *model.RootFlags
	CancelFlags *CancelFlags
}

func (*WorkerCommand) RunWorkerCommand

func (r *WorkerCommand) RunWorkerCommand(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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