Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator defines a service to migrate data after a BaaSapi version update.
func NewMigrator ¶
func NewMigrator(parameters *Parameters) *Migrator
NewMigrator creates a new Migrator.
type Parameters ¶
type Parameters struct { DB *bolt.DB DatabaseVersion int Baask8sService *baask8s.Service BaasmspService *baasmsp.Service ExtensionService *extension.Service ResourceControlService *resourcecontrol.Service SettingsService *settings.Service TemplateService *template.Service UserService *user.Service VersionService *version.Service FileService baasapi.FileService }
Parameters represents the required parameters to create a new Migrator instance.
Click to show internal directories.
Click to hide internal directories.