consul

package
v0.0.0-...-dab5682 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SPOEHandler

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

func NewSPOEHandler

func NewSPOEHandler(c *consul.Client, serviceName string, rootCAs func() *x509.CertPool) *SPOEHandler

func (*SPOEHandler) Handler

func (h *SPOEHandler) Handler(args []spoe.Message) ([]spoe.Action, error)

type Watcher

type Watcher struct {
	C chan haproxy.Configuration

	CertCA     []haproxy.Secret
	CertCAPool *x509.CertPool
	// contains filtered or unexported fields
}

func New

func New(service string, consul *api.Client) *Watcher

func (*Watcher) Run

func (w *Watcher) Run() error

Jump to

Keyboard shortcuts

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