config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(client *clientv3.Client, opts ...Option) (*source, error)

Types

type Option

type Option func(o *options)

Option is etcd config option.

func Context

func Context(ctx context.Context) Option

Context with registry context.

func Path

func Path(p string) Option

Path is config path

func Prefix

func Prefix(prefix bool) Option

Prefix is config prefix

Jump to

Keyboard shortcuts

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