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

PipelineSpec defines the desired state of Pipeline.

Attributes

  • finallyTasks (type: list(GoogleApi.CloudBuild.V2.Model.PipelineTask.t), default: nil) - List of Tasks that execute just before leaving the Pipeline i.e. either after all Tasks are finished executing successfully or after a failure which would result in ending the Pipeline.
  • generatedYaml (type: String.t, default: nil) - Output only. auto-generated yaml that is output only for display purpose for workflows using pipeline_spec, used by UI/gcloud cli for Workflows.
  • params (type: list(GoogleApi.CloudBuild.V2.Model.ParamSpec.t), default: nil) - List of parameters.
  • results (type: list(GoogleApi.CloudBuild.V2.Model.PipelineResult.t), default: nil) - Optional. Output only. List of results written out by the pipeline's containers
  • tasks (type: list(GoogleApi.CloudBuild.V2.Model.PipelineTask.t), default: nil) - List of Tasks that execute when this Pipeline is run.
  • workspaces (type: list(GoogleApi.CloudBuild.V2.Model.PipelineWorkspaceDeclaration.t), default: nil) - Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.PipelineSpec{
  finallyTasks: [GoogleApi.CloudBuild.V2.Model.PipelineTask.t()] | nil,
  generatedYaml: String.t() | nil,
  params: [GoogleApi.CloudBuild.V2.Model.ParamSpec.t()] | nil,
  results: [GoogleApi.CloudBuild.V2.Model.PipelineResult.t()] | nil,
  tasks: [GoogleApi.CloudBuild.V2.Model.PipelineTask.t()] | nil,
  workspaces:
    [GoogleApi.CloudBuild.V2.Model.PipelineWorkspaceDeclaration.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.