testenv

package
v1.1.43 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 19 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