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
}
type VarnishController ¶
type VarnishController struct {
SecretFile string
Storage string
AdditionalParameters string
FrontendAddr string
FrontendPort int
AdminAddr string
AdminPort int
// contains filtered or unexported fields
}
func NewVarnishController ¶
func NewVarnishController( secretFile string, storage string, additionalParameter 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, started chan struct{}, ) (*VarnishController, error)
Click to show internal directories.
Click to hide internal directories.