Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Count is the number of cgroups to be created at startup Count uint `toml:"count"` // Mountpoint is where the cgroup filesystem is mounted, usually under /sys/fs/cgroup/ Mountpoint string `toml:"mountpoint"` // HierarchyRoot is the parent cgroup under which Gitaly creates <Count> of cgroups. // A system administrator is expected to create such cgroup/directory under <Mountpoint>/memory // and/or <Mountpoint>/cpu depending on which resource is enabled. HierarchyRoot is expected to // be owned by the user and group Gitaly runs as. HierarchyRoot string `toml:"hierarchy_root"` // CPU holds CPU resource configurations CPU CPU `toml:"cpu"` // Memory holds memory resource configurations Memory Memory `toml:"memory"` }
Config is a struct for cgroups config
Click to show internal directories.
Click to hide internal directories.