 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	DefaultServiceCIDRName = "kubernetes"
)
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
	// contains filtered or unexported fields
}
    Controller manages selector-based service ipAddress.
func NewController ¶
func NewController( primaryRange net.IPNet, secondaryRange net.IPNet, client clientset.Interface, ) *Controller
NewController returns a new *Controller that generates the default ServiceCIDR from the `--service-cluster-ip-range` flag and recreates it if necessary, but doesn't update it if is different. It follows the same logic that the kubernetes.default Service.
func (*Controller) Start ¶
func (c *Controller) Start(stopCh <-chan struct{})
Start will not return until the default ServiceCIDR exists or stopCh is closed.
 Click to show internal directories. 
   Click to hide internal directories.