Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DoNotCheckRuntimeOnInit = doNotCheckRuntimeOnInit{} //nolint:gochecknoglobals
Functions ¶
This section is empty.
Types ¶
type RuntimeOption ¶
type RuntimeOption interface {
Set(p *RuntimeOptions) error
}
func AllowDelayedStart ¶
func AllowDelayedStart(allowDelayedStartMax, allowDelayedStartTick time.Duration) RuntimeOption
func MapsDir ¶
func MapsDir(mapsDir string) RuntimeOption
func MasterSocket ¶
func MasterSocket(masterSocketPath string) RuntimeOption
func Socket ¶
func Socket(path string) RuntimeOption
func SocketDefault ¶
func SocketDefault() RuntimeOption
SocketDefault uses /var/run/haproxy.sock as socket path
Click to show internal directories.
Click to hide internal directories.