queue

package
v3.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd

type CreateCmd struct {
	ClusterUUID        string `arg:"" help:"Cluster UUID to create the queue in" name:"cluster-uuid"`
	Key                string `help:"A unique key for the queue" required:""`
	Description        string `help:"A description of the queue" optional:""`
	RetryAgentAffinity string `help:"Retry agent affinity setting (prefer-warmest or prefer-different)" optional:"" name:"retry-agent-affinity"`
	output.OutputFlags
}

func (*CreateCmd) Help

func (c *CreateCmd) Help() string

func (*CreateCmd) Run

func (c *CreateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*CreateCmd) Validate

func (c *CreateCmd) Validate() error

type DeleteCmd

type DeleteCmd struct {
	ClusterUUID string `arg:"" help:"Cluster UUID the queue belongs to" name:"cluster-uuid"`
	QueueUUID   string `arg:"" help:"Queue UUID to delete" name:"queue-uuid"`
}

func (*DeleteCmd) Help

func (c *DeleteCmd) Help() string

func (*DeleteCmd) Run

func (c *DeleteCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ListCmd

type ListCmd struct {
	ClusterUUID string `arg:"" help:"Cluster UUID to list queues for" name:"cluster-uuid"`
	PerPage     int    `help:"Number of queues per page" default:"30"`
	Limit       int    `help:"Maximum number of queues to return" default:"100"`
	output.OutputFlags
}

func (*ListCmd) Help

func (c *ListCmd) Help() string

func (*ListCmd) Run

func (c *ListCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*ListCmd) Validate

func (c *ListCmd) Validate() error

type PauseCmd

type PauseCmd struct {
	ClusterUUID string `arg:"" help:"Cluster UUID the queue belongs to" name:"cluster-uuid"`
	QueueUUID   string `arg:"" help:"Queue UUID to pause" name:"queue-uuid"`
	Note        string `help:"Optional note explaining why the queue is being paused" optional:"" name:"note"`
	output.OutputFlags
}

func (*PauseCmd) Help

func (c *PauseCmd) Help() string

func (*PauseCmd) Run

func (c *PauseCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ResumeCmd

type ResumeCmd struct {
	ClusterUUID string `arg:"" help:"Cluster UUID the queue belongs to" name:"cluster-uuid"`
	QueueUUID   string `arg:"" help:"Queue UUID to resume" name:"queue-uuid"`
	output.OutputFlags
}

func (*ResumeCmd) Help

func (c *ResumeCmd) Help() string

func (*ResumeCmd) Run

func (c *ResumeCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type UpdateCmd

type UpdateCmd struct {
	ClusterUUID        string `arg:"" help:"Cluster UUID the queue belongs to" name:"cluster-uuid"`
	QueueUUID          string `arg:"" help:"Queue UUID to update" name:"queue-uuid"`
	Description        string `help:"New description for the queue" optional:""`
	RetryAgentAffinity string `help:"Retry agent affinity (prefer-warmest or prefer-different)" optional:"" name:"retry-agent-affinity"`
	output.OutputFlags
}

func (*UpdateCmd) Help

func (c *UpdateCmd) Help() string

func (*UpdateCmd) Run

func (c *UpdateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*UpdateCmd) Validate

func (c *UpdateCmd) Validate() error

type ViewCmd

type ViewCmd struct {
	ClusterUUID string `arg:"" help:"Cluster UUID the queue belongs to" name:"cluster-uuid"`
	QueueUUID   string `arg:"" help:"Queue UUID to view" name:"queue-uuid"`
	output.OutputFlags
}

func (*ViewCmd) Help

func (c *ViewCmd) Help() string

func (*ViewCmd) Run

func (c *ViewCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

Jump to

Keyboard shortcuts

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