testvault

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package testvault contains helpers for working with Vault in a test environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestVault

func TestVault(t testing.T) (*api.Client, func())

TestVault starts a new dev-mode Vault cluster and returns a client that is configured to talk to the Vault cluster with root credentials.

The returned func() should be called to shut down the Vault server and perform any additional cleanup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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