function
CreateArtifactWithOptions
func CreateArtifactWithOptions(
ctx context.Context,
directory,
name string,
after schema.Manifest,
now time.Time,
options ArtifactOptions,
) (CreatedArtifact, error)Publish the current MongoDB planner 2.0.0 artifact with reviewed semantic intent.
Source adapters/mongodb/migrations.go:88
This is the creator used by ridu migrate create. It validates the immutable prefix, freezes confirmed renames and transform descriptors, records reviewed retirement/destructive findings, and never opens MongoDB.
Related types
ManifestAn immutable versioned schema contract.
ArtifactOptionsReviewed semantic intent frozen into a planner 2.0.0 artifact.
CreatedArtifactThe stable filesystem identity of one newly published artifact.