Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Containment ¶
type Containment interface {
// Apply enables containment on pid.
Apply(pid int) error
// Cleanup will purge executor resources like cgroups.
Cleanup() error
// GetPIDs will return the processes overseen by the Containment
GetPIDs() PIDs
}
A Containment will cleanup resources created by an executor.
Click to show internal directories.
Click to hide internal directories.