haproxy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: Apache-2.0 Imports: 31 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 {
	// 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
}

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