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 ¶
Click to show internal directories.
Click to hide internal directories.