Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type state = Rashell_Docker_t.state = {
state_error : string;
state_exit_code : int;
state_finished_at : string;
state_started_at : string;
state_pid : int;
state_running : bool;
state_restarting : bool;
state_paused : bool;
state_oomkilled : bool;
}
type config = Rashell_Docker_t.config = {
config_attach_stderr : bool;
config_attach_stdout : bool;
config_attach_stdin : bool;
config_cmd : string list option;
config_domainname : string;
config_entrypoint : string Ag_util.ocaml_array option;
config_env : string Ag_util.ocaml_array option;
config_hostname : string;
config_image : string;
config_working_dir : string;
}
type image = Rashell_Docker_t.image = {
image_config : config option;
image_id : string;
image_comment : string;
image_created : string;
image_parent : string option;
image_virtual_size : int;
image_size : int;
image_docker_version : string;
}
type images = Rashell_Docker_t.images
type container = Rashell_Docker_t.container = {
container_config : config;
container_id : string;
container_image : string;
container_name : string;
container_created : string;
container_args : string list;
container_path : string;
container_restart_count : int;
container_volumes : (string * string) list;
container_volumes_rw : (string * bool) list;
container_state : state;
}
type containers = Rashell_Docker_t.containers
val write_state : Bi_outbuf.t -> state -> unit
val string_of_state : ?len:int -> state -> string
val read_state : Yojson.Safe.lexer_state -> Lexing.lexbuf -> state
val state_of_string : string -> state
val write_config : Bi_outbuf.t -> config -> unit
val string_of_config : ?len:int -> config -> string
val read_config : Yojson.Safe.lexer_state -> Lexing.lexbuf -> config
val config_of_string : string -> config
val write_image : Bi_outbuf.t -> image -> unit
val string_of_image : ?len:int -> image -> string
val read_image : Yojson.Safe.lexer_state -> Lexing.lexbuf -> image
val image_of_string : string -> image
val write_images : Bi_outbuf.t -> images -> unit
val string_of_images : ?len:int -> images -> string
val read_images : Yojson.Safe.lexer_state -> Lexing.lexbuf -> images
val images_of_string : string -> images
val write_container : Bi_outbuf.t -> container -> unit
val string_of_container : ?len:int -> container -> string
val read_container : Yojson.Safe.lexer_state -> Lexing.lexbuf -> container
val container_of_string : string -> container
val write_containers : Bi_outbuf.t -> containers -> unit
val string_of_containers : ?len:int -> containers -> string
val read_containers : Yojson.Safe.lexer_state -> Lexing.lexbuf -> containers
val containers_of_string : string -> containers