package builder

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val src : Logs.src
module Log : Logs.LOG
val let* : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
type data = (Fpath.t * string) list
val pp_data : Stdlib.Format.formatter -> (Fpath.t * string) list -> unit
type script_job = {
  1. name : string;
  2. platform : string;
  3. script : string;
}
val pp_script_job : Stdlib.Format.formatter -> script_job -> unit
type orb_build_job = {
  1. name : string;
  2. opam_package : string;
}
val pp_orb_build_job : Stdlib.Format.formatter -> orb_build_job -> unit
type execution_result =
  1. | Exited of int
  2. | Signalled of int
  3. | Stopped of int
  4. | Msg of string
val pp_execution_result : Stdlib.Format.formatter -> execution_result -> unit
type period =
  1. | Hourly
  2. | Daily
  3. | Weekly
val pp_period : Stdlib.Format.formatter -> period -> unit
type job =
  1. | Script_job of script_job
  2. | Orb_build_job of orb_build_job
val pp_job : Stdlib.Format.formatter -> job -> unit
val job_name : job -> string
val job_equal : job -> job -> bool
val job_platform : job -> string option
type schedule_item = {
  1. next : Ptime.t;
  2. period : period;
  3. job : job;
}
val pp_schedule_item : Stdlib.Format.formatter -> schedule_item -> unit
type info = {
  1. schedule : schedule_item list;
  2. queues : (string * job list) list;
  3. running : (Ptime.t * Uuidm.t * script_job) list;
}
val triple : sep:unit Fmt.t -> 'a Fmt.t -> 'b Fmt.t -> 'c Fmt.t -> Stdlib.Format.formatter -> ('d * 'e * 'f) -> unit
val pp_info : Stdlib.Format.formatter -> info -> unit
type cmd =
  1. | Job_requested of string
  2. | Job_schedule of Uuidm.t * script_job
  3. | Job_finished of Uuidm.t * execution_result * data
  4. | Output of Uuidm.t * string
  5. | Output_timestamped of Uuidm.t * int64 * string
  6. | Schedule of period * script_job
  7. | Unschedule of string
  8. | Info
  9. | Info_reply of info
  10. | Observe of Uuidm.t
  11. | Execute of string * string option
  12. | Schedule_orb_build of period * orb_build_job
  13. | Reschedule of string * Ptime.t * period option
  14. | Drop_platform of string
  15. | Client_hello of [ `Client | `Worker ] * int
  16. | Server_hello
  17. | Success
  18. | Failure of string
val client_version : int
val worker_version : int
val version : string
val pp_cmd : Stdlib.Format.formatter -> cmd -> unit
type state_item =
  1. | Queue of string * job list
  2. | Schedule of schedule_item
val pp_state_item : Stdlib.Format.formatter -> state_item -> unit
type state = state_item list
val pp_state : state_item list Fmt.t
module Asn : sig ... end
val ign_intr : ('a -> 'b) -> 'c -> 'd
val read : Unix.file_descr -> (Cstruct.t, [> `Msg of string ]) Stdlib.result
val read_cmd : Unix.file_descr -> (cmd, [> `Msg of string ]) Stdlib.result
val write : Unix.file_descr -> Cstruct.t -> (unit, [> `Msg of string ]) Stdlib.result
val write_cmd : Unix.file_descr -> cmd -> (unit, [> `Msg of string ]) Stdlib.result