backends

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0, Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

View Source
const Etcdv3BackendType = "libconfd-backend-etcdv3"
View Source
const MetadBackendType = "libconfd-backend-metad"

Variables

This section is empty.

Functions

Types

type MetadClient

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

func NewMetadClient

func NewMetadClient(backendNodes []string) (*MetadClient, error)

func (*MetadClient) Close

func (c *MetadClient) Close() error

func (*MetadClient) GetValues

func (c *MetadClient) GetValues(keys []string) (map[string]string, error)

func (*MetadClient) Type

func (c *MetadClient) Type() string

func (*MetadClient) WatchEnabled

func (c *MetadClient) WatchEnabled() bool

func (*MetadClient) WatchPrefix

func (c *MetadClient) WatchPrefix(prefix string, keys []string, waitIndex uint64, stopChan chan bool) (uint64, error)

type MetadConnection

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

Jump to

Keyboard shortcuts

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