controller

package
v0.0.0-...-74814d5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultResyncPeriod = 0
View Source
const MaxRetries = 5

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewEventController

func NewEventController(client kubernetes.Interface) cache.Controller

func NewPodController

func NewPodController(client kubernetes.Interface) cache.Controller

func RegisterController

func RegisterController(name string, fn ControllerBuilder)

func Stop

func Stop()

Types

type ControllerBuilder

type ControllerBuilder func(client kubernetes.Interface) cache.Controller

type EventController

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

func (*EventController) HasSynced

func (ec *EventController) HasSynced() bool

func (*EventController) LastSyncResourceVersion

func (ec *EventController) LastSyncResourceVersion() string

func (*EventController) OnAdd

func (ec *EventController) OnAdd(obj interface{})

func (*EventController) OnDelete

func (ec *EventController) OnDelete(obj interface{})

func (*EventController) OnUpdate

func (ec *EventController) OnUpdate(oldObj, newObj interface{})

func (*EventController) Run

func (ec *EventController) Run(stopCh <-chan struct{})

type PodController

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

func (*PodController) HasSynced

func (pc *PodController) HasSynced() bool

func (*PodController) LastSyncResourceVersion

func (pc *PodController) LastSyncResourceVersion() string

func (*PodController) OnAdd

func (pc *PodController) OnAdd(obj interface{})

func (*PodController) OnDelete

func (pc *PodController) OnDelete(obj interface{})

func (*PodController) OnUpdate

func (pc *PodController) OnUpdate(_, newObj interface{})

func (*PodController) Run

func (pc *PodController) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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