node

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelHostname = "kubernetes.io/hostname"
)

Variables

This section is empty.

Functions

func New

func New(
	client *kubernetes.Clientset,
	queue workqueue.RateLimitingInterface,
	nodeIndexer cache.Indexer,
	nodeInformer cache.Controller,
	nodeClassStore cache.Store,
	nodeClassController cache.Controller,
	maxMigrationWaitTime time.Duration,
	metrics *ControllerMetrics,
) controller.Interface

Types

type Controller

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

func (*Controller) IsReady added in v0.1.2

func (c *Controller) IsReady() bool

func (*Controller) Run

func (c *Controller) Run(workerCount int, stopCh chan struct{})

type ControllerMetrics added in v0.2.0

type ControllerMetrics struct {
	Nodes       prometheus.Gauge
	SyncErrors  prometheus.Counter
	SyncSeconds *prometheus.CounterVec
}

func NewControllerMetrics added in v0.2.0

func NewControllerMetrics() *ControllerMetrics

func (*ControllerMetrics) Serve added in v0.2.0

func (cm *ControllerMetrics) Serve(addr string)

Jump to

Keyboard shortcuts

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