NativeArtifact.Plan (native_artifact v0.1.0)

Copy Markdown View Source

Inspectable future actions for explicit precompiled or source consumption.

Planning is pure: it does not obtain files, invoke recipes or install anything. new/2 accepts :evidence, optional :artifact_id and :manifest_limits. :mode defaults to :precompiled; :source additionally requires an artifact ID and declarative :build recipe. There is no automatic source fallback.

Summary

Types

t()

@type t() :: %NativeArtifact.Plan{
  actions: term(),
  archive: term(),
  artifact: term(),
  artifact_id: term(),
  binding: term(),
  build: term(),
  evidence: term(),
  execution: term(),
  manifest: term(),
  manifest_limits: term(),
  mode: term(),
  rejections: term(),
  selector: term(),
  source_identity: term(),
  sources: term(),
  target: term()
}

Functions

new(manifest, opts \\ [])

@spec new(term(), keyword()) :: {:ok, t()} | {:error, NativeArtifact.Error.t()}