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
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