Documentation
¶
Overview ¶
Package auth handles commands related to authentication via the CLI
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginWithToken ¶ added in v3.31.0
LoginWithToken stores a token for an organization in the system keychain. When the keychain is unavailable (e.g. BUILDKITE_NO_KEYRING=1 is set), it still registers the org and selects it in config so that commands resolve the org correctly; the caller is expected to supply the token via BUILDKITE_API_TOKEN.
Types ¶
type LoginCmd ¶
type LogoutCmd ¶
type StatusCmd ¶ added in v3.30.0
type StatusCmd struct {
output.OutputFlags
}
type StatusOutput ¶ added in v3.30.0
type StatusOutput struct {
OrganizationSlug string `json:"organization_slug"`
Token buildkite.AccessToken `json:"token"`
}
func (StatusOutput) TextOutput ¶ added in v3.30.0
func (w StatusOutput) TextOutput() string
Click to show internal directories.
Click to hide internal directories.