package
3.8.7+incompatible
Repository: https://github.com/hpcng/singularity.git
Documentation: pkg.go.dev

# Functions

LoadConfig opens cgroups controls config file and unmarshals it into structures.
PutConfig takes the content of a CgroupsConfig struct and Marshals it to file.

# Structs

Config has container runtime resource constraints.
LinuxBlockIO for Linux cgroup 'blkio' resource management.
LinuxCPU for Linux cgroup 'cpu' resource management.
LinuxDeviceCgroup represents a device rule for the whitelist controller.
LinuxHugepageLimit structure corresponds to limiting kernel hugepages.
LinuxInterfacePriority for network interfaces.
LinuxMemory for Linux cgroup 'memory' resource management.
LinuxNetwork identification and priority configuration.
LinuxPids for Linux cgroup 'pids' resource management (Linux 4.3).
LinuxRdma for Linux cgroup 'rdma' resource management (Linux 4.11).
LinuxThrottleDevice struct holds a `major:minor rate_per_second` pair.
LinuxWeightDevice struct holds a `major:minor weight` pair for weightDevice.
Manager manage container cgroup resources restriction.