workernodeeviction

package
v0.0.0-...-432d548 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// SuccessSynced is used as part of the Event 'reason' when a ControllersManager is synced
	SuccessSynced = "Synced"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	schema.GroupVersionKind
	controller.DefaultController
	// contains filtered or unexported fields
}

Controller is the controller implementation for ControllersManager resources

func NewController

func NewController(
	kubeclientset kubernetes.Interface,
	carbonclientset clientset.Interface,
	podInformer coreinformers.PodInformer,
	workerNodeInformer informers.WorkerNodeInformer,
	evictionInformer informers.WorkerNodeEvictionInformer,
) *Controller

NewController returns a new ControllersManager controller

func (*Controller) DeleteSubObj

func (c *Controller) DeleteSubObj(namespace, key string) error

DeleteSubObj DeleteSubObj

func (*Controller) GetObj

func (c *Controller) GetObj(namespace, key string) (interface{}, error)

GetObj GetObj

func (*Controller) Sync

func (c *Controller) Sync(key string) error

Sync sync

func (*Controller) WaitForCacheSync

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

WaitForCacheSync WaitForCacheSync

Jump to

Keyboard shortcuts

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