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 deps: upgrade import of consul/api 2020-08-06 21:02:33 -05:00
colorstring deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
copystructure deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-homedir deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-ps deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-testing-interface vendor: consul v1.7.7 2020-08-23 09:41:27 +02:00
go-wordwrap deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
hashstructure deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
mapstructure Api/event stream payload values (#9277) 2020-11-05 13:04:18 -05:00
reflectwalk deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00