haproxy

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 35 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(args []spoe.Message) ([]spoe.Action, error)

type Stats

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

func (*Stats) Run

func (s *Stats) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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