runner

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: Apache-2.0 Imports: 15 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   *graph.Graph
	MigrationInfo types.MigrationInfo
	DryRun        bool
	Verbose       bool
	Count         int
}

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, logger loggr.Logger) (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
⌂ 换网址