Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
d2136e0a
Commit
d2136e0a
authored
6 years ago
by
Danielle Tomlinson
Browse files
Options
Download
Email Patches
Plain Diff
drivers: Move client/drivers/executor to drivers/shared/executor
parent
6756ffd0
Branches unavailable
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.4.0-rc.1
v1.4.0-beta.1
v1.3.8
v1.3.7
v1.3.6
v1.3.5
v1.3.4
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.3.0-rc.1
v1.3.0-beta.1
v1.2.15
v1.2.14
v1.2.13
v1.2.12
v1.2.11
v1.2.10
v1.2.9
v1.2.8
v1.2.7
v1.2.6
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc1
v1.2.0-beta1
v1.1.18
v1.1.17
v1.1.16
v1.1.15
v1.1.14
v1.1.13
v1.1.12
v1.1.11
v1.1.10
v1.1.9
v1.1.8
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.1.0-rc1
v1.1.0-beta1
v1.0.18
v1.0.17
v1.0.16
v1.0.15
v1.0.14
v1.0.13
v1.0.12
v1.0.11
v1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v1.0.0-rc1
v1.0.0-beta3
v1.0.0-beta2
v0.12.12
v0.12.11
v0.12.10
v0.12.9
v0.12.8
v0.12.7
v0.12.6
v0.12.5
v0.12.4
v0.12.4-rc1
v0.12.3
v0.12.2
v0.12.1
v0.12.0
v0.12.0-rc1
v0.12.0-beta2
v0.12.0-beta1
v0.11.8
v0.11.7
v0.11.6
v0.11.5
v0.11.4
v0.11.3
v0.11.2
v0.11.1
v0.11.0
v0.11.0-rc1
v0.11.0-beta2
v0.11.0-beta1
v0.10.9
v0.10.8
v0.10.7
v0.10.6
v0.10.5
v0.10.4
v0.10.4-rc1
v0.10.3
v0.10.2
v0.10.2-rc1
v0.10.1
v0.10.0
v0.10.0-rc1
v0.10.0-connect1
v0.10.0-beta1
v0.9.7
v0.9.6
v0.9.5
v0.9.4
v0.9.4-rc1
v0.9.3
v0.9.2
v0.9.2-rc1
v0.9.1
v0.9.1-rc1
v0.9.0
v0.9.0-rc2
v0.9.0-rc1
v0.9.0-beta3
v0.9.0-beta2
v0.9.0-beta1
nightly
No related merge requests found
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
client/driver/exec.go
+1
-1
client/driver/exec.go
client/driver/executor_plugin.go
+1
-1
client/driver/executor_plugin.go
client/driver/executor_plugin_pre_0_9_0.go
+1
-1
client/driver/executor_plugin_pre_0_9_0.go
client/driver/java.go
+1
-1
client/driver/java.go
client/driver/qemu.go
+1
-1
client/driver/qemu.go
client/driver/raw_exec.go
+1
-1
client/driver/raw_exec.go
client/driver/rkt.go
+1
-1
client/driver/rkt.go
client/driver/utils.go
+1
-1
client/driver/utils.go
drivers/exec/driver.go
+1
-1
drivers/exec/driver.go
drivers/exec/handle.go
+1
-1
drivers/exec/handle.go
drivers/java/driver.go
+1
-1
drivers/java/driver.go
drivers/java/handle.go
+1
-1
drivers/java/handle.go
drivers/qemu/driver.go
+1
-1
drivers/qemu/driver.go
drivers/qemu/handle.go
+1
-1
drivers/qemu/handle.go
drivers/rawexec/driver.go
+1
-1
drivers/rawexec/driver.go
drivers/rawexec/handle.go
+1
-1
drivers/rawexec/handle.go
drivers/rkt/driver.go
+1
-1
drivers/rkt/driver.go
drivers/rkt/handle.go
+1
-1
drivers/rkt/handle.go
drivers/shared/executor/executor.go
+0
-0
drivers/shared/executor/executor.go
drivers/shared/executor/executor_basic.go
+0
-0
drivers/shared/executor/executor_basic.go
with
18 additions
and
18 deletions
+18
-18
client/driver/exec.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -12,9 +12,9 @@ import (
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/allocdir"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/helper/fields"
"github.com/hashicorp/nomad/nomad/structs"
"github.com/mitchellh/mapstructure"
...
...
This diff is collapsed.
Click to expand it.
client/driver/executor_plugin.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -9,8 +9,8 @@ import (
hclog
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/driver/executor"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/executor"
)
// Registering these types since we have to serialize and de-serialize the Task
...
...
This diff is collapsed.
Click to expand it.
client/driver/executor_plugin_pre_0_9_0.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -10,7 +10,7 @@ import (
"time"
"github.com/hashicorp/go-plugin"
executorv0 "github.com/hashicorp/nomad/
client/driver
/executorv0"
executorv0 "github.com/hashicorp/nomad/
drivers/shared
/executorv0"
cstructs "github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/nomad/structs"
)
...
...
This diff is collapsed.
Click to expand it.
client/driver/java.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -18,11 +18,11 @@ import (
"github.com/hashicorp/go-plugin"
"github.com/mitchellh/mapstructure"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
"github.com/hashicorp/nomad/client/fingerprint"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/env"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/helper"
"github.com/hashicorp/nomad/helper/fields"
"github.com/hashicorp/nomad/nomad/structs"
...
...
This diff is collapsed.
Click to expand it.
client/driver/qemu.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -17,10 +17,10 @@ import (
"github.com/coreos/go-semver/semver"
plugin
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
"github.com/hashicorp/nomad/client/fingerprint"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/helper/fields"
"github.com/hashicorp/nomad/nomad/structs"
"github.com/mitchellh/mapstructure"
...
...
This diff is collapsed.
Click to expand it.
client/driver/raw_exec.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -14,11 +14,11 @@ import (
multierror
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/allocdir"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
"github.com/hashicorp/nomad/client/fingerprint"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/env"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/helper/fields"
"github.com/hashicorp/nomad/nomad/structs"
"github.com/mitchellh/mapstructure"
...
...
This diff is collapsed.
Click to expand it.
client/driver/rkt.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -28,10 +28,10 @@ import (
"github.com/hashicorp/go-version"
"github.com/hashicorp/nomad/client/allocdir"
"github.com/hashicorp/nomad/client/config"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/env"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/helper"
"github.com/hashicorp/nomad/helper/fields"
"github.com/hashicorp/nomad/nomad/structs"
...
...
This diff is collapsed.
Click to expand it.
client/driver/utils.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -16,10 +16,10 @@ import (
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/allocdir"
"github.com/hashicorp/nomad/client/config"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/env"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/helper/discover"
"github.com/hashicorp/nomad/nomad/structs"
)
...
...
This diff is collapsed.
Click to expand it.
drivers/exec/driver.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -11,11 +11,11 @@ import (
"github.com/hashicorp/consul-template/signals"
hclog
"github.com/hashicorp/go-hclog"
plugin
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
"github.com/hashicorp/nomad/client/fingerprint"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/eventer"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/plugins/base"
"github.com/hashicorp/nomad/plugins/drivers"
"github.com/hashicorp/nomad/plugins/drivers/utils"
...
...
This diff is collapsed.
Click to expand it.
drivers/exec/handle.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -7,7 +7,7 @@ import (
hclog
"github.com/hashicorp/go-hclog"
plugin
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/
client/driver
/executor"
"github.com/hashicorp/nomad/
drivers/shared
/executor"
"github.com/hashicorp/nomad/plugins/drivers"
)
...
...
This diff is collapsed.
Click to expand it.
drivers/java/driver.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -13,11 +13,11 @@ import (
"github.com/hashicorp/consul-template/signals"
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
"github.com/hashicorp/nomad/client/fingerprint"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/eventer"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/plugins/base"
"github.com/hashicorp/nomad/plugins/drivers"
"github.com/hashicorp/nomad/plugins/drivers/utils"
...
...
This diff is collapsed.
Click to expand it.
drivers/java/handle.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/
client/driver
/executor"
"github.com/hashicorp/nomad/
drivers/shared
/executor"
"github.com/hashicorp/nomad/plugins/drivers"
)
...
...
This diff is collapsed.
Click to expand it.
drivers/qemu/driver.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -16,10 +16,10 @@ import (
"github.com/coreos/go-semver/semver"
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/eventer"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/plugins/base"
"github.com/hashicorp/nomad/plugins/drivers"
"github.com/hashicorp/nomad/plugins/drivers/utils"
...
...
This diff is collapsed.
Click to expand it.
drivers/qemu/handle.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/
client/driver
/executor"
"github.com/hashicorp/nomad/
drivers/shared
/executor"
"github.com/hashicorp/nomad/plugins/drivers"
)
...
...
This diff is collapsed.
Click to expand it.
drivers/rawexec/driver.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -13,10 +13,10 @@ import (
"github.com/hashicorp/consul-template/signals"
hclog
"github.com/hashicorp/go-hclog"
plugin
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/eventer"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/plugins/base"
"github.com/hashicorp/nomad/plugins/drivers"
"github.com/hashicorp/nomad/plugins/drivers/utils"
...
...
This diff is collapsed.
Click to expand it.
drivers/rawexec/handle.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -7,7 +7,7 @@ import (
hclog
"github.com/hashicorp/go-hclog"
plugin
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/
client/driver
/executor"
"github.com/hashicorp/nomad/
drivers/shared
/executor"
"github.com/hashicorp/nomad/plugins/drivers"
)
...
...
This diff is collapsed.
Click to expand it.
drivers/rkt/driver.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -25,11 +25,11 @@ import (
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/go-version"
"github.com/hashicorp/nomad/client/config"
"github.com/hashicorp/nomad/client/driver/executor"
dstructs
"github.com/hashicorp/nomad/client/driver/structs"
cstructs
"github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/drivers/shared/env"
"github.com/hashicorp/nomad/drivers/shared/eventer"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/plugins/base"
"github.com/hashicorp/nomad/plugins/drivers"
"github.com/hashicorp/nomad/plugins/drivers/utils"
...
...
This diff is collapsed.
Click to expand it.
drivers/rkt/handle.go
+
1
-
1
View file @
d2136e0a
...
...
@@ -9,8 +9,8 @@ import (
hclog
"github.com/hashicorp/go-hclog"
plugin
"github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/client/driver/executor"
"github.com/hashicorp/nomad/drivers/shared/env"
"github.com/hashicorp/nomad/drivers/shared/executor"
"github.com/hashicorp/nomad/plugins/drivers"
)
...
...
This diff is collapsed.
Click to expand it.
client/driver
/executor/executor.go
→
drivers/shared
/executor/executor.go
+
0
-
0
View file @
d2136e0a
File moved
This diff is collapsed.
Click to expand it.
client/driver
/executor/executor_basic.go
→
drivers/shared
/executor/executor_basic.go
+
0
-
0
View file @
d2136e0a
File moved
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help