Documentation ¶
Overview ¶
Package varnishcfg manages generating configuration files for Varnish cache and Hitch proxy using data from Traffic Ops APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHitchConfig ¶
GetHitchConfig returns Hitch config using TO data
Types ¶
type VCLBuilder ¶
type VCLBuilder struct {
// contains filtered or unexported fields
}
VCLBuilder builds the default VCL file using TO data.
func NewVCLBuilder ¶
func NewVCLBuilder(toData *t3cutil.ConfigData) VCLBuilder
NewVCLBuilder returns a new VCLBuilder object.
func (*VCLBuilder) BuildVCLFile ¶
func (vb *VCLBuilder) BuildVCLFile() (string, []string, error)
BuildVCLFile builds the default VCL file.
Click to show internal directories.
Click to hide internal directories.