link.etcd package¶
Submodules¶
link.etcd.driver module¶
link.etcd.middleware module¶
-
class
link.etcd.middleware.EtcdMiddleware(*args, **kwargs)¶ Bases:
link.middleware.connectable.ConnectableMiddlewareMiddleware that connects to etcd.
The following operations are available:
client = EtcdMiddleware() client['/path'] = value value = client['/path'] del client['/path'] '/path' in client
If
valueis adict, then paths are created recursively. Ifvalueis alist, then items are appended to the directory.