2016-07-10 06:01:14 +00:00
|
|
|
// +build darwin dragonfly freebsd netbsd openbsd solaris windows
|
|
|
|
|
|
|
|
package executor
|
|
|
|
|
|
|
|
import (
|
|
|
|
dstructs "github.com/hashicorp/nomad/client/driver/structs"
|
|
|
|
)
|
|
|
|
|
2016-07-11 07:02:55 +00:00
|
|
|
// resourceContainerContext is a platform-specific struct for managing a
|
|
|
|
// resource container.
|
|
|
|
type resourceContainerContext struct {
|
2016-07-10 06:01:14 +00:00
|
|
|
}
|
|
|
|
|
2016-07-10 06:45:33 +00:00
|
|
|
func clientCleanup(ic *dstructs.IsolationConfig, pid int) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-07-11 07:02:55 +00:00
|
|
|
func (rc *resourceContainerContext) executorCleanup() error {
|
2016-07-10 06:01:14 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-07-11 07:02:55 +00:00
|
|
|
func (rc *resourceContainerContext) getIsolationConfig() *dstructs.IsolationConfig {
|
2016-07-10 06:01:14 +00:00
|
|
|
return nil
|
|
|
|
}
|