controller

package
v0.0.0-...-275f485 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 13 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
}

func NewController

func NewController(queue workqueue.RateLimitingInterface, indexer cache.Indexer, informer cache.Controller) *Controller

func (*Controller) RollingUpdate

func (c *Controller) RollingUpdate(obj interface{}) error

RollingUpdate executes the cordon, drain, and validate functions and *blocks* until it returns with or without an error. Blocking limits the draining of nodes to one at a time.

func (*Controller) Run

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

func (*Controller) SetSession

func (c *Controller) SetSession(clientset kubernetes.Interface)

Jump to

Keyboard shortcuts

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