haproxy

package
v3.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendConfig

type BackendConfig struct {
	Name           string
	Host           string
	Path           string
	IsWildcard     bool
	Termination    routeapi.TLSTerminationType
	InsecurePolicy routeapi.InsecureEdgeTerminationPolicyType
	HasCertificate bool
}

BackendConfig is the haproxy backend config.

type HAProxyMapEntry

type HAProxyMapEntry struct {
	Key   string
	Value string
}

HAProxyMapEntry is a haproxy map entry.

func GenerateMapEntry

func GenerateMapEntry(id string, cfg *BackendConfig) *HAProxyMapEntry

GenerateMapEntry generates a haproxy map entry.

Jump to

Keyboard shortcuts

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