jobserver

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer() (http.Handler, error)

NewServer wires the job HTTP API. Routes:

POST /run                                    — runner-only synchronous (queue-less)
POST /queues/{queue}/jobs                    — submit
GET  /queues/{queue}/jobs                    — list
GET  /queues/{queue}/jobs/{jobId}            — status
GET  /queues/{queue}/jobs/{jobId}/watch      — SSE stream
POST /queues/{queue}/jobs/{jobId}/cancel     — cancel
GET  /queues/{queue}/jobs/{jobId}/artifacts                      — list artifacts
GET  /queues/{queue}/jobs/{jobId}/artifacts/{artifactId}         — artifact metadata
GET  /queues/{queue}/jobs/{jobId}/artifacts/{artifactId}/download — download

Types

This section is empty.

Jump to

Keyboard shortcuts

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