vault/sdk/helper/testcluster
gkoutsou 255db7aab1
Add ENVs using NewTestDockerCluster (#27457)
* Add ENVs using NewTestDockerCluster

Currently NewTestDockerCluster had no means for setting any
environment variables. This makes it tricky to create test
for functionality that require thems, like having to set
AWS environment variables.

DockerClusterOptions now exposes an option to pass extra
enviroment variables to the containers, which are appended
to the existing ones.

* adding changelog

* added test case for setting env variables to containers

* fix changelog typo; env name

* Update changelog/27457.txt

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>

* adding the missing copyright

---------

Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2024-08-16 13:18:47 -07:00
..
docker Add ENVs using NewTestDockerCluster (#27457) 2024-08-16 13:18:47 -07:00
consts.go Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
exec.go Removal of go-testing-interface (CE changes) (#27578) 2024-07-04 11:09:41 -04:00
generaterootkind_enumer.go Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
logging.go Add tests based on vault binary (#20224) 2023-04-24 09:57:37 -04:00
replication.go Add replication.SetCorePerf to create a ReplicationSet using NewTestCluster (#25381) 2024-02-16 09:00:47 -05:00
types.go Redacted Information With Valid Token (#25735) 2024-03-01 13:20:31 -05:00
util.go Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00