Documentation
¶
Overview ¶
Package stack holds the business-logic layer for stack operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service exposes stack operations to the cmd layer.
func NewService ¶
func NewService(client *bitriseapi.Client) *Service
NewService returns a Service backed by the given API client.
type Stack ¶
type Stack struct {
ID string `json:"id" yaml:"id"`
Title string `json:"title" yaml:"title"`
OS string `json:"os" yaml:"os"`
OSVersion int `json:"os_version,omitempty" yaml:"os_version,omitempty"`
Status string `json:"status" yaml:"status"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
StackReport string `json:"stack_report,omitempty" yaml:"stack_report,omitempty"`
RemovalDate string `json:"removal_date,omitempty" yaml:"removal_date,omitempty"`
}
Stack is the CLI representation of a Bitrise stack. Field names are normalized to snake_case from the wire format's hyphenated keys.
type StacksResult ¶
type StacksResult struct {
Items []Stack `json:"items" yaml:"items"`
}
StacksResult holds all available stacks.
Click to show internal directories.
Click to hide internal directories.