runner

package
v0.0.0-...-4164891 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Operation     types.MigrationOperationType
	Definitions   []types.Definition
	MigrationInfo types.MigrationInfo
}

Options represents the options for the runner.

type Runner

type Runner interface {
	Run(context.Context, Options) error
}

Runner is the interface that every runner must implement.

func NewRunner

func NewRunner(ctx context.Context, db database.DB) (Runner, error)

NewRunner returns a new instance of the runner.

Jump to

Keyboard shortcuts

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