View Source GoogleApi.ContainerAnalysis.V1beta1.Model.Command (google_api_container_analysis v0.28.0)

Command describes a step performed as part of the build pipeline.

Attributes

  • args (type: list(String.t), default: nil) - Command-line arguments used when executing this command.
  • dir (type: String.t, default: nil) - Working directory (relative to project source root) used when running this command.
  • env (type: list(String.t), default: nil) - Environment variables set before running this command.
  • id (type: String.t, default: nil) - Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
  • name (type: String.t, default: nil) - Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.
  • waitFor (type: list(String.t), default: nil) - The ID(s) of the command(s) that this command depends on.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1beta1.Model.Command{
  args: [String.t()] | nil,
  dir: String.t() | nil,
  env: [String.t()] | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  waitFor: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.