watcher

package
v2.10.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatcher

func NewWatcher(etcdClient *etcdclient.Client, etcdPath string) (notifiers.Watcher, error)

NewWatcher creates a new watcher.

Types

type Constructor

type Constructor struct {
	Name     string
	EtcdPath string
}

Constructor holds fields to create an annotated instance of etcd Watcher.

func (Constructor) Annotate

func (c Constructor) Annotate() fx.Option

Annotate creates an annotated instance of etcd Watcher.

Jump to

Keyboard shortcuts

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