Documentation ¶
Index ¶
- type Config
- type ContextRoot
- type HAProxyLoadBalancer
- func (p *HAProxyLoadBalancer) ConfigPath() string
- func (p *HAProxyLoadBalancer) GenerateProxyConfig(containers []types.Container) (interface{}, error)
- func (p *HAProxyLoadBalancer) HandleEvent(event *events.Message) error
- func (p *HAProxyLoadBalancer) Name() string
- func (p *HAProxyLoadBalancer) Reload(proxyContainers []types.Container) error
- func (p *HAProxyLoadBalancer) Template() string
- type Host
- type Upstream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Hosts []*Host Config *config.ExtensionConfig Networks map[string]string }
type ContextRoot ¶ added in v1.1.1
type HAProxyLoadBalancer ¶
type HAProxyLoadBalancer struct {
// contains filtered or unexported fields
}
func NewHAProxyLoadBalancer ¶
func NewHAProxyLoadBalancer(c *config.ExtensionConfig, cl *client.Client) (*HAProxyLoadBalancer, error)
func (*HAProxyLoadBalancer) ConfigPath ¶
func (p *HAProxyLoadBalancer) ConfigPath() string
func (*HAProxyLoadBalancer) GenerateProxyConfig ¶
func (p *HAProxyLoadBalancer) GenerateProxyConfig(containers []types.Container) (interface{}, error)
func (*HAProxyLoadBalancer) HandleEvent ¶
func (p *HAProxyLoadBalancer) HandleEvent(event *events.Message) error
func (*HAProxyLoadBalancer) Name ¶
func (p *HAProxyLoadBalancer) Name() string
func (*HAProxyLoadBalancer) Reload ¶
func (p *HAProxyLoadBalancer) Reload(proxyContainers []types.Container) error
func (*HAProxyLoadBalancer) Template ¶
func (p *HAProxyLoadBalancer) Template() string
Click to show internal directories.
Click to hide internal directories.