config

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 18 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) CDS

func (c *ConfigCtx) CDS(name string) bind.StreamDialer

func (*ConfigCtx) EDS

func (c *ConfigCtx) EDS(name string) bind.StreamDialer

func (*ConfigCtx) LDS

func (c *ConfigCtx) LDS(name string) bind.Service

func (*ConfigCtx) RDS

func (c *ConfigCtx) RDS(name string) bind.HTTPHandler

func (*ConfigCtx) RegisterCDS

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

func (*ConfigCtx) RegisterEDS

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

func (*ConfigCtx) RegisterLDS

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

func (*ConfigCtx) RegisterRDS

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

func (*ConfigCtx) RegisterSDS

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

func (*ConfigCtx) SDS

func (c *ConfigCtx) SDS(name string) bind.TLS

func (*ConfigCtx) Update

func (c *ConfigCtx) Update()

func (*ConfigCtx) Watch

func (c *ConfigCtx) Watch(ctx context.Context, update func())

Jump to

Keyboard shortcuts

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