oomkill

package
v0.0.0-...-f194415 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const OOMKILL = "OOMKilled"

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerStatusMap

type ContainerStatusMap map[string]v1.ContainerStatus

type PodEventHandler

type PodEventHandler struct {
	// contains filtered or unexported fields
}

func New

func New(kubeClient kubernetes.Interface, informerFactory informers.SharedInformerFactory, alerter alerting.Alerter) *PodEventHandler

func (PodEventHandler) AddEvent

func (peh PodEventHandler) AddEvent(obj interface{})

func (PodEventHandler) DeleteEvent

func (peh PodEventHandler) DeleteEvent(obj interface{})

func (*PodEventHandler) Run

func (er *PodEventHandler) Run(stopCh <-chan struct{})

func (PodEventHandler) UpdateEvent

func (peh PodEventHandler) UpdateEvent(objOld interface{}, objNew interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL