Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CgroupStarter ¶
type CgroupStarter struct {
CgroupPath string
GardenCgroup string
AllowedDevices []specs.LinuxDeviceCgroup
CommandRunner commandrunner.CommandRunner
ProcCgroups io.ReadCloser
ProcSelfCgroups io.ReadCloser
Logger lager.Logger
Chowner Chowner
MountPointChecker rundmc.MountPointChecker
}
func NewStarter ¶
func NewStarter( logger lager.Logger, procCgroupReader io.ReadCloser, procSelfCgroupReader io.ReadCloser, cgroupMountpoint string, gardenCgroup string, allowedDevices []specs.LinuxDeviceCgroup, runner commandrunner.CommandRunner, chowner Chowner, mountPointChecker rundmc.MountPointChecker, ) *CgroupStarter
func (*CgroupStarter) Start ¶
func (s *CgroupStarter) Start() error
type CgroupsFormatError ¶
type CgroupsFormatError struct {
Content string
}
func (CgroupsFormatError) Error ¶
func (err CgroupsFormatError) Error() string
Click to show internal directories.
Click to hide internal directories.