Files
nomad/api
Mahmood Ali 361d1e177c api: avoid import nomad/structs pkg
nomad/structs is an internal package and imports many libraries (e.g.
raft, codec) that are not relevant to api clients, and may cause
unnecessary dependency pain (e.g. `github.com/ugorji/go/codec`
version is very old now).

Here, we add a code generator that imports the relevant constants from
`nomad/structs`.

I considered using this approach for other structs, but didn't find a
quick viable way to reduce duplication.  `nomad/structs` use values as
struct fields (e.g. `string`), while `api` uses value pointer (e.g.
`*string`) instead.  Also, sometimes, `api` structs contain deprecated
fields or additional documentation, so simple copy-paste doesn't work.
For these reasons, I opt to keep the status quo.
2019-01-18 14:51:19 -05:00
..
2017-10-13 14:36:02 -07:00
2017-10-13 13:12:20 -07:00
2017-10-13 13:12:20 -07:00
2018-03-12 11:59:33 -07:00
2018-03-11 19:07:44 +00:00
2018-03-11 17:47:24 +00:00
2017-07-21 16:33:04 -07:00
2018-05-31 10:57:08 -07:00
2018-03-14 16:10:32 -05:00
2017-09-29 10:36:08 -07:00
2019-01-18 14:51:19 -05:00
2017-09-19 10:08:23 -05:00
2017-10-13 14:36:02 -07:00
2019-01-18 14:51:19 -05:00
2018-09-04 16:03:52 -07:00
2017-10-13 14:36:02 -07:00
2017-10-13 14:36:02 -07:00
2017-07-21 16:33:04 -07:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-07-21 16:33:04 -07:00
2016-03-17 16:04:09 -07:00
2017-07-21 16:33:04 -07:00
2019-01-18 14:51:19 -05:00
2018-12-06 15:09:26 -08:00