package bistro

  1. Overview
  2. Docs
type insert =
  1. | Path of Bistro_internals.Workflow.path
  2. | Path_list of {
    1. elts : Bistro_internals.Workflow.path list;
    2. sep : string;
    3. quote : char option;
    }
  3. | String of string
val compare_insert : insert -> insert -> int
type t = {
  1. db : Db.t;
  2. allowed_containers : [ `Docker | `Singularity ] list;
  3. tmp_dir : string;
  4. dest : string;
  5. tmp : string;
  6. stdout : string;
  7. stderr : string;
  8. dep : Bistro_internals.Workflow.path -> string;
  9. file_dump : insert Bistro_internals.Template.t -> string;
  10. np : int;
  11. mem : int;
  12. uid : int;
}
val make : db:Db.t -> allowed_containers:[ `Docker | `Singularity ] list -> np:int -> mem:int -> id:string -> t
type container_mount = {
  1. mount_host_location : string;
  2. mount_container_location : string;
  3. file_container_location : string;
}
val dockerize : t -> t
val container_cache_dir : string
val allows_docker : t -> bool
val singularize : t -> t
val choose_container : [ `Docker | `Singularity ] list -> Bistro_internals.Workflow.container_image list -> [ `Docker_container of Bistro_internals.Workflow.Docker_image.t | `Singularity_container of Bistro_internals.Workflow.container_image ] option
OCaml

Innovation. Community. Security.