test

package
v0.0.0-...-c490ea4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package test contains a utility function for starting a single-node CockroachDB cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartDB

func StartDB(ctx context.Context) (string, <-chan struct{}, error)

StartDB executes a cockroach binary from $PATH and returns a connection string that uses a unix domain socket. The server will be terminated when the context is cancelled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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