package albatross

  1. Overview
  2. Docs

Module Vmm_unixSource

Sourceval openfile : string -> Unix.open_flag list -> int -> Unix.file_descr
Sourcetype supported =
  1. | FreeBSD
  2. | Linux
Sourceval sd_listen_fds : unit -> Unix.file_descr list option
Sourceval set_dbdir : Fpath.t -> unit
Sourceval check_commands : unit -> (unit, [> `Msg of string ]) result
Sourceval prepare : Vmm_core.Name.t -> Vmm_core.Unikernel.config -> ((string * string * Macaddr.t option) list * string, [> `Msg of string ]) result
Sourceval exec : Vmm_core.Name.t -> Vmm_core.Unikernel.config -> (string * string * Macaddr.t option) list -> (string * Vmm_core.Name.t * int option) list -> string -> (Vmm_core.Unikernel.t, [> `Msg of string ]) result
Sourceval free_system_resources : Vmm_core.Name.t -> string list -> (unit, [> `Msg of string ]) result
Sourceval destroy : Vmm_core.Unikernel.t -> unit
Sourceval bytes_of_mb : int -> (int, [> `Msg of string ]) result
Sourceval close_no_err : Unix.file_descr -> unit
Sourceval create_empty_block : Vmm_core.Name.t -> (unit, [> `Msg of string ]) result
Sourceval create_block : ?data:string -> Vmm_core.Name.t -> int -> (unit, [> `Msg of string ]) result
Sourceval truncate : Vmm_core.Name.t -> int -> (unit, [> `Msg of string ]) result
Sourceval destroy_block : Vmm_core.Name.t -> (unit, [> `Msg of string ]) result
Sourceval dump_block : Vmm_core.Name.t -> (string, [> `Msg of string ]) result
Sourceval dump_file_stream : Unix.file_descr -> int -> string Lwt_stream.bounded_push -> Fpath.t -> (unit, [> `Msg of string ]) result Lwt.t
Sourceval open_block_fd : Vmm_core.Name.t -> (Unix.file_descr * int * Fpath.t, [> `Msg of string ]) result
Sourceval stream_to_block : size:int -> byte_size:int -> [ `Data of string | `Malformed of string ] Lwt_stream.t -> Vmm_core.Name.t -> (unit, [> `Msg of string ]) result Lwt.t
Sourceval stream_to_fd : ?byte_size:int -> Lwt_unix.file_descr -> [ `Data of string | `Malformed of string ] Lwt_stream.t -> Fpath.t -> (unit, [> `Msg of string ]) result Lwt.t
Sourceval find_block_devices : unit -> ((Vmm_core.Name.t * int) list, [> `Msg of string ]) result
Sourceval dump : ?name:string -> string -> (unit, [> `Msg of string ]) result
Sourceval restore : ?name:string -> unit -> (string, [> `Msg of string | `NoFile ]) result
Sourceval backup : ?name:string -> string -> (unit, [> `Msg of string | `NoFile ]) result
Sourceval unikernel_device : Vmm_core.Unikernel.t -> (string, [> `Msg of string ]) result
Sourceval manifest_devices_match : bridges:(string * string option * Macaddr.t option) list -> block_devices:(string * string option * int option) list -> string -> (unit, [> `Msg of string ]) result
Sourceval root_policy : unit -> (Vmm_core.Policy.t, [> `Msg of string ]) result
OCaml

Innovation. Community. Security.