package albatross

  1. Overview
  2. Docs
val process : string -> Metrics.field
val init_influx : string -> (Ipaddr.V4.t * int) option -> unit
type exit_status =
  1. | Success
  2. | Local_authentication_failed
  3. | Remote_authentication_failed
  4. | Communication_failed
  5. | Connect_failed
  6. | Remote_command_failed
  7. | Cli_failed
  8. | Internal_error
  9. | Http_error
val output_result : (Vmm_commands.header * Vmm_commands.res) -> (unit, exit_status) result
val create_vm : bool -> string -> int -> int -> string list -> (string * string option) list -> (string * string option) list -> int -> bool -> Vmm_core.IS.elt list -> ([> `Unikernel_create of Vmm_core.Unikernel.config | `Unikernel_force_create of Vmm_core.Unikernel.config ], [> Rresult.R.msg ]) result
val create_block : int -> int -> Cstruct.t option -> ([> `Block_add of int * bool * Cstruct.t option ], [> `Msg of string ]) result
val policy : int -> int -> Vmm_core.IS.elt list -> int option -> Vmm_core.String_set.elt list -> Vmm_core.Policy.t
val setup_log : unit Cmdliner.Term.t
val ip_port : (Ipaddr.V4.t * int) Cmdliner.Arg.converter
val influx : (Ipaddr.V4.t * int) option Cmdliner.Term.t
val host_port : (string * int) Cmdliner.Arg.converter
val vm_c : (string -> [> `Error of string | `Ok of Vmm_core.Name.t ]) * Vmm_core.Name.t Fmt.t
val bridge_tap_c : (string -> [> `Error of string | `Ok of string * string ]) * (Format.formatter -> (string * string) -> unit)
val bridge_taps : (string * string) list Cmdliner.Term.t
val pid_req1 : int Cmdliner.Term.t
val vmm_dev_req0 : string Cmdliner.Term.t
val uri_c : (string -> [> `Error of string | `Ok of string ]) * string Fmt.t
val http_host : string Cmdliner.Term.t
val compress_level : int -> int Cmdliner.Term.t
val force : bool Cmdliner.Term.t
val dryrun : bool Cmdliner.Term.t
val cpus : int list Cmdliner.Term.t
val vms : int Cmdliner.Term.t
val image : string Cmdliner.Term.t
val block_size : int Cmdliner.Term.t
val data_c : (string -> [> `Error of string | `Ok of Cstruct.t ]) * (Format.formatter -> Cstruct.t -> unit)
val block_data : Cstruct.t Cmdliner.Term.t
val opt_block_data : Cstruct.t option Cmdliner.Term.t
val opt_block_name : Vmm_core.Name.t Cmdliner.Term.t
val opt_block_size : int option Cmdliner.Term.t
val mem : int Cmdliner.Term.t
val bridge : string list Cmdliner.Term.t
val cpu : int Cmdliner.Term.t
val vm_mem : int Cmdliner.Term.t
val args : string list Cmdliner.Term.t
val colon_separated_c : (string -> [> `Error of string | `Ok of string * string option ]) * (Format.formatter -> (string * string option) -> unit)
val block : (string * string option) list Cmdliner.Term.t
val net : (string * string option) list Cmdliner.Term.t
val restart_on_fail : bool Cmdliner.Term.t
val exit_code : int list Cmdliner.Term.t
val timestamp_c : (string -> [> `Error of string | `Ok of Ptime.t ]) * (Format.formatter -> Ptime.t -> unit)
val since : Ptime.t option Cmdliner.Term.t
val count : int Cmdliner.Term.t
val since_count : 'a option -> 'b -> [> `Count of 'b | `Since of 'c ]
val version : string
val default_tmpdir : string
val tmpdir : string Cmdliner.Term.t
val set_tmpdir : string -> unit
val default_dbdir : string
val dbdir : string Cmdliner.Term.t
val set_dbdir : string -> unit
val enable_stats : bool Cmdliner.Term.t
val retry_connections : int Cmdliner.Term.t
val systemd_socket_activation : bool Cmdliner.Term.t
val pub_key_type : X509.Key_type.t Cmdliner.Term.t
val key_bits : int Cmdliner.Term.t
val exit_status : (unit, exit_status) result -> (exit_status, 'a) result
val http_failed : int
val local_authentication_failed : int
val remote_authentication_failed : int
val communication_failed : int
val connect_failed : int
val remote_command_failed : int
val exit_status_to_int : exit_status -> int
val exits : Cmdliner.Term.exit_info list
val auth_exits : Cmdliner.Term.exit_info list
OCaml

Innovation. Community. Security.