function
VerifyArtifacts
Replay complete immutable history through the adapter runner in an isolated shadow database.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
config | Config | The config value. |
directory | string | The directory value. |
transforms | []migration.DataTransform | The transforms value. |
Returns
The declared result.
errorHow it works
The operational credential creates and drops a randomly named shadow database; application collections are not used. Semantic histories use VerifyArtifactsWithOptions with explicit maintenance admission because verification replays the complete history.
Full signature
func VerifyArtifacts(
ctx context.Context,
config Config,
directory string,
transforms ...ridumigration.DataTransform,
) errorRelated types
ConfigRuntime-only MongoDB connection behavior.
DataTransformExecutable up and down callbacks bound to an immutable descriptor.