ServiceTemplateSpecContainer class

Constructors

ServiceTemplateSpecContainer({Input<List<String>?>? args, Input<List<String>?>? commands, Input<List<ServiceTemplateSpecContainerEnvFrom>?>? envFroms, Input<List<ServiceTemplateSpecContainerEnv>?>? envs, required Input<String> image, Input<ServiceTemplateSpecContainerLivenessProbe?>? livenessProbe, Input<String?>? name, Input<List<ServiceTemplateSpecContainerPort>?>? ports, Input<ServiceTemplateSpecContainerReadinessProbe?>? readinessProbe, Input<ServiceTemplateSpecContainerResources?>? resources, Input<bool?>? sandboxLauncher, Input<ServiceTemplateSpecContainerStartupProbe?>? startupProbe, Input<List<ServiceTemplateSpecContainerVolumeMount>?>? volumeMounts, Input<String?>? workingDir})
Creates a new ServiceTemplateSpecContainer. args Arguments to the entrypoint. commands Entrypoint array. Not executed within a shell. envFroms (Optional, Deprecated) envs List of environment variables to set in the container. image Docker image name. This is most often a reference to a container located livenessProbe Periodic probe of container liveness. Container will be restarted if the probe fails. More info: name Name of the container ports List of open ports in the container. readinessProbe Periodic probe of container readiness. resources Compute Resources required by this container. Used to set values such as max memory sandboxLauncher Indicates that this container can act as a sandbox supervisor and launch sandboxes. startupProbe Startup probe of application within the container. volumeMounts Volume to mount into the container's filesystem. workingDir (Optional, Deprecated)
const
ServiceTemplateSpecContainer.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.
final
commands → Input<List<String>?>?
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
final
envFroms → Input<List<ServiceTemplateSpecContainerEnvFrom>?>?
(Optional, Deprecated) List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Structure is documented below.
final
envs → Input<List<ServiceTemplateSpecContainerEnv>?>?
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>
Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
final
livenessProbe → Input<ServiceTemplateSpecContainerLivenessProbe?>?
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.
final
name → Input<String?>?
Name of the container
final
ports → Input<List<ServiceTemplateSpecContainerPort>?>?
List of open ports in the container. Structure is documented below.
final
readinessProbe → Input<ServiceTemplateSpecContainerReadinessProbe?>?
Periodic probe of container readiness. Structure is documented below.
final
resources → Input<ServiceTemplateSpecContainerResources?>?
Compute Resources required by this container. Used to set values such as max memory Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sandboxLauncher → Input<bool?>?
Indicates that this container can act as a sandbox supervisor and launch sandboxes.
final
startupProbe → Input<ServiceTemplateSpecContainerStartupProbe?>?
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<ServiceTemplateSpecContainerVolumeMount>?>?
Volume to mount into the container's filesystem. Only supports SecretVolumeSources. Structure is documented below.
final
workingDir → Input<String?>?
(Optional, Deprecated) 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