open-nomad/vendor/github.com/mitchellh
Drew Bailey cb689a8382
Api/event stream payload values (#9277)
* Get concrete types out of dynamic payload

wip

pull out value setting to func

* Add TestEventSTream_SetPayloadValue

Add more assertions

use alias type in unmarshalJSON to handle payload rawmessage

shorten unmarshal and remove anonymous wrap struct

* use map structure and helper functions to return concrete types

* ensure times are properly handled

* update test name

* put all decode logic in a single function

Co-authored-by: Kris Hicks <khicks@hashicorp.com>
2020-11-05 13:04:18 -05:00
..
cli
colorstring
copystructure
go-homedir
go-ps
go-testing-interface vendor: consul v1.7.7 2020-08-23 09:41:27 +02:00
go-wordwrap
hashstructure
mapstructure Api/event stream payload values (#9277) 2020-11-05 13:04:18 -05:00
reflectwalk