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 ¶
func (*Depot) GetProjects ¶ added in v0.0.10
func (d *Depot) GetProjects() (*GetProjectsResponse, error)
func (*Depot) LatestRelease ¶ added in v0.0.9
func (d *Depot) LatestRelease() (*ReleaseResponse, error)
type ErrorResponse ¶ added in v0.0.7
type FinishResponse ¶ added in v0.0.8
type FinishResponse struct {
OK bool `json:"ok"`
}
type GetProjectsResponse ¶ added in v0.0.10
type InitResponse ¶
type ReleaseResponse ¶ added in v0.0.9
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.