haproxy

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: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HAProxy

type HAProxy struct {
	Ready chan struct{}
	// contains filtered or unexported fields
}

func New

func New(consulClient *api.Client, cfg chan consul.Config, opts Options) *HAProxy

func (*HAProxy) Run

func (h *HAProxy) Run(sd *lib.Shutdown) error

type Options

type Options struct {
	HAProxyBin           string
	DataplaneBin         string
	ConfigBaseDir        string
	SPOEAddress          string
	EnableIntentions     bool
	StatsListenAddr      string
	StatsRegisterService bool
	LogRequests          bool
}

type SPOEHandler

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

func NewSPOEHandler

func NewSPOEHandler(c *api.Client, cfg func() consul.Config) *SPOEHandler

func (*SPOEHandler) Handler

func (h *SPOEHandler) Handler(msgs *spoe.MessageIterator) ([]spoe.Action, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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