testsetups

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBMigration added in v1.5.10

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

DBMigration returns an environment with DB migrated from FromVersionSpec to ToVersionSpec

Types

type DBMigrationSpec added in v1.5.10

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

type FromVersionSpec added in v1.5.10

type FromVersionSpec struct {
	Image string
	Tag   string
}

type ToVersionSpec added in v1.5.10

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