tserver

package
v0.0.0-...-db711b9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestEnvContext

type TestEnvContext interface {
	// Use these addresses when connecting to the RPC system using your
	// own client instance.
	TServerExternalRPCPort() string
	// Use these addresses when connecting to the YSQL system using your
	// own client instance.
	TServerExternalYSQLPort() string
	// Always clean up after your run.
	Cleanup()
}

TestEnvContext represents a test YugabyteDB TServer environment context.

func SetupTServer

func SetupTServer(t *testing.T,
	mastersCtx master.TestEnvContext,
	config *common.TestTServerConfiguration) TestEnvContext

SetupTServer sets up a single YugabyteDB TServer.

Jump to

Keyboard shortcuts

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