Documentation
¶
Index ¶
Constants ¶
View Source
const ( COMPLETE = "complete" FAILED = "failed" ETA = 180 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Create ¶
func (c *Client) Create(deployment CreateDeployment) (*Deployment, error)
func (*Client) List ¶
func (c *Client) List() (*DeploymentsResponse, error)
type CreateDeployment ¶
type Deployment ¶
type DeploymentsResponse ¶
type DeploymentsResponse struct { Deployments []Deployment `json:"deployments"` Total int `json:"total"` }
type Job ¶
type Job struct { Id string `json:"id"` Files []string `json:"files"` CreditsUsed float32 `json:"credits_used"` Status string `json:"status"` Error string `json:"error"` DeploymentId string `json:"deployment_id"` Duration int64 `json:"duration"` Logs string `json:"logs"` Eta int64 `json:"eta"` Etr int64 `json:"etr"` }
Click to show internal directories.
Click to hide internal directories.