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, [> `Msg of string ]) result
val prepare : Vmm_core.Name.t -> Vmm_core.Unikernel.config -> ((string * string) list * Cstruct.t, [> `Msg of string ]) result
val exec : Vmm_core.Name.t -> Vmm_core.Unikernel.config -> (string * string) list -> (string * Vmm_core.Name.t) list -> Cstruct.t -> (Vmm_core.Unikernel.t, [> `Msg of string ]) result
val free_system_resources : Vmm_core.Name.t -> string list -> (unit, [> `Msg of string ]) result
val destroy : Vmm_core.Unikernel.t -> unit
val bytes_of_mb : int -> (int, [> `Msg of string ]) result
val close_no_err : Unix.file_descr -> unit
val create_block : ?data:Cstruct.t -> Vmm_core.Name.t -> int -> (unit, [> `Msg of string ]) result
val destroy_block : Vmm_core.Name.t -> (unit, [> `Msg of string ]) result
val dump_block : Vmm_core.Name.t -> (Cstruct.t, [> `Msg of string ]) result
val find_block_devices : unit -> ((Vmm_core.Name.t * int) list, [> `Msg of string ]) result
val dump : ?name:string -> Cstruct.t -> (unit, [> `Msg of string ]) result
val restore : ?name:string -> unit -> (Cstruct.t, [> `Msg of string | `NoFile ]) result
val vm_device : Vmm_core.Unikernel.t -> (string, [> `Msg of string ]) result
val manifest_devices_match : bridges:(string * string option) list -> block_devices:(string * string option) list -> Cstruct.t -> (unit, [> `Msg of string ]) result
OCaml

Innovation. Community. Security.