Documentation
¶
Overview ¶
Package migrate provides tools for migrating AILANG data between storage backends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destinations ¶
type Destinations struct {
Coordinator coordinator.Store
Messaging messaging.MessageStore
Observatory observatory.Backend
}
Destinations holds the cloud backends to write to.
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator copies data from source backends to destination backends.
func NewMigrator ¶
NewMigrator creates a migrator with the given source and destination backends.
type Options ¶
type Options struct {
DryRun bool // Print what would be migrated without writing
Verbose bool // Print detailed progress
BatchSize int // Number of records per batch (default: 100)
Collection string // Migrate specific collection only ("coordinator", "messaging", "observatory", or "")
}
Options controls migration behavior.
type Sources ¶
type Sources struct {
Coordinator coordinator.Store
Messaging messaging.MessageStore
Observatory observatory.Backend
}
Sources holds the local SQLite backends to read from.
Click to show internal directories.
Click to hide internal directories.