controller

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateData

type TemplateData struct {
	Backends       watcher.BackendList
	PrimaryBackend *watcher.Backend
}

type VarnishController

type VarnishController struct {
	SecretFile   string
	Storage      string
	FrontendAddr string
	FrontendPort int
	AdminAddr    string
	AdminPort    int
	// contains filtered or unexported fields
}

func NewVarnishController

func NewVarnishController(
	secretFile string,
	storage string,
	frontendAddr string,
	frontendPort int,
	adminAddr string,
	adminPort int,
	updates chan *watcher.BackendConfig,
	vclTemplateFile string,
) (*VarnishController, error)

func (*VarnishController) Run

func (v *VarnishController) Run() error

Jump to

Keyboard shortcuts

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