Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnifiedPath ¶
func UnifiedPath() string
Types ¶
type Config ¶
type Config struct {
ID string
CPUs string
Mems string
CPUQuota string
MemOOMControl string
MemLimit string
VMemLimit string
MemSwappiness string
BlockIOWeight string
// contains filtered or unexported fields
}
func (Config) Apply ¶
Apply is a convenience method for compatibility. Use (*Config).Apply() for state-tracking apply.
func (*Config) ApplyOnce ¶
ApplyOnce applies the pg configuration if it hasn't been applied already. Returns true if the config was applied, false if it was already applied.
type Mgr ¶
type Mgr struct {
// contains filtered or unexported fields
}
func FromContext ¶
func (*Mgr) ApplyConfigs ¶
ApplyConfigs applies all registered pg configs in order (base to leaf). Each config is applied only if not already applied.
Click to show internal directories.
Click to hide internal directories.