postgresql

package
v1.14.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareTestContainer

func PrepareTestContainer(t *testing.T, version string) (func(), string)

func PrepareTestContainerRepmgr added in v1.13.0

func PrepareTestContainerRepmgr(t *testing.T, name, version string, envVars []string) (*docker.Runner, func(), string, string)

func PrepareTestContainerWithPassword added in v1.10.1

func PrepareTestContainerWithPassword(t *testing.T, version, password string) (func(), string)

func PrepareTestContainerWithVaultUser added in v1.14.0

func PrepareTestContainerWithVaultUser(t *testing.T, ctx context.Context, version string) (func(), string)

PrepareTestContainerWithVaultUser will setup a test container with a Vault admin user configured so that we can safely call rotate-root without rotating the root DB credentials

func RestartContainer added in v1.13.0

func RestartContainer(t *testing.T, ctx context.Context, runner *docker.Runner, containerID string)

func StopContainer added in v1.13.0

func StopContainer(t *testing.T, ctx context.Context, runner *docker.Runner, containerID string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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