Documentation ΒΆ
Index ΒΆ
- Variables
- func ArtifactDownloadCommand(ctx ArtifactDownloadCommandContext) error
- func BrowseCommand(ctx BrowseCommandContext) error
- func BuildCreateCommand(ctx BuildCreateCommandContext) error
- func ConfigureBuildkiteGraphQLCommand(ctx ConfigureCommandContext) error
- func ConfigureDefaultCommand(ctx ConfigureCommandContext) error
- func ConfigureGithubCommand(ctx ConfigureCommandContext) error
- func InitCommand(ctx InitCommandContext) error
- func LocalRunCommand(ctx LocalRunCommandContext) error
- func PipelineListCommand(ctx PipelineListCommandContext) error
- func VersionString() string
- type ArtifactDownloadCommandContext
- type BrowseCommandContext
- type BuildCreateCommandContext
- type ConfigureCommandContext
- type ExitCoder
- type ExitError
- type InitCommandContext
- type KeyringContext
- type LocalRunCommandContext
- type PipelineListCommandContext
- type Spinner
- type Terminal
- func (t *Terminal) Failure(msg string)
- func (t *Terminal) Header(h string)
- func (t *Terminal) Printf(s string, v ...interface{})
- func (t *Terminal) Println(s ...interface{})
- func (t *Terminal) ReadPassword(prompt string) (string, error)
- func (t *Terminal) ReadString(prompt string) (string, error)
- func (t *Terminal) Spinner() Spinner
- func (t *Terminal) Try() Tryer
- func (t *Terminal) WaitForKeyPress(prompt string)
- type TerminalContext
- type Tryer
Constants ΒΆ
This section is empty.
Variables ΒΆ
View Source
var (
Debug bool
)
View Source
var (
// Version is the version of the CLI tool
Version = "1.2.0"
)
Functions ΒΆ
func ArtifactDownloadCommand ΒΆ added in v1.1.0
func ArtifactDownloadCommand(ctx ArtifactDownloadCommandContext) error
func BrowseCommand ΒΆ
func BrowseCommand(ctx BrowseCommandContext) error
func BuildCreateCommand ΒΆ
func BuildCreateCommand(ctx BuildCreateCommandContext) error
func ConfigureBuildkiteGraphQLCommand ΒΆ
func ConfigureBuildkiteGraphQLCommand(ctx ConfigureCommandContext) error
func ConfigureDefaultCommand ΒΆ
func ConfigureDefaultCommand(ctx ConfigureCommandContext) error
func ConfigureGithubCommand ΒΆ
func ConfigureGithubCommand(ctx ConfigureCommandContext) error
func InitCommand ΒΆ
func InitCommand(ctx InitCommandContext) error
func LocalRunCommand ΒΆ
func LocalRunCommand(ctx LocalRunCommandContext) error
func PipelineListCommand ΒΆ
func PipelineListCommand(ctx PipelineListCommandContext) error
func VersionString ΒΆ
func VersionString() string
Types ΒΆ
type ArtifactDownloadCommandContext ΒΆ added in v1.1.0
type ArtifactDownloadCommandContext struct { TerminalContext KeyringContext Debug bool DebugHTTP bool Build string Job string Pattern string }
type BrowseCommandContext ΒΆ
type BrowseCommandContext struct { TerminalContext KeyringContext Debug bool DebugHTTP bool Dir string Branch string }
type ConfigureCommandContext ΒΆ
type ConfigureCommandContext struct { TerminalContext KeyringContext Debug bool DebugGraphQL bool }
type ExitError ΒΆ
type ExitError struct {
// contains filtered or unexported fields
}
func NewExitError ΒΆ
func NewExitErrorString ΒΆ
type InitCommandContext ΒΆ
type InitCommandContext struct { TerminalContext KeyringContext Debug bool DebugHTTP bool Dir string PipelineSlug string }
type KeyringContext ΒΆ
func (KeyringContext) BuildkiteGraphQLClient ΒΆ
func (kc KeyringContext) BuildkiteGraphQLClient() (*graphql.Client, error)
func (KeyringContext) GithubClient ΒΆ
func (kc KeyringContext) GithubClient() (*githubclient.Client, error)
type LocalRunCommandContext ΒΆ
type PipelineListCommandContext ΒΆ
type PipelineListCommandContext struct { TerminalContext KeyringContext Debug bool DebugHTTP bool Fuzzy string Limit int ShowURL bool }
type TerminalContext ΒΆ
Source Files ΒΆ
Click to show internal directories.
Click to hide internal directories.