GetEntries queries the given prefix in etcd and returns a slice containing the values of all keys found, recursively, underneath that prefix.
(prefix string)
| 25 | // containing the values of all keys found, recursively, underneath that |
| 26 | // prefix. |
| 27 | GetEntries(prefix string) ([]string, error) |
| 28 | |
| 29 | // WatchPrefix watches the given prefix in etcd for changes. When a change |
| 30 | // is detected, it will signal on the passed channel. Clients are expected |
no outgoing calls