Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher syncs updates from etcd into a given FlagSet.
func New ¶
func New(set *flag.FlagSet, keysApi etcd.KeysAPI, etcdPath string, logger loggerCompatible) (*Watcher, error)
New constructs a new Watcher
func (*Watcher) Initialize ¶
Initialize performs the initial read of etcd and sets all flags (dynamic and static) into FlagSet.
Click to show internal directories.
Click to hide internal directories.