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