podevent

package
v5.1.10-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventType

type EventType string

EventType -

var EventTypeAbnormalExited EventType = "AbnormalExited"

EventTypeAbnormalExited container exits abnormally

var EventTypeAbnormalRecovery EventType = "AbnormalRecovery"

EventTypeAbnormalRecovery -

var EventTypeLivenessProbeFailed EventType = "LivenessProbeFailed"

EventTypeLivenessProbeFailed -

var EventTypeOOMKilled EventType = "OOMKilled"

EventTypeOOMKilled -

var EventTypeReadinessProbeFailed EventType = "ReadinessProbeFailed"

EventTypeReadinessProbeFailed -

func (EventType) String

func (p EventType) String() string

String -

type PodEvent

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

PodEvent -

func New

func New(clientset kubernetes.Interface, stopCh chan struct{}) *PodEvent

New create a new PodEvent

func (*PodEvent) GetChan

func (p *PodEvent) GetChan() chan<- *corev1.Pod

GetChan get pod update chan

func (*PodEvent) Handle

func (p *PodEvent) Handle()

Handle -

type SortableEventType

type SortableEventType []EventType

SortableEventType implements sort.Interface for []EventType

func (SortableEventType) Len

func (s SortableEventType) Len() int

func (SortableEventType) Less

func (s SortableEventType) Less(i, j int) bool

func (SortableEventType) Swap

func (s SortableEventType) Swap(i, j int)

Jump to

Keyboard shortcuts

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