MCPcopy Create free account
hub / github.com/containerd/cgroups / memoryPressureEvent

Struct memoryPressureEvent

cgroup1/memory.go:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81type memoryPressureEvent struct {
82 pressureLevel MemoryPressureLevel
83 hierarchy EventNotificationMode
84}
85
86// MemoryPressureEvent returns a new [MemoryEvent] representing the memory pressure set.
87func MemoryPressureEvent(pressureLevel MemoryPressureLevel, hierarchy EventNotificationMode) MemoryEvent {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected