GoogleCloudRunV2Container class
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 can be supplied by the system to the container at runtime.
Constructors
-
GoogleCloudRunV2Container({List<
String> ? args, List<String> ? command, List<String> ? dependsOn, List<GoogleCloudRunV2EnvVar> ? env, String? image, GoogleCloudRunV2Probe? livenessProbe, String? name, List<GoogleCloudRunV2ContainerPort> ? ports, GoogleCloudRunV2ResourceRequirements? resources, GoogleCloudRunV2Probe? startupProbe, List<GoogleCloudRunV2VolumeMount> ? volumeMounts, String? workingDir}) - GoogleCloudRunV2Container.fromJson(Map json_)
Properties
-
args
↔ List<
String> ? -
Arguments to the entrypoint.
getter/setter pair
-
command
↔ List<
String> ? -
Entrypoint array.
getter/setter pair
-
dependsOn
↔ List<
String> ? -
Names of the containers that must start before this container.
getter/setter pair
-
env
↔ List<
GoogleCloudRunV2EnvVar> ? -
List of environment variables to set in the container.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ String?
-
Name of the container image in Dockerhub, Google Artifact Registry, or
Google Container Registry.
getter/setter pair
- livenessProbe ↔ GoogleCloudRunV2Probe?
-
Periodic probe of container liveness.
getter/setter pair
- name ↔ String?
-
Name of the container specified as a DNS_LABEL (RFC 1123).
getter/setter pair
-
ports
↔ List<
GoogleCloudRunV2ContainerPort> ? -
List of ports to expose from the container.
getter/setter pair
- resources ↔ GoogleCloudRunV2ResourceRequirements?
-
Compute Resource requirements by this container.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startupProbe ↔ GoogleCloudRunV2Probe?
-
Startup probe of application within the container.
getter/setter pair
-
volumeMounts
↔ List<
GoogleCloudRunV2VolumeMount> ? -
Volume to mount into the container's filesystem.
getter/setter pair
- workingDir ↔ String?
-
Container's working directory.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited