Help us shape the future of Go! Take the 2026 Go Developer Survey

haproxy

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReloadAgent

type ReloadAgent struct {
	// contains filtered or unexported fields
}

ReloadAgent handles all reloads, scheduled or forced

func (*ReloadAgent) ForceReload

func (ra *ReloadAgent) ForceReload() error

ForceReload calls reload directly

func (*ReloadAgent) GetReload

func (ra *ReloadAgent) GetReload(id string) *models.Reload

func (*ReloadAgent) GetReloads

func (ra *ReloadAgent) GetReloads() models.Reloads

func (*ReloadAgent) Init

func (ra *ReloadAgent) Init(delay int, reloadCmd string, restartCmd string, configFile string, retention int) error

Init a new reload agent

func (*ReloadAgent) Reload

func (ra *ReloadAgent) Reload() string

Reload schedules a reload

type ReloadError

type ReloadError struct {
	// contains filtered or unexported fields
}

ReloadError general configuration client error

func NewReloadError

func NewReloadError(msg string) *ReloadError

NewReloadError contstructor for ReloadError

func (*ReloadError) Error

func (e *ReloadError) Error() string

Error implementation for ConfError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL