migrations

package
v1.1.6-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMigrationList

func NewMigrationList() migrationList

Types

type Migration

type Migration interface {
	Sequence() int
	Migrate(config types.BacalhauConfig) (types.BacalhauConfig, error)
}

func GetMigrations

func GetMigrations() ([]Migration, error)

type MigrationFn

type MigrationFn = func(config types.BacalhauConfig) (types.BacalhauConfig, error)

Jump to

Keyboard shortcuts

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