testutils

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestContainer

type TestContainer struct {
	Container testcontainers.Container
	URI       string
	Token     string
}

TestContainer vault dev container wrapper.

func StartTestContainer

func StartTestContainer(commands ...string) (*TestContainer, error)

StartTestContainer Starts a fresh vault in development mode.

func (*TestContainer) Terminate

func (v *TestContainer) Terminate() error

Terminate terminates the testcontainer.

Jump to

Keyboard shortcuts

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