controller

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPPoolController

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

func (*IPPoolController) Run

func (c *IPPoolController) Run(workers int, stopCh <-chan struct{}) error

func (*IPPoolController) Start

func (c *IPPoolController) Start(stopCh <-chan struct{}) error

func (*IPPoolController) ValidateCreate

func (c *IPPoolController) ValidateCreate(obj runtime.Object) error

func (*IPPoolController) ValidateDelete

func (c *IPPoolController) ValidateDelete(obj runtime.Object) error

func (*IPPoolController) ValidateUpdate

func (c *IPPoolController) ValidateUpdate(old runtime.Object, new runtime.Object) error

type VxNetPoolController

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

Controller is the controller implementation for vxnetpool resources

func NewVxNetPoolController

func NewVxNetPoolController(
	conf *conf.ClusterConfig,
	kubeclientset kubernetes.Interface,
	clientset clientset.Interface,
	informers informers.SharedInformerFactory,
	k8sInformers k8sinformers.SharedInformerFactory,
) *VxNetPoolController

func (*VxNetPoolController) Run

func (c *VxNetPoolController) Run(threadiness int, stopCh <-chan struct{}) error

Run will set up the event handlers for types we are interested in, as well as syncing informer caches and starting workers. It will block until stopCh is closed, at which point it will shutdown the workqueue and wait for workers to finish processing their current work items.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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