Dagger.ArtifactResult (dagger v1.0.0-beta.19)

Copy Markdown View Source

Dagger.ArtifactResult

Summary

Functions

The artifact that was evaluated.

The evaluation failure, if any.

A unique identifier for this ArtifactResult.

The evaluated value, or null when evaluation failed.

Types

t()

@type t() :: %Dagger.ArtifactResult{client: term(), query_builder: term()}

Functions

artifact(artifact_result)

@spec artifact(t()) :: Dagger.Artifact.t()

The artifact that was evaluated.

error(artifact_result)

@spec error(t()) :: {:ok, Dagger.Error.t() | nil} | {:error, term()}

The evaluation failure, if any.

id(artifact_result)

@spec id(t()) :: {:ok, String.t()} | {:error, term()}

A unique identifier for this ArtifactResult.

value(artifact_result)

@spec value(t()) :: {:ok, Dagger.Node.t() | nil} | {:error, term()}

The evaluated value, or null when evaluation failed.