Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Depot ¶
type Depot struct { BaseURL string // contains filtered or unexported fields }
func NewDepotFromEnv ¶
func (*Depot) AuthorizeDevice ¶
func (d *Depot) AuthorizeDevice() (*TokenResponse, error)
func (*Depot) FinishBuild ¶
type InitResponse ¶
type TokenErrorResponse ¶
type TokenErrorResponse struct {
Error string `json:"error"`
}
type TokenRequest ¶
type TokenRequest struct {
RequestID string `json:"requestID"`
}
type TokenResponse ¶
type TokenResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.