github.com/hhrutter/nomad@v0.6.0-rc2.0.20170723054333-80c4b03f0705/client/driver/executor/resource_container_default.go (about)

     1  // +build darwin dragonfly freebsd netbsd openbsd solaris windows
     2  
     3  package executor
     4  
     5  import (
     6  	dstructs "github.com/hashicorp/nomad/client/driver/structs"
     7  )
     8  
     9  // resourceContainerContext is a platform-specific struct for managing a
    10  // resource container.
    11  type resourceContainerContext struct {
    12  }
    13  
    14  func clientCleanup(ic *dstructs.IsolationConfig, pid int) error {
    15  	return nil
    16  }
    17  
    18  func (rc *resourceContainerContext) executorCleanup() error {
    19  	return nil
    20  }
    21  
    22  func (rc *resourceContainerContext) getIsolationConfig() *dstructs.IsolationConfig {
    23  	return nil
    24  }