Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
AcquireTCPBackend(servicename string, port int) *hatypes.TCPBackend
AcquireHost(hostname string) *hatypes.Host
FindHost(hostname string) *hatypes.Host
AcquireBackend(namespace, name, port string) *hatypes.Backend
FindBackend(namespace, name, port string) *hatypes.Backend
ConfigDefaultBackend(defaultBackend *hatypes.Backend)
ConfigDefaultX509Cert(filename string)
AddUserlist(name string, users []hatypes.User) *hatypes.Userlist
FindUserlist(name string) *hatypes.Userlist
FrontendGroup() *hatypes.FrontendGroup
BuildFrontendGroup() error
BuildBackendMaps() error
DefaultHost() *hatypes.Host
DefaultBackend() *hatypes.Backend
Global() *hatypes.Global
TCPBackends() []*hatypes.TCPBackend
Hosts() []*hatypes.Host
Backends() []*hatypes.Backend
Userlists() []*hatypes.Userlist
Equals(other Config) bool
}
Config ...
type Instance ¶
Instance ...
func CreateInstance ¶
func CreateInstance(logger types.Logger, bindUtils hatypes.BindUtils, options InstanceOptions) Instance
CreateInstance ...
Click to show internal directories.
Click to hide internal directories.