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)
Click to show internal directories.
Click to hide internal directories.