Chris Baker
2dfced01e5
the plugin launcher tool was passing the wrong byte array into
...
SetConfig, resulting in msgpack decoding errors
2019-11-19 14:53:34 +00:00
Jasmine Dahilig
e31db578e0
add formatting for hcl parsing error messages ( #5972 )
2019-07-19 10:04:39 -07:00
Michael Schurter
1d17fbc681
simplify hcl2 parsing helper
...
No need to pass in the entire eval context
2019-02-04 11:07:57 -08:00
Michael Schurter
158c74887e
goimports until make check is happy
2019-01-23 06:27:14 -08:00
Michael Schurter
0d61ff0fb9
move pluginutils -> helper/pluginutils
...
I wanted a different color bikeshed, so I get to paint it
2019-01-22 15:50:08 -08:00
Alex Dadgar
72f8851254
Split hclspec
2019-01-22 15:43:34 -08:00
Alex Dadgar
8be7057177
move hclutils
2019-01-22 15:43:34 -08:00
Alex Dadgar
437f03d877
recover
2019-01-07 14:49:40 -08:00
Alex Dadgar
ed4f8eac6e
Add plugin API versioning to plugin loader and plugins
2018-12-18 16:48:00 -08:00
Alex Dadgar
57f40c7e3e
Device manager
...
Introduce a device manager that manages the lifecycle of device plugins
on the client. It fingerprints, collects stats, and forwards Reserve
requests to the correct plugin. The manager, also handles device plugins
failing and validates their output.
2018-11-07 10:43:15 -08:00
Nick Ethier
95d381cff7
rename NomadConfig to ClientAgentConfig
2018-10-29 21:34:34 -04:00
Alex Dadgar
da0bec03c1
Fix make check errors
2018-09-04 16:03:52 -07:00
Alex Dadgar
3879a875cc
Fix device launcher ctx cleanup
2018-09-04 15:48:38 -07:00
Alex Dadgar
ec2ecb4e90
launcher readme
2018-08-28 15:00:48 -07:00
Alex Dadgar
ee9d3cfe0e
Add stats to launcher
2018-08-28 13:59:57 -07:00
Alex Dadgar
a0b01d16c6
Example device plugin and helpers
...
This PR introduces:
* An example device plugin that exposes files as devices for testing.
* Helpers for serving a device plugin
* A launcher binary that allows interacting with a device plugin without
needing a Nomad client.
2018-08-28 13:59:57 -07:00