haproxy

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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
}

type HAProxyLoadBalancer

type HAProxyLoadBalancer struct {
	// contains filtered or unexported fields
}

func (*HAProxyLoadBalancer) GenerateProxyConfig

func (p *HAProxyLoadBalancer) GenerateProxyConfig() (*Config, error)

func (*HAProxyLoadBalancer) Reload

func (p *HAProxyLoadBalancer) Reload() error

func (*HAProxyLoadBalancer) Update

func (p *HAProxyLoadBalancer) Update() error

type Host

type Host struct {
	Name                string
	Domain              string
	Check               string
	BackendOptions      []string
	Upstreams           []*Upstream
	SSLOnly             bool
	SSLBackend          bool
	SSLBackendTLSVerify string
	BalanceAlgorithm    string
}

type Upstream

type Upstream struct {
	Container     string
	Addr          string
	CheckInterval int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL