etcdvar

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package etcdvar provides a runtimevar.Driver implementation to read variables from etcd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string, cli *clientv3.Client, decoder *runtimevar.Decoder, _ *Options) (*runtimevar.Variable, error)

New constructs a runtimevar.Variable object that uses client to watch variables in etcd. Provide a decoder to unmarshal updated configurations into similar objects during the Watch call.

Types

type Options

type Options struct{}

Options sets options. It is provided for future extensibility.

Jump to

Keyboard shortcuts

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