Documentation ¶
Index ¶
- type IPPoolController
- func (c *IPPoolController) Run(workers int, stopCh <-chan struct{}) error
- func (c *IPPoolController) Start(stopCh <-chan struct{}) error
- func (c *IPPoolController) ValidateCreate(obj runtime.Object) error
- func (c *IPPoolController) ValidateDelete(obj runtime.Object) error
- func (c *IPPoolController) ValidateUpdate(old runtime.Object, new runtime.Object) error
- type VxNetPoolController
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 NewIPPoolController ¶
func NewIPPoolController( k8sclient k8sclientset.Interface, client clientset.Interface, k8sInformers k8sinformers.SharedInformerFactory, informers informers.SharedInformerFactory, provider ippool.Provider) *IPPoolController
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.