controller

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: MIT Imports: 16 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 {
	Frontends       watcher.EndpointList
	PrimaryFrontend *watcher.Endpoint
	Backends        watcher.EndpointList
	PrimaryBackend  *watcher.Endpoint
	Env             map[string]string
}

type VarnishController

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

func NewVarnishController

func NewVarnishController(
	secretFile string,
	storage string,
	transientStorage string,
	additionalParameter string,
	workingDir string,
	frontendAddr string,
	frontendPort int,
	adminAddr string,
	adminPort int,
	frontendUpdates chan *watcher.EndpointConfig,
	backendUpdates chan *watcher.EndpointConfig,
	templateUpdates chan []byte,
	varnishSignaller *signaller.Signaller,
	vclTemplateFile string,
) (*VarnishController, error)

func (*VarnishController) Run

func (v *VarnishController) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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