testutils

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 7 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
	// contains filtered or unexported fields
}

TestContainer vault dev container wrapper.

func StartTestContainer

func StartTestContainer() (*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