interface
ProjectDriver
type ProjectDriver interface {
// Validate checks the complete executable registration before a project
// command resolves config or changes database state.
Validate() error
DataTransforms() []DataTransformDescriptor
// RunProjectMigration receives the exact manifest resolved by the process
// that will execute the request. The driver must validate it against the
// selected artifact history before opening or changing the database.
RunProjectMigration(context.Context, ProjectRequest, schema.Manifest) error
}Application-compiled callbacks behind adapter-owned project migration commands.
Source migration/project.go:48
Validatefunc() error- Validate checks the complete executable registration before a project command resolves config or changes database state.
DataTransformsfunc() []DataTransformDescriptor- The DataTransforms value.
RunProjectMigrationfunc(context.Context, ProjectRequest, schema.Manifest) error- RunProjectMigration receives the exact manifest resolved by the process that will execute the request. The driver must validate it against the selected artifact history before opening or changing the database.