open-vault/helper/testhelpers
Victor Rodriguez 2656c020ae
Convert seal.Access struct into a interface (OSS) (#20510)
* Move seal barrier type field from Access to autoSeal struct.

Remove method Access.SetType(), which was only being used by a single test, and
which can use the name option of NewTestSeal() to specify the type.

* Change method signatures of Access to match those of Wrapper.

* Turn seal.Access struct into an interface.

* Tweak Access implementation.

Change `access` struct to have a field of type wrapping.Wrapper, rather than
extending it.

* Add method Seal.GetShamirWrapper().

Add method Seal.GetShamirWrapper() for use by code that need to perform
Shamir-specific operations.
2023-05-04 14:22:30 -04:00
..
azurite Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
cassandra Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
certhelpers adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
consul Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
corehelpers adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
etcd Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
fakegcsserver Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
ldap Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
logical adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
minio Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
mongodb Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
mssql Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
mysql Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
pluginhelpers adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
postgresql Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
seal Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
teststorage adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
testhelpers.go Don't require every test to specify a VaultLicense field (#20372) 2023-04-26 18:39:48 +00:00
testhelpers_oss.go Moved 'WaitForNodesExcludingSelectedStandbys' to shared testhelpers file (#19976) 2023-04-04 15:32:01 +01:00