Documentation ¶
Index ¶
Constants ¶
View Source
const ( GlobalQueue = Queue("global") SchedulersQueue = Queue("schedulers") CDNsQueue = Queue("cdns") )
Queue Name
View Source
const (
DefaultResultsExpireIn = 86400
)
View Source
const (
PreheatJob = "preheat"
)
Job Name
Variables ¶
This section is empty.
Functions ¶
func MarshalRequest ¶
func MarshalRequest(v interface{}) ([]machineryv1tasks.Arg, error)
func UnmarshalRequest ¶
func UnmarshalResponse ¶
Types ¶
type GroupJobState ¶
type Job ¶
type Job struct { Server *machinery.Server Worker *machinery.Worker Queue Queue }
func (*Job) GetGroupJobState ¶
func (t *Job) GetGroupJobState(groupUUID string) (*GroupJobState, error)
func (*Job) RegisterJob ¶
type PreheatRequest ¶
type PreheatResponse ¶
type PreheatResponse struct { }
Click to show internal directories.
Click to hide internal directories.