Module Values.ContainerSource

Details of a container.

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

    The container runtime (such as, Docker or containerd) used to run the container.

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

    Container ID.

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

    Container name.

    *)
  4. image : String_.t option;
    (*

    Container image.

    *)
  5. imagePrefix : String_.t option;
    (*

    Part of the image name before the last slash. For example, imagePrefix for public.ecr.aws/amazonlinux/amazonlinux:latest would be public.ecr.aws/amazonlinux. If the image name is relative and does not have a slash, this field is empty.

    *)
  6. volumeMounts : VolumeMounts.t option;
    (*

    Container volume mounts.

    *)
  7. securityContext : SecurityContext.t option;
    (*

    Container security context.

    *)
}
Sourceval make : ?containerRuntime:??? -> ?id:??? -> ?name:??? -> ?image:??? -> ?imagePrefix:??? -> ?volumeMounts:??? -> ?securityContext:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t ]) list ]) 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