View Source GoogleApi.CloudBuild.V2.Model.Sidecar (google_api_cloud_build v0.50.1)

Sidecars run alongside the Task's step containers.

Attributes

  • args (type: list(String.t), default: nil) - Arguments to the entrypoint.
  • command (type: list(String.t), default: nil) - Entrypoint array.
  • env (type: list(GoogleApi.CloudBuild.V2.Model.EnvVar.t), default: nil) - List of environment variables to set in the container.
  • image (type: String.t, default: nil) - Docker image name.
  • name (type: String.t, default: nil) - Name of the Sidecar.
  • readinessProbe (type: GoogleApi.CloudBuild.V2.Model.Probe.t, default: nil) - Optional. Periodic probe of Sidecar service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
  • script (type: String.t, default: nil) - The contents of an executable file to execute.
  • securityContext (type: GoogleApi.CloudBuild.V2.Model.SecurityContext.t, default: nil) - Optional. Security options the container should be run with.
  • volumeMounts (type: list(GoogleApi.CloudBuild.V2.Model.VolumeMount.t), default: nil) - Pod volumes to mount into the container's filesystem.
  • workingDir (type: String.t, default: nil) - Container's working directory.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.Sidecar{
  args: [String.t()] | nil,
  command: [String.t()] | nil,
  env: [GoogleApi.CloudBuild.V2.Model.EnvVar.t()] | nil,
  image: String.t() | nil,
  name: String.t() | nil,
  readinessProbe: GoogleApi.CloudBuild.V2.Model.Probe.t() | nil,
  script: String.t() | nil,
  securityContext: GoogleApi.CloudBuild.V2.Model.SecurityContext.t() | nil,
  volumeMounts: [GoogleApi.CloudBuild.V2.Model.VolumeMount.t()] | nil,
  workingDir: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.