Documentation ¶
Index ¶
- type CancelRequest
- type CancelResponse
- type EventFilterOptions
- type EventsRequest
- type EventsResponse
- type ListRequest
- type ListResponse
- type LogRequest
- type ResultsRequest
- type ResultsResponse
- type StateRequest
- type StateResponse
- type SubmitRequest
- type SubmitResponse
- type VersionRequest
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelRequest ¶
type CancelRequest = signatures.SignedRequest[model.JobCancelPayload]
type CancelResponse ¶
type EventFilterOptions ¶
type EventFilterOptions = jobstore.JobHistoryFilterOptions
type EventsRequest ¶
type EventsRequest struct { ClientID string `json:"client_id" example:"ac13188e93c97a9c2e7cf8e86c7313156a73436036f30da1ececc2ce79f9ea51"` JobID string `json:"job_id" example:"9304c616-291f-41ad-b862-54e133c0149e"` Options EventFilterOptions `json:"filters"` // Records the number of seconds since the unix epoch (UTC) }
type EventsResponse ¶
type EventsResponse struct {
Events []model.JobHistory `json:"events"`
}
type ListRequest ¶
type ListRequest struct { JobID string `json:"id" example:"9304c616-291f-41ad-b862-54e133c0149e"` ClientID string `json:"client_id" example:"ac13188e93c97a9c2e7cf8e86c7313156a73436036f30da1ececc2ce79f9ea51"` IncludeTags []string `json:"include_tags" example:"['any-tag']"` ExcludeTags []string `json:"exclude_tags" example:"['any-tag']"` MaxJobs uint32 `json:"max_jobs" example:"10"` ReturnAll bool `json:"return_all" ` SortBy string `json:"sort_by" example:"created_at"` SortReverse bool `json:"sort_reverse"` }
type ListResponse ¶
type ListResponse struct {
Jobs []*model.JobWithInfo `json:"jobs"`
}
type LogRequest ¶
type LogRequest = signatures.SignedRequest[model.LogsPayload]
type ResultsRequest ¶
type ResultsResponse ¶
type ResultsResponse struct {
Results []model.PublishedResult `json:"results"`
}
type StateRequest ¶
type StateResponse ¶
type SubmitRequest ¶
type SubmitRequest = signatures.SignedRequest[model.JobCreatePayload]
type SubmitResponse ¶
type VersionRequest ¶
type VersionRequest struct {
ClientID string `json:"client_id" example:"ac13188e93c97a9c2e7cf8e86c7313156a73436036f30da1ececc2ce79f9ea51"`
}
type VersionResponse ¶
type VersionResponse struct {
VersionInfo *models.BuildVersionInfo `json:"build_version_info"`
}
Click to show internal directories.
Click to hide internal directories.