Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.