etcd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEtcdConfig

func NewEtcdConfig(cli *clientv3.Client, opts ...Option) (hconf.DataSource, error)

func NewOptions

func NewOptions(opts ...Option) *options

Types

type Option

type Option func(*options)

func WithContext

func WithContext(ctx context.Context) Option

func WithPaths

func WithPaths(path ...string) Option

func WithRoot

func WithRoot(prefix string) Option

Jump to

Keyboard shortcuts

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