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

Step embeds the Container type, which allows it to include fields not provided by Container.

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 container specified as a DNS_LABEL.
  • 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. SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ +optional
  • timeout (type: String.t, default: nil) - Time after which the Step times out. Defaults to never.
  • 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.Step{
  args: [String.t()] | nil,
  command: [String.t()] | nil,
  env: [GoogleApi.CloudBuild.V2.Model.EnvVar.t()] | nil,
  image: String.t() | nil,
  name: String.t() | nil,
  script: String.t() | nil,
  securityContext: GoogleApi.CloudBuild.V2.Model.SecurityContext.t() | nil,
  timeout: String.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.