Crate brane_drv

Source
Expand description

The brane-drv crate implements the ‘user delegate’ in the central compute node. To be more precise, it takes user workflows and runs them, scheduling and orchestrating external function calls (tasks) where necessary.

Modules§

  • Implements helper functions for the check-request.
  • Contains errors used within the brane-drv package only.
  • Implements a small function that can be used as a “garbage collector” for brane-drv sessions.
  • Implements the command handler from the client.
  • Implements a planner for the instance use-case.
  • Defines (public) interfaces and structs for the brane-drv crate.
  • The InstanceVm provides the brane-exe plugin for communicating with an external planner and an external worker. Moreover, the client (i.e., the submitter of the workflow) is remote as well, complicating the stdout() function.