open-nomad/plugins/device
Mahmood Ali c5de71a424 Allow nullable fields in StatValues
In state values, we need to be able to distinguish between zero values
(e.g. `false`) and unset values (e.g. `nil`).

We can alternatively use protobuf `oneOf` and nested map to ensure
consistency of fields that are set together, but the golang
representation does not represent that well and introducing a mismatch
between representations.  Thus, I opted not to use it.
2018-11-14 14:41:19 -05:00
..
cmd/example Allow nullable fields in StatValues 2018-11-14 14:41:19 -05:00
proto Move Stat{Object|Value} to plugins/shared/structs 2018-11-14 09:01:26 -05:00
client.go Plugin client's handle plugin dying 2018-11-12 17:09:27 -08:00
device.go Move Stat{Object|Value} to plugins/shared/structs 2018-11-14 09:01:26 -05:00
mock.go fix race 2018-11-07 12:22:07 -08:00
plugin.go Plugin client's handle plugin dying 2018-11-12 17:09:27 -08:00
plugin_test.go Allow nullable fields in StatValues 2018-11-14 14:41:19 -05:00
server.go Device manager 2018-11-07 10:43:15 -08:00
util.go Move Stat{Object|Value} to plugins/shared/structs 2018-11-14 09:01:26 -05:00