Documentation ¶
Index ¶
- type Config
- type ContextRoot
- type Host
- type NginxLoadBalancer
- func (p *NginxLoadBalancer) ConfigPath() string
- func (p *NginxLoadBalancer) GenerateProxyConfig(containers []types.Container) (interface{}, error)
- func (p *NginxLoadBalancer) HandleEvent(event *events.Message) error
- func (p *NginxLoadBalancer) Name() string
- func (p *NginxLoadBalancer) Reload(proxyContainers []types.Container) error
- func (p *NginxLoadBalancer) Template() string
- type Server
- 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 NginxLoadBalancer ¶
type NginxLoadBalancer struct {
// contains filtered or unexported fields
}
func NewNginxLoadBalancer ¶
func NewNginxLoadBalancer(c *config.ExtensionConfig, cl *client.Client) (*NginxLoadBalancer, error)
func (*NginxLoadBalancer) ConfigPath ¶
func (p *NginxLoadBalancer) ConfigPath() string
func (*NginxLoadBalancer) GenerateProxyConfig ¶
func (p *NginxLoadBalancer) GenerateProxyConfig(containers []types.Container) (interface{}, error)
func (*NginxLoadBalancer) HandleEvent ¶
func (p *NginxLoadBalancer) HandleEvent(event *events.Message) error
func (*NginxLoadBalancer) Name ¶
func (p *NginxLoadBalancer) Name() string
func (*NginxLoadBalancer) Reload ¶
func (p *NginxLoadBalancer) Reload(proxyContainers []types.Container) error
func (*NginxLoadBalancer) Template ¶
func (p *NginxLoadBalancer) Template() string
Click to show internal directories.
Click to hide internal directories.