controller

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NginxController

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

NginxController ...

func NewNginxController

func NewNginxController() *NginxController

NewNginxController returns a new NginxController

func (*NginxController) OnUpdate

func (n *NginxController) OnUpdate(cfg config.TemplateConfig) error

OnUpdate is called by proxy.sync periodically to keep the configuration in sync

func (*NginxController) Start

func (n *NginxController) Start()

Start ...

func (*NginxController) Stop

func (n *NginxController) Stop() error

Stop ...

type Proxy

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

Proxy ...

func NewProxy

func NewProxy(cfg config.Configuration) *Proxy

NewProxy ...

func (*Proxy) Run

func (p *Proxy) Run(workers int)

Run ...

func (*Proxy) Stop

func (p *Proxy) Stop() error

Stop shutdowns the proxy

Jump to

Keyboard shortcuts

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