Help us shape the future of Go! Take the 2026 Go Developer Survey

testsetups

package
v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBMigration

func DBMigration(spec *DBMigrationSpec) (*environment.Environment, error)

DBMigration returns an environment with DB migrated from FromVersionSpec to ToVersionSpec

Types

type DBMigrationSpec

type DBMigrationSpec struct {
	FromSpec          FromVersionSpec
	ToSpec            ToVersionSpec
	KeepConnection    bool
	RemoveOnInterrupt bool
}

type FromVersionSpec

type FromVersionSpec struct {
	Image string
	Tag   string
}

type ToVersionSpec

type ToVersionSpec struct {
	Image string
	Tag   string
}

Jump to

Keyboard shortcuts

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