cmd

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelTaskCmd

type CancelTaskCmd struct {
	UUID string `arg:"" name:"uuid" help:"UUID of the task."`
}

func (*CancelTaskCmd) Run

func (cmd *CancelTaskCmd) Run(ctx server.Cmd) error

type ClientCommands

type ClientCommands struct {
	ListTasks  ListTasksCmd  `cmd:"" name:"tasks" help:"List tasks." group:"TASK"`
	GetTask    GetTaskCmd    `cmd:"" name:"task" help:"Get the details of a task." group:"TASK"`
	CancelTask CancelTaskCmd `cmd:"" name:"task-cancel" help:"Cancel a task." group:"TASK"`
	WatchTasks WatchTasksCmd `cmd:"" name:"task-events" help:"Stream task events until interrupted (Ctrl+C)." group:"TASK"`
}

type GetTaskCmd

type GetTaskCmd struct {
	UUID string `arg:"" name:"uuid" help:"UUID of the task."`
}

func (*GetTaskCmd) Run

func (cmd *GetTaskCmd) Run(ctx server.Cmd) error

type ListTasksCmd

type ListTasksCmd struct {
	schema.TaskListRequest
}

func (*ListTasksCmd) Run

func (cmd *ListTasksCmd) Run(ctx server.Cmd) error

type WatchTasksCmd

type WatchTasksCmd struct {
	schema.TaskEventRequest
}

func (*WatchTasksCmd) Run

func (cmd *WatchTasksCmd) Run(ctx server.Cmd) error

Jump to

Keyboard shortcuts

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