Documentation ¶
Index ¶
Constants ¶
View Source
const (
ReloadThreshold = time.Millisecond * 2000
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadBalancer ¶
type LoadBalancer struct {
// contains filtered or unexported fields
}
func NewLoadBalancer ¶
func NewLoadBalancer(c *config.ExtensionConfig, client *client.Client) (*LoadBalancer, error)
func (*LoadBalancer) HandleEvent ¶
func (l *LoadBalancer) HandleEvent(event *events.Message) error
func (*LoadBalancer) Name ¶
func (l *LoadBalancer) Name() string
func (*LoadBalancer) ProxyContainers ¶
func (l *LoadBalancer) ProxyContainers(name string) ([]types.Container, error)
func (*LoadBalancer) SaveConfig ¶
func (l *LoadBalancer) SaveConfig(configPath string, cfg interface{}, proxyContainers []types.Container) error
Click to show internal directories.
Click to hide internal directories.