cluster

package
v3.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 19 Imported by: 1 module, 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 ClusterView

type ClusterView struct {
	ID              string         `json:"id" yaml:"id"`
	GraphQLID       string         `json:"graphql_id" yaml:"graphql_id"`
	DefaultQueueID  string         `json:"default_queue_id" yaml:"default_queue_id"`
	Name            string         `json:"name" yaml:"name"`
	Description     string         `json:"description,omitempty" yaml:"description,omitempty"`
	Emoji           string         `json:"emoji,omitempty" yaml:"emoji,omitempty"`
	Color           string         `json:"color,omitempty" yaml:"color,omitempty"`
	URL             string         `json:"url" yaml:"url"`
	WebURL          string         `json:"web_url" yaml:"web_url"`
	DefaultQueueURL string         `json:"default_queue_url" yaml:"default_queue_url"`
	QueuesURL       string         `json:"queues_url" yaml:"queues_url"`
	CreatedAt       time.Time      `json:"created_at" yaml:"created_at"`
	CreatedBy       *CreatedByView `json:"created_by,omitempty" yaml:"created_by,omitempty"`
}

ClusterView provides a formatted view of cluster data

func (ClusterView) TextOutput

func (c ClusterView) TextOutput() string

TextOutput implements the output.Formatter interface

type CreatedByView

type CreatedByView struct {
	ID        string    `json:"id" yaml:"id"`
	GraphQLID string    `json:"graphql_id" yaml:"graphql_id"`
	Name      string    `json:"name" yaml:"name"`
	Email     string    `json:"email" yaml:"email"`
	AvatarURL string    `json:"avatar_url" yaml:"avatar_url"`
	CreatedAt time.Time `json:"created_at" yaml:"created_at"`
}

CreatedByView represents cluster creator information

type ListCmd

type ListCmd struct {
	Output string `help:"Output format. One of: json, yaml, text" short:"o" default:"${output_default_format}"`
}

func (*ListCmd) Help

func (c *ListCmd) Help() string

func (*ListCmd) Run

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

type ViewCmd

type ViewCmd struct {
	ClusterID string `arg:"" help:"Cluster ID to view"`
	Output    string `help:"Output format. One of: json, yaml, text" short:"o" default:"${output_default_format}"`
}

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