testutils

package
v1.0.228 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestClient     kubernetes.Interface
	DefaultContext context.Context
)

Variables used to aid testing.

It's better to fire up a single embedded database instance for the entire test suite. The variables are here so they can be imported by other packages as well.

Functions

func GetEmbeddedPGConfig added in v1.0.141

func GetEmbeddedPGConfig(database string, port int) (embeddedPG.Config, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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