Documentation
¶
Overview ¶
Package models defines all models used within the application. It knows nothing about databases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileUpload ¶ added in v0.4.0
type FileUpload struct { ID uint `json:"id"` Filename string `json:"filename"` SHA256Sum string `json:"sha256sum"` UploadedAt time.Time `json:"uploaded_at"` Completed bool `json:"completed"` UploadID uint `json:"upload_id"` }
FileUpload is an individual file that was uploaded
type Job ¶
type Job struct { ID uint `json:"id"` Type JobType `json:"type"` Status JobStatus `json:"status"` UploadID uint `json:"upload_id"` }
Job is a builds a test, etc.
type JobStatus ¶
type JobStatus int
JobStatus is the status of the job
Click to show internal directories.
Click to hide internal directories.