package bistro

  1. Overview
  2. Docs
type t =
  1. | Input of {
    1. id : string;
    2. path : string;
    3. pass : bool;
    }
  2. | Select of {
    1. id : string;
    2. dir_path : string;
    3. sel : string list;
    4. pass : bool;
    }
  3. | Shell of {
    1. id : string;
    2. descr : string;
    3. outcome : [ `Succeeded | `Missing_output | `Failed ];
    4. exit_code : int;
    5. cmd : string;
    6. file_dumps : Shell_command.file_dump list;
    7. cache : string option;
    8. stdout : string;
    9. stderr : string;
    }
  4. | Plugin of {
    1. id : string;
    2. descr : string;
    3. outcome : [ `Succeeded | `Missing_output | `Failed ];
    4. msg : string option;
    }
  5. | Container_image_fetch of {
    1. id : string;
    2. outcome : (unit, [ `Singularity_failed_pull of int * string ]) result;
    }
val id : t -> string
val name : t -> string
val succeeded : t -> bool
val error_short_descr : t -> string
  • raises [Invalid_argument]

    is succeeded r

val error_long_descr : t -> Db.t -> Buffer.t -> string -> unit
OCaml

Innovation. Community. Security.