package obuilder-spec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type copy = {
  1. src : string list;
  2. dst : string;
  3. exclude : string list;
}
val sexp_of_copy : copy -> Sexplib0.Sexp.t
val copy_of_sexp : Sexplib0.Sexp.t -> copy
type user = {
  1. uid : int;
  2. gid : int;
}
val sexp_of_user : user -> Sexplib0.Sexp.t
val user_of_sexp : Sexplib0.Sexp.t -> user
type run = {
  1. cache : Cache.t list;
  2. network : string list;
  3. shell : string;
}
val sexp_of_run : run -> Sexplib0.Sexp.t
val run_of_sexp : Sexplib0.Sexp.t -> run
type op = [
  1. | `Comment of string
  2. | `Workdir of string
  3. | `Shell of string list
  4. | `Run of run
  5. | `Copy of copy
  6. | `User of user
  7. | `Env of string * string
]
val sexp_of_op : op -> Sexplib0.Sexp.t
val op_of_sexp : Sexplib0.Sexp.t -> op
val __op_of_sexp__ : Sexplib0.Sexp.t -> op
type stage = {
  1. from : string;
  2. ops : op list;
}
val sexp_of_stage : stage -> Sexplib0.Sexp.t
val stage_of_sexp : Sexplib0.Sexp.t -> stage
val stage : from:string -> op list -> stage
val comment : ('a, unit, string, op) Stdlib.format4 -> 'a
val workdir : string -> op
val shell : string list -> op
val run : ?cache:Cache.t list -> ?network:string list -> ('a, unit, string, op) Stdlib.format4 -> 'a
val copy : ?exclude:string list -> string list -> dst:string -> op
val env : string -> string -> op
val user : uid:int -> gid:int -> op
val root : user
module Cache : sig ... end
module Docker : sig ... end