Commit Graph

893 Commits

Author SHA1 Message Date
Preetha Appan
c99b8701de Fix imports 2018-10-25 13:45:44 -05:00
Michael Schurter
1744b4d123 Fix copy pasted comment
Co-Authored-By: preetapan <preetha@hashicorp.com>
2018-10-25 13:43:29 -05:00
Michael Schurter
2101d58d0f remove newline
Co-Authored-By: preetapan <preetha@hashicorp.com>
2018-10-25 13:42:20 -05:00
Michael Schurter
2cf48b931d update comment
Co-Authored-By: preetapan <preetha@hashicorp.com>
2018-10-25 13:41:24 -05:00
Michael Schurter
1f87a25d54 Remove unnecessary return
Co-Authored-By: preetapan <preetha@hashicorp.com>
2018-10-25 13:40:28 -05:00
Michael Schurter
f50c358988 remove unnecessary return
Co-Authored-By: preetapan <preetha@hashicorp.com>
2018-10-25 13:40:15 -05:00
Nick Ethier
b837bf3ce3 drivers: update SetConfig to handle driver client config 2018-10-18 23:32:17 -04:00
Michael Schurter
08574715e3 Update drivers/qemu/driver.go 2018-10-17 17:42:01 -05:00
Preetha Appan
e20e3d7c36 QEMU driver plugin 2018-10-17 11:43:15 -05:00
Alex Dadgar
0202b183cc Merge pull request #4793 from hashicorp/b-no-cty
Do not use cty in drivers
2018-10-16 20:04:41 -07:00
Nick Ethier
87748fe423 update rkt and exec setconfig funcs 2018-10-16 23:00:26 -04:00
Nick Ethier
3244a4cc57 plumb NomadConfig into plugins 2018-10-16 22:47:22 -04:00
Nick Ethier
832a214bac drivers/exec: better fingerprinting and detection on non linux 2018-10-16 22:45:33 -04:00
Nick Ethier
7f5046849e drivers/exec: add exec implementation 2018-10-16 22:45:28 -04:00
Alex Dadgar
a10d3964d0 Do not use cty in drivers 2018-10-16 17:17:07 -07:00
Michael Schurter
cf42289c8b fix linter errors 2018-10-16 16:56:57 -07:00
Nick Ethier
3a9ed23d71 driver/docker: rename container logger 2018-10-16 16:56:56 -07:00
Michael Schurter
9c4a1d4c28 drivers/mock: fix plugin name
Was mock_driver before plugins, so keep the name.
2018-10-16 16:56:56 -07:00
Preetha Appan
b12de40124 Address review comments around logging task properly 2018-10-16 16:56:56 -07:00
Preetha Appan
ed2b3b25c5 Address review comments 2018-10-16 16:56:56 -07:00
Preetha Appan
be57b3e84d Switch back to using map[string]string for port map 2018-10-16 16:56:56 -07:00
Michael Schurter
4175e908dd fixup comments, logging, and missing method impls
from #4777 comments
2018-10-16 16:56:56 -07:00
Michael Schurter
7848acbea4 register drivers by default
Do not register mock_driver on release builds.
2018-10-16 16:56:56 -07:00
Michael Schurter
089bce5ab4 drivers/mock: complete plugin impl 2018-10-16 16:56:56 -07:00
Nick Ethier
9bd696e2de drivers/mock: start mock driver implementation 2018-10-16 16:56:56 -07:00
Preetha Appan
f13a0943a3 make port map a slice of maps to match existing rkt driver 2018-10-16 16:56:56 -07:00
Preetha Appan
3c6d6b9377 Review comments 2018-10-16 16:56:56 -07:00
Preetha Appan
04a2aad209 Stats collection test 2018-10-16 16:56:56 -07:00
Preetha Appan
0ebc3bdd2f RKT driver plugin and unit tests 2018-10-16 16:56:56 -07:00
Nick Ethier
2e055fe18a client: add test for driverfailure during fingerprinting 2018-10-16 16:56:56 -07:00
Nick Ethier
b751030765 rkt: start rkt driver plugin 2018-10-16 16:56:56 -07:00
Preetha Appan
53381035db Get raw exec tests compiling and passing again 2018-10-16 16:56:56 -07:00
Nick Ethier
4f9522dd54 client: review comments and fixup/skip tests 2018-10-16 16:56:56 -07:00
Nick Ethier
dd3b2ef91c docklog: add go-plugin for forwarding of docker logs 2018-10-16 16:56:56 -07:00
Nick Ethier
d335a82859 client: begin driver plugin integration
client: fingerprint driver plugins
2018-10-16 16:56:56 -07:00
Alex Dadgar
627e20801d Fix lints 2018-10-16 16:56:56 -07:00
Nick Ethier
3f7c14c7f5 drivers/shared: added func comment to eventer 2018-10-16 16:56:55 -07:00
Nick Ethier
db981de8e4 drivers/shared: move eventer to subpackage under drivers shared package 2018-10-16 16:56:55 -07:00
Nick Ethier
ca27a0254b drivers/utils: better handling of consumer cleanup in eventer 2018-10-16 16:56:55 -07:00
Nick Ethier
207522be55 drivers/rawexec: PR comments and feedback 2018-10-16 16:56:55 -07:00
Nick Ethier
757260a735 drivers/raw_exec: sync access to task state 2018-10-16 16:53:31 -07:00
Nick Ethier
7ad161fccd drivers/raw_exec: added unix specific tests 2018-10-16 16:53:31 -07:00
Nick Ethier
50b2981f0f raw_exec: move package outside of plugins dir 2018-10-16 16:53:31 -07:00