client

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscoverer

func NewDiscoverer(nodeName string, logger *logrus.Logger) (client.Discoverer, error)

NewDiscoverer instantiates a new Discoverer

func NewDiscoveryCacher

func NewDiscoveryCacher(discoverer client.Discoverer, storage storage.Storage, ttl time.Duration, logger *logrus.Logger) *client.DiscoveryCacher

NewDiscoveryCacher creates a new DiscoveryCacher that wraps a discoverer and caches the data into the specified storage

Types

This section is empty.

Jump to

Keyboard shortcuts

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