Expand description
Conversions between protocol enums and schedr-model, and the master’s reaction to each
rejection reason.
Structs§
- Parse
Upload - Collects an upload’s messages back into one parse result, as they arrive.
Enums§
- Conversion
Error - A protocol value that has no
schedr-modelequivalent. - Reject
Reaction - How the master reacts to a rejection (see archive/PROJECT.md, Task rejections). A rejection never uses up a retry.
Functions§
- attempt_
status_ from_ proto - The model status for a raw protocol value (as found in
Finished.status). - attempt_
status_ to_ proto - The protocol’s attempt status for a model status.
- cleanup_
result_ from_ proto - The model result for a raw protocol value (as found in
CleanupResult.status). - parse_
upload_ parts - A parse result as an upload’s messages: the header (without files), then each file in a message of its own (B35).
- parsed_
file_ from_ proto - A parsed file from its protocol form (without its warnings, which the protocol doesn’t carry).
- parsed_
file_ to_ proto - The protocol’s form of a parsed file: each DAG as DAG JSON bytes, each connection as its JSON.
- reject_
reaction - The master’s reaction to a raw
Rejected.reason. - run_
kind_ from_ proto - The run kind for a
RunInfo.kindname. - run_
kind_ to_ proto - The name a run kind travels as in
RunInfo.kind.