View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2Container (quiqup_google_api_run v0.28.0)
A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime.
attributes
Attributes
-
args(type:list(String.t), default:nil) - Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -
command(type:list(String.t), default:nil) - Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -
env(type:list(GoogleApi.Run.V2.Model.GoogleCloudRunV2EnvVar.t), default:nil) - List of environment variables to set in the container. -
image(type:String.t, default:nil) - Required. URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images -
name(type:String.t, default:nil) - Name of the container specified as a DNS_LABEL. -
ports(type:list(GoogleApi.Run.V2.Model.GoogleCloudRunV2ContainerPort.t), default:nil) - List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on. -
resources(type:GoogleApi.Run.V2.Model.GoogleCloudRunV2ResourceRequirements.t, default:nil) - Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources -
volumeMounts(type:list(GoogleApi.Run.V2.Model.GoogleCloudRunV2VolumeMount.t), default:nil) - Volume to mount into the container's filesystem.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2Container{ args: [String.t()] | nil, command: [String.t()] | nil, env: [GoogleApi.Run.V2.Model.GoogleCloudRunV2EnvVar.t()] | nil, image: String.t() | nil, name: String.t() | nil, ports: [GoogleApi.Run.V2.Model.GoogleCloudRunV2ContainerPort.t()] | nil, resources: GoogleApi.Run.V2.Model.GoogleCloudRunV2ResourceRequirements.t() | nil, volumeMounts: [GoogleApi.Run.V2.Model.GoogleCloudRunV2VolumeMount.t()] | nil }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.