2016-07-10 06:01:14 +00:00
|
|
|
// +build darwin dragonfly freebsd netbsd openbsd solaris windows
|
|
|
|
|
|
|
|
package structs
|
|
|
|
|
2016-07-11 06:45:44 +00:00
|
|
|
// IsolationConfig has information about the isolation mechanism the executor
|
|
|
|
// uses to put resource constraints and isolation on the user process. The
|
|
|
|
// default implementation is empty. Platforms that support resource isolation
|
|
|
|
// (e.g. Linux's Cgroups) should build their own platform-specific copy. This
|
2017-08-07 21:13:05 +00:00
|
|
|
// information is transmitted via RPC so it is not permissible to change the
|
2016-07-11 06:45:44 +00:00
|
|
|
// API.
|
2016-07-10 06:01:14 +00:00
|
|
|
type IsolationConfig struct {
|
|
|
|
}
|