Documentation ¶
Index ¶
- func PrepareTestContainer(t *testing.T, version string) (func(), string)
- func PrepareTestContainerRepmgr(t *testing.T, name, version string, envVars []string) (*docker.Runner, func(), string, string)
- func PrepareTestContainerWithPassword(t *testing.T, version, password string) (func(), string)
- func PrepareTestContainerWithVaultUser(t *testing.T, ctx context.Context, version string) (func(), string)
- func RestartContainer(t *testing.T, ctx context.Context, runner *docker.Runner, containerID string)
- func StopContainer(t *testing.T, ctx context.Context, runner *docker.Runner, containerID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareTestContainer ¶
func PrepareTestContainerRepmgr ¶ added in v1.13.0
func PrepareTestContainerWithPassword ¶ added in v1.10.1
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.