Job interface
Signature:
export interface Job
Properties
| Property | Type | Description |
|---|---|---|
string |
||
ManagerPB.AutoPlacement |
(Optional) |
|
string |
||
bigint |
||
string |
||
string[] |
(Optional) Extra security-group labels this job needs on whatever node it lands on; resolved to ids by the Manager at reconcile/provision time. Derived from the placement requirements at submit time — SDK callers should carry it through unchanged. Wire shape is |
|
string |
(Optional) Host/operator launch config for the product-template path — the JSON encoding of norsk-ctl’s ProductTemplateLaunchConfig. Daemon-owned and opaque to Manager (stored, forwarded to the worker, never interpreted here). Round-tripped by |
|
string |
(Optional) JSON configuration to be passed to the manager and stored with the job |
|
number[] |
(Optional) |
|
(Optional) Service parameters to be passed to the Norsk Media container when it is started |
||
(Optional) Product-template-shaped jobs (task 39). If set, the worker launches the product-template stack; if absent, the legacy services/volumes path is used. Manager is opaque to the content — |
||
Record<string, string> |
(Optional) Resolved env-var overrides for the product-template compose stack (defaults already layered with operator overrides at submit time). Wire shape is a |
|
Service[] |
Additional services to be run as part of the job |
|
string |
||
Date |
Date and time for when the job should be started |
|
string |
||
{ [key: string]: string; } |
Tags to associate with the job |
|
string |
(Optional) Template-author launch defaults (JSON), the second tier the worker fuses with |
|
{ failureReason: string; } |
(Optional) Durable terminal-failed verdict written back by AutoManager when it gives up on a job (restart ceiling exceeded / bronze drop). Present ⇒ the job has fully failed and must not be re-placed; absent ⇒ no terminal verdict. Survives a daemon restart (persisted by the Manager). |
|
string[] |
(Optional) |
|
(Optional) |