Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBalancer ¶
func NewBalancer(strategy api.PickStrategy) api.LoadBalancer
func NewLoadBalancer ¶
func NewLoadBalancer(strategy api.PickStrategy) api.LoadBalancer
Types ¶
type LoadBalancer ¶
type LoadBalancer struct {
// contains filtered or unexported fields
}
func (*LoadBalancer) Add ¶
func (this *LoadBalancer) Add(key interface{}, node *api.Endpoint)
func (*LoadBalancer) Remove ¶
func (this *LoadBalancer) Remove(key interface{})
type WeightLoadBalancer ¶
type WeightLoadBalancer struct { }
Click to show internal directories.
Click to hide internal directories.