db

package
v11.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 28 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(*service.Config)) TestOptionFunc

func WithNodeName

func WithNodeName(nodeName string) TestOptionFunc

func WithRootConfig

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

Jump to

Keyboard shortcuts

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