template

package
v0.0.0-...-56e15b1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ACLName

func ACLName(v string) string

<aclname>: name of the acl, usually tries to describe it as much as possible.

It must be formed from upper and lower case letters, digits, ‘-‘ (dash), ‘_’ (underscore) , ‘.’ (dot) and ‘:’ (colon). It is case sensitive, so my_acl and My_Acl are two different ACLs.

ref: https://www.haproxy.com/documentation/aloha/7-0/haproxy/acls/

func BackendHash

func BackendHash(value string, index int, mode string) string

func HeaderName

func HeaderName(v string) string

func HostACLs

func HostACLs(host string, port int, nodePort int32, useNodePort bool) []string

func LoadTemplates

func LoadTemplates(builtin, custom string) error

func RenderConfig

func RenderConfig(data hpi.TemplateData) (string, error)

func SNIMatcher

func SNIMatcher(offloadSSL bool, host string) string

func ValidateConfig

func ValidateConfig(cfg string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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