Module Values.ContainerStateChangeSource

An object that represents a change in state for a container.

Sourcetype nonrec t = {
  1. containerName : String_.t option;
    (*

    The name of the container.

    *)
  2. imageDigest : String_.t option;
    (*

    The container image SHA 256 digest.

    *)
  3. runtimeId : String_.t option;
    (*

    The ID of the Docker container.

    *)
  4. exitCode : BoxedInteger.t option;
    (*

    The exit code for the container, if the state change is a result of the container exiting.

    *)
  5. networkBindings : NetworkBindings.t option;
    (*

    Any network bindings that are associated with the container.

    *)
  6. reason : String_.t option;
    (*

    The reason for the state change.

    *)
  7. status : String_.t option;
    (*

    The status of the container.

    *)
}
Sourceval make : ?containerName:??? -> ?imageDigest:??? -> ?runtimeId:??? -> ?exitCode:??? -> ?networkBindings:??? -> ?reason:??? -> ?status:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of BoxedInteger.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of BoxedInteger.t | `String of String_.t ]) list ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t