legacymodels

package
v1.3.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelResponse

type CancelResponse struct {
	State *model.JobState `json:"state"`
}

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 ResultsRequest

type ResultsRequest struct {
	ClientID string `json:"client_id" example:"ac13188e93c97a9c2e7cf8e86c7313156a73436036f30da1ececc2ce79f9ea51"`
	JobID    string `json:"job_id" example:"9304c616-291f-41ad-b862-54e133c0149e"`
}

type ResultsResponse

type ResultsResponse struct {
	Results []model.PublishedResult `json:"results"`
}

type StateRequest

type StateRequest struct {
	ClientID string `json:"client_id" example:"ac13188e93c97a9c2e7cf8e86c7313156a73436036f30da1ececc2ce79f9ea51"`
	JobID    string `json:"job_id" example:"9304c616-291f-41ad-b862-54e133c0149e"`
}

type StateResponse

type StateResponse struct {
	State model.JobState `json:"state"`
}

type SubmitResponse

type SubmitResponse struct {
	Job *model.Job `json:"job"`
}

type VersionRequest

type VersionRequest struct {
	ClientID string `json:"client_id" example:"ac13188e93c97a9c2e7cf8e86c7313156a73436036f30da1ececc2ce79f9ea51"`
}

type VersionResponse

type VersionResponse struct {
	VersionInfo *models.BuildVersionInfo `json:"build_version_info"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL