testenv

package
v1.1.149 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlPlane

type ControlPlane interface {
	GetAddress() string
	GetRootToken() string
	WritePolicy(name string, policyFilePath string) error
	CreateToken(policies ...string) (string, error)
	Stop() error
	GetAPI() (vault.API, error)
}

type TestEnv

type TestEnv interface {
	ControlPlane
	Assertions
}

func StartTestEnv

func StartTestEnv(port int) (TestEnv, error)

type TestSecret

type TestSecret interface {
	kvsecret.Entity
	Engine() core.MountPathEntity
	API() vault.API
}

Jump to

Keyboard shortcuts

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