cluster

package
v3.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCluster

func NewCmdCluster(f *factory.Factory) *cobra.Command

func NewCmdClusterList added in v3.2.0

func NewCmdClusterList(f *factory.Factory) *cobra.Command

func NewCmdClusterView

func NewCmdClusterView(f *factory.Factory) *cobra.Command

Types

type ClusterView added in v3.7.0

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 added in v3.7.0

func (c ClusterView) TextOutput() string

TextOutput implements the output.Formatter interface

type CreatedByView added in v3.7.0

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

Jump to

Keyboard shortcuts

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