WorkerPoolTemplateContainer constructor

const WorkerPoolTemplateContainer({
  1. Input<List<String>?>? args,
  2. Input<List<String>?>? commands,
  3. Input<List<String>?>? dependsOns,
  4. Input<List<WorkerPoolTemplateContainerEnv>?>? envs,
  5. required Input<String> image,
  6. Input<WorkerPoolTemplateContainerLivenessProbe?>? livenessProbe,
  7. Input<String?>? name,
  8. Input<WorkerPoolTemplateContainerResources?>? resources,
  9. Input<WorkerPoolTemplateContainerStartupProbe?>? startupProbe,
  10. Input<List<WorkerPoolTemplateContainerVolumeMount>?>? volumeMounts,
  11. Input<String?>? workingDir,
})

Creates a new WorkerPoolTemplateContainer. 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 livenessProbe Periodic probe of container liveness. Container will be restarted if the probe fails. name Name of the container specified as a DNS_LABEL. 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. 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. 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.

Implementation

const WorkerPoolTemplateContainer({
  this.args,
  this.commands,
  this.dependsOns,
  this.envs,
  required this.image,
  this.livenessProbe,
  this.name,
  this.resources,
  this.startupProbe,
  this.volumeMounts,
  this.workingDir,
});