open-vault/command/server
Calvin Leung Huang d8875b1991
sys/config: config state endpoint (#7424)
* sys/config: initial work on adding config state endpoint

* server/config: add tests, fix Sanitized method

* thread config through NewTestCluster's config to avoid panic on dev modes

* properly guard endpoint against request forwarding

* add http tests, guard against panics on nil RawConfig

* ensure non-nil rawConfig on NewTestCluster cores

* update non-forwarding logic

* fix imports; use no-forward handler

* add missing config test fixture; update gitignore

* return sanitized config as a map

* fix test, use deep.Equal to check for equality

* fix http test

* minor comment fix

* config: change Sanitized to return snake-cased keys, update tests

* core: hold rlock when reading config; add docstring

* update docstring
2019-10-08 10:57:15 -07:00
..
seal OCI KMS auto-unseal plugin (#6950) 2019-09-04 12:40:54 -07:00
test-fixtures sys/config: config state endpoint (#7424) 2019-10-08 10:57:15 -07:00
config.go sys/config: config state endpoint (#7424) 2019-10-08 10:57:15 -07:00
config_test.go sys/config: config state endpoint (#7424) 2019-10-08 10:57:15 -07:00
listener.go Agent: Listener refactoring and socket file system permissions (#6397) 2019-03-14 11:53:14 -07:00
listener_tcp.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
listener_tcp_test.go go vet fixes 2018-02-05 14:26:31 -05:00
listener_test.go Add tests. This actually adds the initial tests for the TLS listener, 2016-03-11 14:05:52 -05:00