db

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabasePack

type DatabasePack struct {
	Root databaseClusterPack
	Leaf databaseClusterPack
	// contains filtered or unexported fields
}

func SetupDatabaseTest

func SetupDatabaseTest(t *testing.T, options ...TestOptionFunc) *DatabasePack

func (*DatabasePack) StartDatabases

func (p *DatabasePack) StartDatabases(t *testing.T)

func (*DatabasePack) WaitForLeaf

func (p *DatabasePack) WaitForLeaf(t *testing.T)

type TestOptionFunc

type TestOptionFunc func(*testOptions)

func WithClock

func WithClock(clock clockwork.Clock) TestOptionFunc

func WithLeafConfig

func WithLeafConfig(fn func(*servicecfg.Config)) TestOptionFunc

func WithNodeName

func WithNodeName(nodeName string) TestOptionFunc

func WithRootConfig

func WithRootConfig(fn func(*servicecfg.Config)) TestOptionFunc

Jump to

Keyboard shortcuts

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