Documentation ¶
Index ¶
- type AclUser
- type BufferNewLine
- type ComputedAcl
- type ComputedBackend
- type ComputedFrontend
- type ComputedHaproxyConfig
- type ComputedServer
- type CustomCert
- type DumpResponse
- type HaproxyConfig
- type HaproxyLb
- func (h *HaproxyLb) AddBackend(options types.BackendAddOptions) error
- func (h *HaproxyLb) AddFrontend(options types.FrontendAddOptions) error
- func (h *HaproxyLb) DeleteBackend(options types.BackendDeleteOptions) error
- func (h *HaproxyLb) DeleteFrontend(options types.FrontendDeleteOptions) error
- func (h *HaproxyLb) Dump() (dumpResponse DumpResponse, err error)
- func (h *HaproxyLb) GetFrontend(name string) (hatypes.Frontend, error)
- func (h *HaproxyLb) GetFrontends() []hatypes.Frontend
- type LoadBalancer
- type Options
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferNewLine ¶
func (*BufferNewLine) WriteNewLine ¶
func (b *BufferNewLine) WriteNewLine(str string) (n int, err error)
type ComputedAcl ¶
type ComputedBackend ¶
type ComputedBackend struct { Name string Mode string Lines []string Servers []ComputedServer }
type ComputedFrontend ¶
type ComputedFrontend struct { Name string Lines []string Backends []ComputedBackend }
type ComputedHaproxyConfig ¶
type ComputedHaproxyConfig struct { Frontends []ComputedFrontend Acls []ComputedAcl Stats Stats }
type ComputedServer ¶
type CustomCert ¶
type DumpResponse ¶
type HaproxyConfig ¶
type HaproxyConfig struct { Frontends []hatypes.Frontend Letsencryptaddress string CustomCerts []CustomCert }
type HaproxyLb ¶
type HaproxyLb struct { LeContents []byte Options Options // contains filtered or unexported fields }
func (*HaproxyLb) AddBackend ¶
func (h *HaproxyLb) AddBackend(options types.BackendAddOptions) error
func (*HaproxyLb) AddFrontend ¶
func (h *HaproxyLb) AddFrontend(options types.FrontendAddOptions) error
func (*HaproxyLb) DeleteBackend ¶
func (h *HaproxyLb) DeleteBackend(options types.BackendDeleteOptions) error
func (*HaproxyLb) DeleteFrontend ¶
func (h *HaproxyLb) DeleteFrontend(options types.FrontendDeleteOptions) error
func (*HaproxyLb) Dump ¶
func (h *HaproxyLb) Dump() (dumpResponse DumpResponse, err error)
func (*HaproxyLb) GetFrontend ¶
func (*HaproxyLb) GetFrontends ¶
type LoadBalancer ¶
type LoadBalancer interface { AddFrontend(options types.FrontendAddOptions) error AddBackend(options types.BackendAddOptions) error Dump() (string, error) }
Click to show internal directories.
Click to hide internal directories.