Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // MountPath is where the cgroupv2 hierarchy is mounted. MountPath string }
Config holds configuration for the cgroup service.
func (*Config) CheckAndSetDefaults ¶
CheckAndSetDefaults checks BPF configuration.
type Service ¶
type Service struct { *Config // contains filtered or unexported fields }
Service manages cgroup orchestration.
func (*Service) Close ¶
Close will clean up the session cgroups and unmount the cgroup2 filesystem, unless otherwise requested.
Click to show internal directories.
Click to hide internal directories.