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
}
Controller adds or removes node's CIDR allocation request from ippool spec whenever a node is added/updated/removed. Create a ippool if there isn't one for current cluster.
func NewController ¶
func NewController( kubeClient kubernetes.Interface, ippoolclientset ippoolclientset.Interface, informerManager *k8s.InformerManager, clusterName string, clusterNS string, ownerRef *metav1.OwnerReference) *Controller
NewController returns controller that reconciles node
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run starts the worker to process node updates
Click to show internal directories.
Click to hide internal directories.