package ocluster-api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type push = {
  1. target : Image_id.t;
  2. auth : (string * string) option;
}
type options = {
  1. build_args : string list;
    (*

    "--build-arg" arguments.

    *)
  2. squash : bool;
  3. buildkit : bool;
  4. include_git : bool;
}
val options_to_yojson : options -> Yojson.Safe.t
type t = {
  1. dockerfile : [ `Contents of string | `Path of string ];
  2. options : options;
  3. push_to : push option;
    (*

    Where to upload the resulting image.

    *)
}
val defaults : options
val init : Raw.Builder.DockerBuild.t -> t -> unit

init builder t initialises a fresh builder with the values from t.

read reader reads from a Cap'n Proto buffer (as initialised using init).