open-vault/helper
Calvin Leung Huang 3f1c7c86a0
sys: add host-info endpoint (#7330)
* sys: add host-info endpoint, add client API method

* remove old commented handler

* add http tests, fix bugs

* query all partitions for disk usage

* fix Timestamp decoding

* add comments for clarification

* dont append a nil entry on disk usage query error

* remove HostInfo from the sdk api

We can use Logical().Read(...) to query this endpoint since the payload is contained with the data object. All warnings are preserved under Secret.Warnings.

* ensure that we're testing failure case against a standby node

* add and use TestWaitStandby to ensure core is on standby

* remove TestWaitStandby

* respond with local-only error

* move HostInfo into its own helper package

* fix imports; use new no-forward handler

* add cpu times to collection

* emit clearer multierrors/warnings by collection type

* add comments on HostInfo fields
2019-10-03 09:43:52 -07:00
..
awsutil fix failing region test 2019-06-18 09:50:38 -07:00
builtinplugins Add OCI auth to builtin plugin registry (#7436) 2019-09-05 13:50:12 -07:00
dhutil VSI (#4985) 2018-07-24 22:02:27 -04:00
flag-kv Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
flag-slice command/server: add config loading 2015-03-12 15:21:11 -07:00
forwarding Update protobufs, sdk changes 2019-04-12 23:13:14 -04:00
gated-writer command/server: cleaner output 2015-04-04 12:06:41 -07:00
hostutil sys: add host-info endpoint (#7330) 2019-10-03 09:43:52 -07:00
identity Rename entity group membership template parameters (#7099) 2019-07-19 10:08:47 -07:00
kv-builder Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
listenerutil Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
metricsutil Call goimports as well as gofmt when doing a `make fmt` (#7148) 2019-07-18 21:04:56 -04:00
mfa Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
namespace Remove namespace.TestContext and namespace.TestNamespace (#5682) 2018-11-05 11:11:32 -05:00
pgpkeys Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
policies Fix using wrong var 2016-03-24 10:23:09 -04:00
proxyutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
reload Clean up error string formatting (#4304) 2018-04-09 14:35:21 -04:00
storagepacker Don't return an error if storagepacker is told to delete no items (#6941) 2019-06-20 17:46:58 -04:00
testhelpers Generalization of the PhysicalFactory notion introduced by Raft (#7217) 2019-08-23 15:51:25 -04:00
xor Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00