function
DecodeArtifact
func DecodeArtifact(encoded []byte) (Artifact, error)Strictly decode and validate supported artifact JSON.
Rejects unknown fields, duplicate JSON keys, and embedded manifests that do not use the current schema contract.
Related types
ArtifactThe immutable definition of one migration.