cmd

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

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