radicle_ci_broker

Module msg

Source
Expand description

Messages for communicating with the adapter.

The broker spawns an adapter child process, and sends it a request via the child’s stdin. The child sends responses via its stdout, which the broker reads and processes. These messages are represented using the types in this module.

The types in this module are meant to be useful for anyone writing a Radicle CI adapter.

Structs§

Enums§

  • Type of event.
  • All possible errors from the CI broker messages.
  • What action has happened to the patch?
  • A request message sent by the broker to its adapter child process.
  • A response message from the adapter child process to the broker.
  • The result of a CI run.

Type Aliases§

  • Public node & device identifier.