package builder

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val src : Logs.src
module Log : Logs.LOG
type data = (Fpath.t * string) list
val pp_data : Stdlib.Format.formatter -> (Fpath.t * string) list -> unit
type script_job = {
  1. name : string;
  2. 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
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. queue : job 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. | Client_hello of int
  2. | Server_hello of int
  3. | Job_requested
  4. | Job_schedule of Uuidm.t * script_job
  5. | Job_finished of Uuidm.t * execution_result * data
  6. | Output of Uuidm.t * string
  7. | Schedule of period * script_job
  8. | Unschedule of string
  9. | Info
  10. | Info_reply of info
  11. | Observe of Uuidm.t
  12. | Execute of string
  13. | Schedule_orb_build of period * orb_build_job
  14. | Reschedule of string * Ptime.t * period option
  15. | Client_hello2 of [ `Client | `Worker ] * int
  16. | Server_hello2
val cmds : int
val client_cmds : int
val worker_cmds : int
val version : string
val pp_cmd : Stdlib.Format.formatter -> cmd -> unit
type state_item =
  1. | Job of job
  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 ]) Rresult.result
val read_cmd : Unix.file_descr -> (cmd, [> `Msg of string ]) Rresult.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