View Source GoogleApi.Batch.V1.Model.AgentContainer (google_api_batch v0.5.0)

Container runnable representation on the agent side.

Attributes

  • commands (type: list(String.t), default: nil) - Overrides the CMD specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
  • entrypoint (type: String.t, default: nil) - Overrides the ENTRYPOINT specified in the container.
  • imageUri (type: String.t, default: nil) - The URI to pull the container image from.
  • options (type: String.t, default: nil) - Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
  • volumes (type: list(String.t), default: nil) - Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.AgentContainer{
  commands: [String.t()] | nil,
  entrypoint: String.t() | nil,
  imageUri: String.t() | nil,
  options: String.t() | nil,
  volumes: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.