 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocationPlugin ¶
type AllocationPlugin interface {
	Allocate(*api.Route) (*api.RouterShard, error)
	GenerateHostname(*api.Route, *api.RouterShard) string
}
    AllocationPlugin is the interface the route controller dispatches requests for RouterShard allocation and name generation.
type RouteAllocator ¶
type RouteAllocator interface {
	AllocateRouterShard(*api.Route) (*api.RouterShard, error)
	GenerateHostname(*api.Route, *api.RouterShard) string
}
    RouteAllocator is the interface for the route allocation controller which handles requests for RouterShard allocation and name generation.
       Source Files
      ¶
      Source Files
      ¶
    
- doc.go
- interfaces.go
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package controller contains all the route handling controllers. | Package controller contains all the route handling controllers. | 
| 
          
            allocation
            
            
          
           Package allocation contains all the route allocation controllers. | Package allocation contains all the route allocation controllers. | 
| Package generator implements the Generator interface for routes | Package generator implements the Generator interface for routes | 
| registry
       | |
 Click to show internal directories. 
   Click to hide internal directories.