vault: github.com/hashicorp/vault/helper/testhelpers/teststorage Index | Files

package teststorage

import "github.com/hashicorp/vault/helper/testhelpers/teststorage"

Index

Package Files

teststorage.go

func ClusterSetup Uses

func ClusterSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions, setup ClusterSetupMutator) (*vault.CoreConfig, *vault.TestClusterOptions)

func ConsulBackendSetup Uses

func ConsulBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)

func FileBackendSetup Uses

func FileBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)

func InmemBackendSetup Uses

func InmemBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)

func InmemNonTransactionalBackendSetup Uses

func InmemNonTransactionalBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)

func MakeConsulBackend Uses

func MakeConsulBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle

func MakeFileBackend Uses

func MakeFileBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle

func MakeInmemBackend Uses

func MakeInmemBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle

func MakeInmemNonTransactionalBackend Uses

func MakeInmemNonTransactionalBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle

func MakeRaftBackend Uses

func MakeRaftBackend(t testing.T, coreIdx int, logger hclog.Logger) *vault.PhysicalBackendBundle

func RaftBackendSetup Uses

func RaftBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)

func SharedPhysicalFactory Uses

func SharedPhysicalFactory(f func(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle) func(t testing.T, coreIdx int, logger hclog.Logger) *vault.PhysicalBackendBundle

type ClusterSetupMutator Uses

type ClusterSetupMutator func(conf *vault.CoreConfig, opts *vault.TestClusterOptions)

Package teststorage imports 16 packages (graph) and is imported by 1 packages. Updated 2020-02-27. Refresh now. Tools for package owners.