Documentation ¶
Index ¶
- func GetMapPath(name string) string
- type Backend
- func (b *Backend) UpdateAbortOnClose(value string) error
- func (b *Backend) UpdateBalance(value string) error
- func (b *Backend) UpdateCheckTimeout(value string) error
- func (b *Backend) UpdateCookie(cookie *models.Cookie) error
- func (b *Backend) UpdateForwardfor(value string) error
- func (b *Backend) UpdateHttpchk(value string) error
- type MapID
- type Maps
- type Rule
- type RuleStatus
- type RuleType
- type Rules
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapPath ¶ added in v1.5.0
Types ¶
type Backend ¶ added in v1.4.3
type Backend models.Backend
func (*Backend) UpdateAbortOnClose ¶ added in v1.4.3
func (*Backend) UpdateBalance ¶ added in v1.4.3
func (*Backend) UpdateCheckTimeout ¶ added in v1.4.3
func (*Backend) UpdateCookie ¶ added in v1.4.3
func (*Backend) UpdateForwardfor ¶ added in v1.4.3
func (*Backend) UpdateHttpchk ¶ added in v1.4.3
type Maps ¶
type Maps map[string]*mapFile
func NewMapFiles ¶
func (Maps) SetPreserve ¶ added in v1.5.0
SetPreserve sets the preserve flag on a mapFile
type Rule ¶ added in v1.5.0
type Rule interface { GetID() uint32 GetType() RuleType Create(client api.HAProxyClient, frontend *models.Frontend) error }
type RuleStatus ¶ added in v1.5.0
type RuleStatus int
const ( TO_DELETE RuleStatus = iota TO_CREATE CREATED )
nolint
type RuleType ¶ added in v1.5.0
type RuleType int
Order matters ! Rules will be evaluated by HAProxy in the defined order.
type Rules ¶ added in v1.5.0
type Rules map[string]*frontendRules
func (Rules) EnableSSLPassThrough ¶ added in v1.5.0
type Server ¶ added in v1.4.3
type Server models.Server
func (*Server) ResetSendProxy ¶
func (s *Server) ResetSendProxy()
func (*Server) UpdateCheck ¶ added in v1.4.3
func (*Server) UpdateInter ¶ added in v1.4.3
func (*Server) UpdateMaxconn ¶ added in v1.4.3
func (*Server) UpdateSendProxy ¶
func (*Server) UpdateServerSsl ¶ added in v1.4.3
Click to show internal directories.
Click to hide internal directories.