package current-albatross-deployer

  1. Overview
  2. Docs
module Unikernel : sig ... end
module Port : sig ... end
module Info : sig ... end
module Config : sig ... end
val get_ip : ?blacklist:Ipaddr.V4.t list -> prefix:Ipaddr.V4.Prefix.t -> Config.Pre.t Current.t -> Ipaddr.V4.t Current.t

Use the current-deployerd service to obtain an IP for the configuration.

module Deployed : sig ... end
val deploy_albatross : ?label:string -> Config.t Current.t -> Deployed.t Current.t

Deploy the configuration to albatross

val monitor : ?poll_rate:float -> Deployed.t Current.t -> Info.t Current.t
val is_running : Info.t Current.t -> unit Current.t
module Published : sig ... end
val publish : service:string -> ?ports:Port.t list -> Deployed.t Current.t -> Published.t Current.t

Publish a service, optionally exposing ports to the deployed unikernel

val collect : Published.t list Current.t -> unit Current.t

Garbage collect IPs and deployments managed by current-albatross-deployer and kill corresponding unikernels. Only specified deployments are kept.