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 : Outcome.t;
    4. cmd : string;
    5. file_dumps : Shell_command.file_dump list;
    6. cache : string option;
    7. stdout : string;
    8. stderr : string;
    }
  4. | Plugin of {
    1. id : string;
    2. descr : string;
    3. outcome : Outcome.t;
    }
  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