Documentation
¶
Overview ¶
Package jobrunner runs one claimed Job using the same executor and reporter as the long-lived Self-hosted runner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capabilities ¶ added in v0.81.0
func Capabilities() []string
Capabilities lists what this runner build supports. A caller that claims a job itself, such as the CLI's ephemeral run, declares them on its claim so the control plane can refuse a job this build cannot run safely.
Types ¶
type Job ¶
type Job struct {
JobID uuid.UUID `json:"job_id"`
ExecutionID uuid.UUID `json:"execution_id"`
FlowID uuid.UUID `json:"flow_id"`
LeaseExpiresAt time.Time `json:"lease_expires_at"`
FlowDefinition json.RawMessage `json:"flow_definition"`
Inputs map[string]any `json:"inputs"`
SecretInputKeys []string `json:"secret_input_keys,omitempty"`
ReferencedFlows flow.ReferencedFlowRegistry `json:"referenced_flows,omitempty"`
// MaxHTTPCallsPerExecution is the HTTP call limit; zero records without one.
MaxHTTPCallsPerExecution int `json:"max_http_calls_per_execution,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.