Documentation ¶
Index ¶
Constants ¶
View Source
const Nobody = 65534
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
LoadBalancers []*LoadBalancer
}
type HAProxyManager ¶
type HAProxyManager struct {
// contains filtered or unexported fields
}
func NewHAProxyManager ¶
func NewHAProxyManager(configFile, service string) (ha *HAProxyManager, err error)
func (*HAProxyManager) UpdateConfig ¶
func (ha *HAProxyManager) UpdateConfig(ctx context.Context, lbs Config) error
type LoadBalancer ¶
type ServiceManager ¶
type SystemdManager ¶
type SystemdManager struct {
// contains filtered or unexported fields
}
func NewSystemdManager ¶
func NewSystemdManager(service string) *SystemdManager
Click to show internal directories.
Click to hide internal directories.