Documentation
¶
Overview ¶
Package status implements `ytrack auth status`.
Index ¶
Constants ¶
View Source
const ( StateOK = "ok" // the host accepted the token StateRejected = "rejected" // HTTP 401, or 403 (token lacks the YouTrack scope) StateNoToken = "no_token" // no token in the environment or the store StateError = "error" // the check failed otherwise (network, server) )
States of a host's credentials, reported as the "state" field.
Variables ¶
View Source
var Fields = []string{"host", "url", "active", "login", "fullName", "token", "tokenSource", "storage", "state", "error"}
Fields lists the --json fields of auth status.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.