rainbond: github.com/goodrain/rainbond/worker/master/podevent Index | Files

package podevent

import "github.com/goodrain/rainbond/worker/master/podevent"

Index

Package Files

podevent.go

type EventType Uses

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 Uses

func (p EventType) String() string

String -

type PodEvent Uses

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

PodEvent -

func New Uses

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

New create a new PodEvent

func (*PodEvent) GetChan Uses

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

GetChan get pod update chan

func (*PodEvent) Handle Uses

func (p *PodEvent) Handle()

Handle -

type SortableEventType Uses

type SortableEventType []EventType

SortableEventType implements sort.Interface for []EventType

func (SortableEventType) Len Uses

func (s SortableEventType) Len() int

func (SortableEventType) Less Uses

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

func (SortableEventType) Swap Uses

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

Package podevent imports 16 packages (graph) and is imported by 1 packages. Updated 2019-11-05. Refresh now. Tools for package owners.