Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrRouterConfigFileNotFound = "Configuration file not found" ErrRouterCAFileNotFound = "CA file not found" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRunner ¶
type CommandRunner struct {
// contains filtered or unexported fields
}
func CreateCommandRunner ¶
func CreateCommandRunner(scriptPath string, logger lager.Logger) *CommandRunner
func (*CommandRunner) Run ¶
func (cmd *CommandRunner) Run(forceHealthCheckToFail bool) error
type ConfigMarshaller ¶
type ConfigMarshaller interface {
Marshal(models.HAProxyConfig, config.BackendTLSConfig) string
}
func NewConfigMarshaller ¶
func NewConfigMarshaller(l lager.Logger) ConfigMarshaller
type Configurer ¶
type Configurer struct {
// contains filtered or unexported fields
}
func NewHaProxyConfigurer ¶
func NewHaProxyConfigurer(logger lager.Logger, configMarshaller ConfigMarshaller, baseConfigFilePath string, configFilePath string, monitor monitor.Monitor, scriptRunner ScriptRunner, backendTlsCfg config.BackendTLSConfig) (*Configurer, error)
func (*Configurer) Configure ¶
func (h *Configurer) Configure(routingTable models.RoutingTable, forceHealthCheckToFail bool) error
type ScriptRunner ¶
Click to show internal directories.
Click to hide internal directories.