Documentation ¶
Index ¶
- func ClusterSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions, ...) (*vault.CoreConfig, *vault.TestClusterOptions)
- func ConsulBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
- func FileBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
- func InmemBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
- func InmemNonTransactionalBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
- func MakeConsulBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
- func MakeFileBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
- func MakeInmemBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
- func MakeInmemNonTransactionalBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
- func MakeRaftBackend(t testing.T, coreIdx int, logger hclog.Logger) *vault.PhysicalBackendBundle
- func RaftBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
- func SharedPhysicalFactory(f func(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle) ...
- type ClusterSetupMutator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterSetup ¶ added in v1.4.0
func ClusterSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions, setup ClusterSetupMutator) (*vault.CoreConfig, *vault.TestClusterOptions)
func ConsulBackendSetup ¶
func ConsulBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
func FileBackendSetup ¶
func FileBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
func InmemBackendSetup ¶
func InmemBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
func InmemNonTransactionalBackendSetup ¶
func InmemNonTransactionalBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
func MakeConsulBackend ¶
func MakeConsulBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
func MakeFileBackend ¶
func MakeFileBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
func MakeInmemBackend ¶
func MakeInmemBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
func MakeInmemNonTransactionalBackend ¶
func MakeInmemNonTransactionalBackend(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle
func MakeRaftBackend ¶
func MakeRaftBackend(t testing.T, coreIdx int, logger hclog.Logger) *vault.PhysicalBackendBundle
func RaftBackendSetup ¶
func RaftBackendSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
func SharedPhysicalFactory ¶
func SharedPhysicalFactory(f func(t testing.T, logger hclog.Logger) *vault.PhysicalBackendBundle) func(t testing.T, coreIdx int, logger hclog.Logger) *vault.PhysicalBackendBundle
Types ¶
type ClusterSetupMutator ¶
type ClusterSetupMutator func(conf *vault.CoreConfig, opts *vault.TestClusterOptions)
Click to show internal directories.
Click to hide internal directories.