function
NewArtifact
Create an artifact shell with embedded manifest lineage.
Arguments
| Argument | Type | Description |
|---|---|---|
name | string | The name value. |
planner | Planner | The planner value. |
before | *schema.Manifest | The before value. |
after | schema.Manifest | The after value. |
Returns
The declared result.
(Artifact, error)How it works
Store adapters populate reviewed physical and semantic execution steps after construction.
Full signature
func NewArtifact(
name string,
planner Planner,
before *schema.Manifest,
after schema.Manifest,
) (Artifact, error)