JobTemplateTemplateContainer class

Constructors

JobTemplateTemplateContainer({Input<List<String>?>? args, Input<List<String>?>? commands, Input<List<String>?>? dependsOns, Input<List<JobTemplateTemplateContainerEnv>?>? envs, required Input<String> image, Input<String?>? name, Input<List<JobTemplateTemplateContainerPort>?>? ports, Input<JobTemplateTemplateContainerResources?>? resources, Input<JobTemplateTemplateContainerStartupProbe?>? startupProbe, Input<List<JobTemplateTemplateContainerVolumeMount>?>? volumeMounts, Input<String?>? workingDir})
Creates a new JobTemplateTemplateContainer. args Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run. commands 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 dependsOns Names of the containers that must start before this container. envs List of environment variables to set in the container. image URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images name Name of the container specified as a DNS_LABEL. ports 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. resources Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources startupProbe Startup probe of application within the container. volumeMounts Volume to mount into the container's filesystem. workingDir Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
const
JobTemplateTemplateContainer.fromMap(Map<String, dynamic> map)
factory

Properties

args → Input<List<String>?>?
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
final
commands → Input<List<String>?>?
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
final
dependsOns → Input<List<String>?>?
Names of the containers that must start before this container.
final
envs → Input<List<JobTemplateTemplateContainerEnv>?>?
List of environment variables to set in the container. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Input<String>
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
final
name → Input<String?>?
Name of the container specified as a DNS_LABEL.
final
ports → Input<List<JobTemplateTemplateContainerPort>?>?
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 Structure is documented below.
final
resources → Input<JobTemplateTemplateContainerResources?>?
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startupProbe → Input<JobTemplateTemplateContainerStartupProbe?>?
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. Structure is documented below.
final
volumeMounts → Input<List<JobTemplateTemplateContainerVolumeMount>?>?
Volume to mount into the container's filesystem. Structure is documented below.
final
workingDir → Input<String?>?
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited