controllers

package
v0.9.4-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller ...

func NewConfigMapController

func NewConfigMapController(client clientset.Interface, namespace string, cm string) *Controller

NewConfigMapController ...

func NewPodController

func NewPodController(client clientset.Interface) *Controller

NewPodController ...

func NewWorkflowRunController

func NewWorkflowRunController(client clientset.Interface) *Controller

NewWorkflowRunController ...

func NewWorkflowTriggerController

func NewWorkflowTriggerController(client clientset.Interface) *Controller

NewWorkflowTriggerController ...

func (*Controller) HasSynced

func (c *Controller) HasSynced() bool

HasSynced ...

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{})

Run ...

type Event

type Event struct {
	Key       string
	EventType EventType
	Object    interface{}
}

Event ...

type EventType

type EventType int

EventType ...

const (
	// CREATE indicates creation event
	CREATE EventType = iota
	// UPDATE indicates updating event
	UPDATE
	// DELETE indicates deletion event
	DELETE
)

Jump to

Keyboard shortcuts

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