Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCancelWatch = errors.New("cancel watch")
Functions ¶
Types ¶
type Applier ¶
type Applier interface { Callback([]*registry.ServiceInstance) error Canceled() bool }
type BuildContext ¶
type BuildContext struct { TLSConfigs map[string]*tls.Config TLSClientStore *HTTPSClientStore }
func EmptyBuildContext ¶
func EmptyBuildContext() *BuildContext
func NewBuildContext ¶
func NewBuildContext(cfg *config.Gateway) *BuildContext
type Factory ¶
type Factory func(*BuildContext, *config.Endpoint) (Client, error)
Factory is returns service client.
type HTTPSClientStore ¶
type HTTPSClientStore struct {
// contains filtered or unexported fields
}
func NewHTTPSClientStore ¶
func NewHTTPSClientStore(clientConfigs map[string]*tls.Config) *HTTPSClientStore
type NewNodeOption ¶
type NewNodeOption func(*NodeOptions)
func WithTLS ¶
func WithTLS(in bool) NewNodeOption
func WithTLSConfigName ¶
func WithTLSConfigName(in string) NewNodeOption
type NodeOptions ¶
Click to show internal directories.
Click to hide internal directories.