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}"`
}
Click to show internal directories.
Click to hide internal directories.