controller

package
v0.0.0-...-6947048 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorFunc

type ColorFunc func(obj interface{}) string

type Controller

type Controller interface {
	Watch(listWatch *cache.ListWatch, objType runtime.Object, resyncPeriod time.Duration, colorFunc ColorFunc)
	Cleanup()
}

func NewController

func NewController(brightness float64) Controller

type ControllerObj

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

func (*ControllerObj) Cleanup

func (o *ControllerObj) Cleanup()

func (*ControllerObj) Watch

func (o *ControllerObj) Watch(listWatch *cache.ListWatch, objType runtime.Object, resyncPeriod time.Duration, colorFunc ColorFunc)

Jump to

Keyboard shortcuts

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