package albatross

  1. Overview
  2. Docs
type supported =
  1. | FreeBSD
  2. | Linux
val uname : supported Lazy.t
val sd_listen_fds : unit -> Unix.file_descr list option
val set_dbdir : Fpath.t -> unit
val check_commands : unit -> (unit, [> Rresult.R.msg ]) Rresult.result
val prepare : Vmm_core.Name.t -> Vmm_core.Unikernel.config -> ((string * string) list, [> Rresult.R.msg ]) Rresult.result
val exec : Vmm_core.Name.t -> Vmm_core.Unikernel.config -> (string * string) list -> (string * Vmm_core.Name.t) list -> (Vmm_core.Unikernel.t, [> Rresult.R.msg ]) Rresult.result
val free_system_resources : Vmm_core.Name.t -> string list -> (unit, [> Rresult.R.msg ]) Rresult.result
val destroy : Vmm_core.Unikernel.t -> unit
val close_no_err : Unix.file_descr -> unit
val create_block : Vmm_core.Name.t -> int -> (unit, [> Rresult.R.msg ]) Rresult.result
val destroy_block : Vmm_core.Name.t -> (unit, [> Rresult.R.msg ]) Rresult.result
val find_block_devices : unit -> ((Vmm_core.Name.t * int) list, [> Rresult.R.msg ]) Rresult.result
val dump : ?name:string -> Cstruct.t -> (unit, [> Rresult.R.msg ]) Rresult.result
val restore : ?name:string -> unit -> (Cstruct.t, [> Rresult.R.msg | `NoFile ]) Rresult.result
val vm_device : Vmm_core.Unikernel.t -> (string, [> Rresult.R.msg ]) Rresult.result
val manifest_devices_match : bridges:(string * string option) list -> block_devices:string list -> Fpath.t -> (unit, [> Rresult.R.msg ]) Rresult.result
OCaml

Innovation. Community. Security.