Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for authing
func (*Client) RevokeToken ¶
func (c *Client) RevokeToken() (*TokenResponse, error)
RevokeToken of the client https://buildkite.com/docs/rest-api/access-token
func (*Client) TokenScopes ¶
func (c *Client) TokenScopes() (*TokenResponse, error)
TokenScopes of the client https://buildkite.com/docs/rest-api/access-token
type TokenResponse ¶
type TokenResponse struct { UUID string `json:"uuid,omitempty"` Scopes []string `json:"scopes,omitempty"` Message string `json:"message,omitempty"` }
TokenResponse from API
Click to show internal directories.
Click to hide internal directories.