Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrationResult ¶
MigrationResult holds statistics from the migration run.
type V1ToV2Migrator ¶
type V1ToV2Migrator struct {
// contains filtered or unexported fields
}
V1ToV2Migrator migrates storage from v1 (flat) to v2 (project-scoped hierarchy).
func NewV1ToV2Migrator ¶
func NewV1ToV2Migrator(store storage.Storage, dryRun bool) *V1ToV2Migrator
NewV1ToV2Migrator creates a new migrator.
func (*V1ToV2Migrator) Run ¶
func (m *V1ToV2Migrator) Run(ctx context.Context) (*MigrationResult, error)
Run executes the full v1→v2 migration.
Click to show internal directories.
Click to hide internal directories.