Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessScanner ¶
type ProcessScanner struct {
// contains filtered or unexported fields
}
ProcessScanner entities can scan running processes and move them to control groups.
func NewProcessScanner ¶
func NewProcessScanner(config *settings.Settings, procMover cgroups.ProcessMover) *ProcessScanner
NewProcessScanner creates and initializes a ProcessScanner object.
func (*ProcessScanner) Loop ¶
func (ps *ProcessScanner) Loop()
Loop calls Scan method every second. This method never returns.
func (*ProcessScanner) Scan ¶
func (ps *ProcessScanner) Scan()
Scan does the job a ProcessScanner is supposed to do.
Click to show internal directories.
Click to hide internal directories.