Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Observer ¶
type Observer interface { GetObservedOomsChannel() chan OomInfo OnEvent(*apiv1.Event) cache.ResourceEventHandler }
Observer can observe pod resource update and collect OOM events.
type OomInfo ¶
type OomInfo struct { Timestamp time.Time Memory model.ResourceAmount ContainerID model.ContainerID }
OomInfo contains data of the OOM event occurrence
Click to show internal directories.
Click to hide internal directories.