Add a comment describing IsolationConfig

This commit is contained in:
Sean Chittenden 2016-07-10 23:45:44 -07:00
parent 5e2e5b6ccc
commit 1c14e01ac0
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 6 additions and 0 deletions

View File

@ -2,5 +2,11 @@
package structs
// 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
// information is transmitted via RPC so it is not permissable to change the
// API.
type IsolationConfig struct {
}