Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProcessControllers ¶
GetProcessControllers returns the mapping between controller types and their paths inside cgroup fs for the specified PID
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller represents a named controller for a process
func GetProcessController ¶
func GetProcessController(pid interface{}, controllerName string) (*Controller, error)
GetProcessController returns a named resource Controller for the specified PID
func (*Controller) Set ¶
func (c *Controller) Set(name string, value interface{}) error
Set sets the value of a controller setting
Click to show internal directories.
Click to hide internal directories.