ContainerSpec class final

The spec of a Container.

Constructors

ContainerSpec({required String imageUri, List<String> command = const [], List<String> args = const [], List<EnvVar> env = const []})
ContainerSpec.fromJson(Object? j)
factory

Properties

args → List<String>
The arguments to be passed when starting the container.
final
command → List<String>
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
final
env → List<EnvVar>
Environment variables to be passed to the container. Maximum limit is 100.
final
hashCode → int
The hash code for this object.
no setterinherited
imageUri → String
Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
final
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Object
toString() → String
A string representation of this object.
override

Operators

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

Constants

fullyQualifiedName → const String