haproxy_cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultDataplaneBin is the default dataplaneapi program name
	DefaultDataplaneBin = "dataplaneapi"
	// DefaultHAProxyBin is the default HAProxy program name
	DefaultHAProxyBin = "haproxy"
)

Variables

This section is empty.

Functions

func CheckEnvironment

func CheckEnvironment(dataplaneapiBin, haproxyBin string) error

CheckEnvironment Verifies that all dependencies are correct

func Start

func Start(sd *lib.Shutdown, cfg Config) (*dataplane.Dataplane, error)

Types

type Config

type Config struct {
	HAProxyPath             string
	HAProxyConfigPath       string
	DataplanePath           string
	DataplaneTransactionDir string
	DataplaneSock           string
	DataplaneUser           string
	DataplanePass           string
}

type Logger

type Logger func(io.Reader)

Jump to

Keyboard shortcuts

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