config

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAdminWithHTTPHandler

func BuildAdminWithHTTPHandler() bind.HTTPHandler

func BuildHealthWithHTTPHandler

func BuildHealthWithHTTPHandler() bind.HTTPHandler

func BuildPrometheusWithHTTPHandler

func BuildPrometheusWithHTTPHandler() bind.HTTPHandler

Types

type ConfigCtx

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

func NewConfigCtx

func NewConfigCtx(ctx context.Context, cli *adsc.ADSC, basePath string, interval time.Duration) *ConfigCtx

func (*ConfigCtx) RegisterADS

func (c *ConfigCtx) RegisterADS(name string, dialer bind.StreamDialer)

func (*ConfigCtx) RegisterCDS

func (c *ConfigCtx) RegisterCDS(name string, dialer bind.StreamDialer, msg proto.Message)

func (*ConfigCtx) RegisterEDS

func (c *ConfigCtx) RegisterEDS(name string, dialer bind.StreamDialer, msg proto.Message)

func (*ConfigCtx) RegisterLDS

func (c *ConfigCtx) RegisterLDS(name string, service bind.Service, msg proto.Message)

func (*ConfigCtx) RegisterRDS

func (c *ConfigCtx) RegisterRDS(name string, handler bind.HTTPHandler, msg proto.Message)

func (*ConfigCtx) RegisterSDS

func (c *ConfigCtx) RegisterSDS(name string, tls bind.TLS, msg proto.Message)

func (*ConfigCtx) Run

func (c *ConfigCtx) Run(ctx context.Context) error

func (*ConfigCtx) SetNodeID

func (c *ConfigCtx) SetNodeID(nodeid string)

Jump to

Keyboard shortcuts

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