MCPcopy
hub / github.com/grafana/tempo / GetJobForWorker

Method GetJobForWorker

modules/backendscheduler/work/interface.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, workerID string)

Source from the content-addressed store, hash-verified

20 // Job queries
21 ListJobs() []*Job
22 GetJobForWorker(ctx context.Context, workerID string) *Job
23
24 // Pending job management (e.g. redaction queue)
25 AddPendingJobs(jobs []*Job) error

Callers 3

NextMethod · 0.65
TestGetJobForWorkerFunction · 0.65
TestEdgeCasesFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestGetJobForWorkerFunction · 0.52
TestEdgeCasesFunction · 0.52