Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProxyConnection ¶
Create a bidirectional byte shuffler. Copies bytes to/from each connection.
Types ¶
type LoadBalancer ¶
type LoadBalancerRR ¶
type LoadBalancerRR struct {
// contains filtered or unexported fields
}
func NewLoadBalancerRR ¶
func NewLoadBalancerRR() *LoadBalancerRR
func (LoadBalancerRR) FilterValidEndpoints ¶
func (impl LoadBalancerRR) FilterValidEndpoints(endpoints []string) []string
func (LoadBalancerRR) IsValid ¶
func (impl LoadBalancerRR) IsValid(spec string) bool
func (LoadBalancerRR) LoadBalance ¶
func (LoadBalancerRR) OnUpdate ¶
func (impl LoadBalancerRR) OnUpdate(endpoints []api.Endpoints)
type Proxier ¶
type Proxier struct {
// contains filtered or unexported fields
}
func NewProxier ¶
func NewProxier(loadBalancer LoadBalancer) *Proxier
func (Proxier) AcceptHandler ¶
func (Proxier) AddService ¶
AddService starts listening for a new service on a given port.
Directories ¶
Path | Synopsis |
---|---|
Config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy).
|
Config provides decoupling between various configuration sources (etcd, files,...) and the pieces that actually care about them (loadbalancer, proxy). |
Click to show internal directories.
Click to hide internal directories.