package albatross

  1. Overview
  2. Docs
type 'a t
val init : unit -> '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
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 * 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.