open-nomad/vendor/github.com/hashicorp
Tim Gross 4e79ddea45
csi/api: populate ReadAllocs/WriteAllocs fields (#9377)
The API is missing values for `ReadAllocs` and `WriteAllocs` fields, resulting
in allocation claims not being populated in the web UI. These fields mirror
the fields in `nomad/structs.CSIVolume`. Returning a separate list of stubs
for read and write would be ideal, but this can't be done without either
bloating the API response with repeated full `Allocation` data, or causing a
panic in previous versions of the CLI.

The `nomad/structs` fields are persisted with nil values and are populated
during RPC, so we'll do the same in the HTTP API and populate the `ReadAllocs`
and `WriteAllocs` fields with a map of allocation IDs, but with null
values. The web UI will then create its `ReadAllocations` and
`WriteAllocations` fields by mapping from those IDs to the values in
`Allocations`, instead of flattening the map into a list.
2020-11-25 16:44:06 -05:00
..
consul feat: upgrade consul 1.7, and go-discover 2020-09-13 11:40:47 +02:00
consul-template update consul-template to v0.25.1 (#8988) 2020-10-01 14:08:49 -04:00
cronexpr
errwrap
go-checkpoint
go-cleanhttp
go-connlimit
go-cty-funcs Update vendored libraries 2020-10-21 15:46:56 -04:00
go-discover feat: upgrade consul 1.7, and go-discover 2020-09-13 11:40:47 +02:00
go-envparse
go-getter vendor: update go-getter and x/net (#9099) 2020-10-15 10:24:24 -04:00
go-hclog
go-immutable-radix use Events to wrap index and events, store in events table 2020-10-14 12:44:39 -04:00
go-memdb use Events to wrap index and events, store in events table 2020-10-14 12:44:39 -04:00
go-msgpack
go-multierror
go-plugin
go-retryablehttp
go-rootcerts
go-safetemp
go-sockaddr
go-syslog
go-uuid
go-version
golang-lru
hcl Update vendored libraries 2020-10-21 15:46:56 -04:00
logutils
mdns
memberlist
net-rpc-msgpackrpc
nomad/api csi/api: populate ReadAllocs/WriteAllocs fields (#9377) 2020-11-25 16:44:06 -05:00
raft
raft-boltdb
serf
vault
vic
yamux