Documentation ¶
Index ¶
- type DatabasePack
- type TestOptionFunc
- func WithClock(clock clockwork.Clock) TestOptionFunc
- func WithLeafConfig(fn func(*service.Config)) TestOptionFunc
- func WithListenerSetupDatabaseTest(fn helpers.InstanceListenerSetupFunc) TestOptionFunc
- func WithNodeName(nodeName string) TestOptionFunc
- func WithRootConfig(fn func(*service.Config)) TestOptionFunc
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 WithListenerSetupDatabaseTest ¶
func WithListenerSetupDatabaseTest(fn helpers.InstanceListenerSetupFunc) TestOptionFunc
func WithNodeName ¶
func WithNodeName(nodeName string) TestOptionFunc
func WithRootConfig ¶
func WithRootConfig(fn func(*service.Config)) TestOptionFunc
Click to show internal directories.
Click to hide internal directories.