package albatross

  1. Overview
  2. Docs
type 'a t
val empty : 'a t
val init_block_devices : 'a t -> 'a t
val waiter : 'a t -> Vmm_core.Name.t -> 'a t * 'a option
val register : 'a t -> Vmm_core.Name.t -> (unit -> 'b * 'a) -> 'a t * 'b
val register_restart : 'a t -> Vmm_core.Name.t -> (unit -> 'b * 'a) -> ('a t * 'b) option
val may_restart : 'a t -> Vmm_core.Name.t -> 'a t * bool
type 'a create = Vmm_commands.wire * ('a t -> ('a t * Vmm_commands.wire * Vmm_commands.res * Vmm_core.Name.t * Vmm_core.Unikernel.t, [ `Msg of string ]) result) * (unit -> Vmm_commands.res)
val handle_shutdown : 'a t -> Vmm_core.Name.t -> Vmm_core.Unikernel.t -> [ `Exit of int | `Signal of int | `Stop of int ] -> 'a t * Vmm_commands.wire
val handle_create : 'a t -> Vmm_core.Name.t -> Vmm_core.Unikernel.config -> ('a t * 'a create, [> `Msg of string ]) result
val killall : 'a t -> (unit -> 'b * 'a) -> 'a t * 'b list
val restore_unikernels : unit -> (Vmm_core.Unikernel.config Vmm_trie.t, [> `Msg of string ]) result
val dump_unikernels : 'a t -> unit
OCaml

Innovation. Community. Security.