sealmigration

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BasePort_ShamirToTransit_Pre14  = 20000
	BasePort_TransitToShamir_Pre14  = 21000
	BasePort_ShamirToTransit_Post14 = 22000
	BasePort_TransitToShamir_Post14 = 23000
	BasePort_TransitToTransit       = 24000
)

Variables

This section is empty.

Functions

func InitializeTransit

func InitializeTransit(t *testing.T, logger hclog.Logger, storage teststorage.ReusableStorage, basePort int,
	tss *sealhelper.TransitSealServer, sealKeyName string,
) (*vault.TestCluster, *vault.TestClusterOptions)

initializeTransit initializes a brand new backend storage with Transit.

func ParamTestSealMigrationShamirToTransit_Post14

func ParamTestSealMigrationShamirToTransit_Post14(t *testing.T, logger hclog.Logger, storage teststorage.ReusableStorage, basePort int)

func ParamTestSealMigrationShamirToTransit_Pre14

func ParamTestSealMigrationShamirToTransit_Pre14(t *testing.T, logger hclog.Logger, storage teststorage.ReusableStorage, basePort int)

func ParamTestSealMigrationTransitToShamir_Post14

func ParamTestSealMigrationTransitToShamir_Post14(t *testing.T, logger hclog.Logger, storage teststorage.ReusableStorage, basePort int)

func ParamTestSealMigrationTransitToShamir_Pre14

func ParamTestSealMigrationTransitToShamir_Pre14(t *testing.T, logger hclog.Logger, storage teststorage.ReusableStorage, basePort int)

func ParamTestSealMigration_TransitToTransit

func ParamTestSealMigration_TransitToTransit(t *testing.T, logger hclog.Logger,
	storage teststorage.ReusableStorage, basePort int,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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