haproxy

package
v3.10.0-0.66.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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