Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const CloudAllocatorType + const IPAMFromCloudAllocatorType + const IPAMFromClusterAllocatorType + const RangeAllocatorType + type CIDRAllocator interface + AllocateOrOccupyCIDR func(node *v1.Node) error + ReleaseCIDR func(node *v1.Node) error + Run func(stopCh <-chan struct{}) + func New(kubeClient clientset.Interface, cloud cloudprovider.Interface, ...) (CIDRAllocator, error) + func NewCIDRRangeAllocator(client clientset.Interface, nodeInformer informers.NodeInformer, ...) (CIDRAllocator, error) + func NewCloudCIDRAllocator(client clientset.Interface, cloud cloudprovider.Interface, ...) (CIDRAllocator, error) + type CIDRAllocatorType string + type Config struct + InitialRetry time.Duration + MaxBackoff time.Duration + Mode nodesync.NodeSyncMode + Resync time.Duration + type Controller struct + func NewController(config *Config, kubeClient clientset.Interface, cloud cloudprovider.Interface, ...) (*Controller, error) + func (c *Controller) Start(nodeInformer informers.NodeInformer) error + type Timeout struct + InitialRetry time.Duration + MaxBackoff time.Duration + Resync time.Duration + func (b *Timeout) Next() time.Duration + func (b *Timeout) Update(ok bool)