Documentation ¶
Index ¶
Constants ¶
View Source
const FormatVersion = 1
Variables ¶
View Source
var ( BuildkiteGraphQLToken = CredentialType{"Buildkite GraphQL Token", "graphql-token"} GithubOAuthToken = CredentialType{"Github OAuth Token", "rest-token"} )
Functions ¶
func RetrieveCredential ¶
func RetrieveCredential(kr keyring.Keyring, t CredentialType, into interface{}) error
func StoreCredential ¶
func StoreCredential(kr keyring.Keyring, t CredentialType, value interface{}) error
Types ¶
type Config ¶
type Config struct { Path string `json:"-"` Version int `json:"version"` BuildkiteEmail string `json:"email"` BuildkiteUUID string `json:"uuid"` }
type CredentialType ¶
func ListCredentials ¶
func ListCredentials() []CredentialType
Click to show internal directories.
Click to hide internal directories.