cluster

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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd added in v3.33.0

type CreateCmd struct {
	Name        string `help:"The name of the cluster" required:""`
	Description string `help:"A description of the cluster" optional:""`
	Emoji       string `help:"An emoji for the cluster (e.g. :rocket:)" optional:""`
	Color       string `help:"A color hex code for the cluster (e.g. #FF0000)" optional:""`
	output.OutputFlags
}

func (*CreateCmd) Help added in v3.33.0

func (c *CreateCmd) Help() string

func (*CreateCmd) Run added in v3.33.0

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

type DeleteCmd added in v3.33.0

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

func (*DeleteCmd) Help added in v3.33.0

func (c *DeleteCmd) Help() string

func (*DeleteCmd) Run added in v3.33.0

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

type ListCmd

type ListCmd struct {
	output.OutputFlags
}

func (*ListCmd) Help

func (c *ListCmd) Help() string

func (*ListCmd) Run

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

type UpdateCmd added in v3.33.0

type UpdateCmd struct {
	ClusterUUID    string `arg:"" help:"Cluster UUID to update" name:"cluster-uuid"`
	Name           string `help:"New name for the cluster" optional:""`
	Description    string `help:"New description for the cluster" optional:""`
	Emoji          string `help:"New emoji for the cluster (e.g. :rocket:)" optional:""`
	Color          string `help:"New color hex code for the cluster (e.g. #FF0000)" optional:""`
	DefaultQueueID string `help:"UUID of the queue to set as the default" optional:"" name:"default-queue-id"`
	output.OutputFlags
}

func (*UpdateCmd) Help added in v3.33.0

func (c *UpdateCmd) Help() string

func (*UpdateCmd) Run added in v3.33.0

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

func (*UpdateCmd) Validate added in v3.33.0

func (c *UpdateCmd) Validate() error

type ViewCmd

type ViewCmd struct {
	ClusterUUID string `arg:"" help:"Cluster UUID to view" name:"cluster-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