Skip to main content

Crate schedr_proto

Crate schedr_proto 

Source
Expand description

Protobuf definitions and gRPC code for the schedr master <-> worker agent protocol.

The messages are generated from proto/schedr/protocol/v1/master.proto into pb; this crate adds the protocol version check and the conversions to and from schedr-model.

Re-exports§

pub use convert::ConversionError;
pub use convert::RejectReaction;
pub use convert::reject_reaction;
pub use version::PROTOCOL_VERSION;
pub use version::VersionMismatch;
pub use version::check_worker_version;

Modules§

convert
Conversions between protocol enums and schedr-model, and the master’s reaction to each rejection reason.
pb
The generated messages and the Master service (client and server).
version
The protocol version and the master’s acceptance rule.