Skip to main content

Module drone_payload

Module drone_payload 

Source
Expand description

getdronepayloadschema: what a drone can read of what starts it, for the canvas (Drone real-world jobs spec ยง3.6). One answer per job that runs the drone, and what a hand run has.

Structsยง

JobPayload
One job that runs the drone, and the fields its trigger gives a run.
PayloadSchemaReq
What getdronepayloadschema is asked.
PayloadSchemaResp
The answer: one entry per job, and what a run started by hand (or by an agent) has.

Functionsยง

get_payload_schema ๐Ÿ”’
getdronepayloadschema. The jobs are read where they live (the shared store, server::cron::jobs_store), not in the per-channel store, which has no jobs table of its own.
job_payload ๐Ÿ”’
source_of ๐Ÿ”’
The event source of jobโ€™s trigger, or None for a timer.