Documentation
      ¶
    
    
  
    
      Overview ¶
Package proxy contains the OpenShift SDN code that runs as part of the service proxy
Index ¶
- func New(pluginName string, networkClient networkclient.Interface, ...) (network.ProxyInterface, error)
 - type EndpointsConfigHandler
 - type OsdnProxy
 - func (proxy *OsdnProxy) OnEndpointsAdd(ep *kapi.Endpoints)
 - func (proxy *OsdnProxy) OnEndpointsDelete(ep *kapi.Endpoints)
 - func (proxy *OsdnProxy) OnEndpointsSynced()
 - func (proxy *OsdnProxy) OnEndpointsUpdate(old, ep *kapi.Endpoints)
 - func (proxy *OsdnProxy) Start(baseHandler pconfig.EndpointsHandler) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(pluginName string, networkClient networkclient.Interface, kClient kclientset.Interface) (network.ProxyInterface, error)
Called by higher layers to create the proxy plugin instance; only used by nodes
Types ¶
type EndpointsConfigHandler ¶
type EndpointsConfigHandler interface {
	// OnEndpointsUpdate gets called when endpoints configuration is changed for a given
	// service on any of the configuration sources. An example is when a new
	// service comes up, or when containers come up or down for an existing service.
	OnEndpointsUpdate(endpoints []*kapi.Endpoints)
}
    EndpointsConfigHandler is an abstract interface of objects which receive update notifications for the set of endpoints.
      
      Source Files
      ¶
    
- doc.go
 - proxy.go
 
 Click to show internal directories. 
   Click to hide internal directories.