migrator

package
v0.0.0-...-4da4744 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrationSteps

type MigrationSteps interface {
	Run() error
	ErrorHandler()
}

type Migrator

type Migrator interface {
	AskForConfirmation(skipConfirmation bool) error
	IsExecutedCheck() error
	AddMigrationSteps(migrationSteps MigrationSteps)
	ExecuteMigrationSteps() error
	SaveExecutedStatus() error
	ExecuteDeferredSteps() error
	PrintMigrationErrors()
	RunMigrationFlow(skipConfirmation bool)
	ClearData() error
	RunSuccess() error
	SkipMigrationPermanently() error
	IsMigrationPermanentlySkipped() (bool, error)
}

type PostMigrationSteps

type PostMigrationSteps interface {
	MigrationSteps
	DefferedHandler() error
}

type SuccessfulMigrationSteps

type SuccessfulMigrationSteps interface {
	MigrationSteps
	OnSuccess() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL