GetServiceTemplateSpecContainer class
Constructors
-
GetServiceTemplateSpecContainer({required Input<
List< args, required Input<String> >List< commands, required Input<String> >List< envFroms, required Input<GetServiceTemplateSpecContainerEnvFrom> >List< envs, required Input<GetServiceTemplateSpecContainerEnv> >String> image, required Input<List< livenessProbes, required Input<GetServiceTemplateSpecContainerLivenessProbe> >String> name, required Input<List< ports, required Input<GetServiceTemplateSpecContainerPort> >List< readinessProbes, required Input<GetServiceTemplateSpecContainerReadinessProbe> >List< resources, required Input<GetServiceTemplateSpecContainerResource> >bool> sandboxLauncher, required Input<List< startupProbes, required Input<GetServiceTemplateSpecContainerStartupProbe> >List< volumeMounts, required Input<GetServiceTemplateSpecContainerVolumeMount> >String> workingDir}) -
Creates a new GetServiceTemplateSpecContainer.
argsArguments to the entrypoint.commandsEntrypoint array. Not executed within a shell.envFromsList of sources to populate environment variables in the container.envsList of environment variables to set in the container.imageDocker image name. This is most often a reference to a container locatedlivenessProbesPeriodic probe of container liveness. Container will be restarted if the probe fails.nameName must be unique within a Google Cloud project and region.portsList of open ports in the container.readinessProbesPeriodic probe of container readiness.resourcesCompute Resources required by this container. Used to set values such as max memorysandboxLauncherIndicates that this container can act as a sandbox supervisor and launch sandboxes.startupProbesStartup probe of application within the container.volumeMountsVolume to mount into the container's filesystem.workingDirContainer's working directory.const -
GetServiceTemplateSpecContainer.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< GetServiceTemplateSpecContainerEnvFrom> > -
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.
final
-
envs
→ Input<
List< GetServiceTemplateSpecContainerEnv> > -
List of environment variables to set in the container.
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
-
livenessProbes
→ Input<
List< GetServiceTemplateSpecContainerLivenessProbe> > -
Periodic probe of container liveness. Container will be restarted if the probe fails.
final
-
name
→ Input<
String> -
Name must be unique within a Google Cloud project and region.
Is required when creating resources. Name is primarily intended
for creation idempotence and configuration definition. Cannot be updated.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
final
-
ports
→ Input<
List< GetServiceTemplateSpecContainerPort> > -
List of open ports in the container.
final
-
readinessProbes
→ Input<
List< GetServiceTemplateSpecContainerReadinessProbe> > -
Periodic probe of container readiness.
final
-
resources
→ Input<
List< GetServiceTemplateSpecContainerResource> > -
Compute Resources required by this container. Used to set values such as max memory
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
-
startupProbes
→ Input<
List< GetServiceTemplateSpecContainerStartupProbe> > -
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.
final
-
volumeMounts
→ Input<
List< GetServiceTemplateSpecContainerVolumeMount> > -
Volume to mount into the container's filesystem.
Only supports SecretVolumeSources.
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