link.etcd
stable
  • Tutorial
  • API documentation
    • link.etcd package
      • Submodules
      • link.etcd.driver module
      • link.etcd.middleware module
      • Module contents
link.etcd
  • Docs »
  • API documentation »
  • link.etcd package
  • Edit on GitHub

link.etcd package¶

Submodules¶

link.etcd.driver module¶

class link.etcd.driver.EtcdConfDriver(*args, **kwargs)¶

Bases: b3j0f.conf.driver.base.ConfDriver

Driver that reads configuration from etcd.

resource()¶
rscpaths(path)¶

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 a dict, then paths are created recursively. If value is a list, then items are appended to the directory.

Module contents¶

Previous

© Copyright 2016, David Delassus. Revision cacecb1b.

Built with Sphinx using a theme provided by Read the Docs.