Skip to main content

Module commands

Module commands 

Source
Expand description

Commands: actions a person asks for (UI, CLI, API), written by the webserver as command rows and applied by the master, which stays the only writer of scheduling state (see archive/PROJECT.md, Web UI and CLI: how the webserver gets state).

Structs§

BackfillRequest
A backfill asked for: a backfill run per fire time from from to to (now if not given) with no successful, queued or running run, or every one with all; with dry_run, only counted.
ConnectionJobResult
One root’s job: the worker it went to and, once it answered, each connection’s report.
ConnectionReport
What a worker found about one connection: never a value.
ConnectionsResult
The result of a connections command, as stored with it: one job per root, filled in as the workers answer.
SecretReport
A secret a connection names, as the worker found it.

Enums§

AskedEvent
The event a manual run of an event-triggered DAG brings. It is never stored as an event: a key given here would make the real event a repeat later.
Command
An action asked for by a person.
CommandStatus
Where a command stands.
JobState
Where a connections job stands.
SecretState
What a storage said of a secret.

Constants§

CONNECTION_ANSWER_MARGIN_MS
How long past its time the master waits for a connections job’s answer before calling it lost (a test’s process being stopped, the answer on its way).
CONNECTION_CHECK_TIMEOUT_MS
How long a worker gives a connections check (its secrets read, each connection rendered), waiting for its turn included; a test is given its own timeout.
MAX_CONNECTION_TEST_MS
The longest a connection test may be given (--timeout): an hour.