aboutsummaryrefslogtreecommitdiff
path: root/exec2/handle.go
diff options
context:
space:
mode:
Diffstat (limited to 'exec2/handle.go')
-rw-r--r--exec2/handle.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/exec2/handle.go b/exec2/handle.go
index 695f49d..edb3346 100644
--- a/exec2/handle.go
+++ b/exec2/handle.go
@@ -8,13 +8,15 @@ import (
"github.com/Alexis211/nomad-driver-exec2/executor"
hclog "github.com/hashicorp/go-hclog"
+ plugin "github.com/hashicorp/go-plugin"
"github.com/hashicorp/nomad/plugins/drivers"
)
type taskHandle struct {
- exec executor.Executor
- pid int
- logger hclog.Logger
+ exec executor.Executor
+ pid int
+ pluginClient *plugin.Client
+ logger hclog.Logger
// stateLock syncs access to all fields below
stateLock sync.RWMutex