--- /tmp/python-etcd3gw-0.2.5-1qucdkmp6/debian/python-etcd3gw-doc_0.2.5-1_all.deb +++ python-etcd3gw-doc_0.2.5-1_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2021-01-13 08:49:04.000000 debian-binary │ -rw-r--r-- 0 0 0 1592 2021-01-13 08:49:04.000000 control.tar.xz │ --rw-r--r-- 0 0 0 22536 2021-01-13 08:49:04.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 22540 2021-01-13 08:49:04.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -30,17 +30,17 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 350 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/_static/documentation_options.js │ │ │ -rw-r--r-- 0 root (0) root (0) 286 2021-01-01 06:53:29.000000 ./usr/share/doc/python-etcd3gw-doc/html/_static/file.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2021-01-01 06:53:29.000000 ./usr/share/doc/python-etcd3gw-doc/html/_static/minus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2021-01-01 06:53:29.000000 ./usr/share/doc/python-etcd3gw-doc/html/_static/plus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 4780 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/_static/pygments.css │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/ │ │ │ -rw-r--r-- 0 root (0) root (0) 4844 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/autoindex.html │ │ │ --rw-r--r-- 0 root (0) root (0) 27346 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.client.html │ │ │ --rw-r--r-- 0 root (0) root (0) 8381 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.lease.html │ │ │ --rw-r--r-- 0 root (0) root (0) 7776 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.lock.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 27352 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.client.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 8382 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.lease.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 7777 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.lock.html │ │ │ -rw-r--r-- 0 root (0) root (0) 4299 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.utils.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5062 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/contributing.html │ │ │ -rw-r--r-- 0 root (0) root (0) 12106 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/genindex.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5899 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 4373 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/installation.html │ │ │ -rw-r--r-- 0 root (0) root (0) 660 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/objects.inv │ │ │ -rw-r--r-- 0 root (0) root (0) 4797 2021-01-13 08:49:04.000000 ./usr/share/doc/python-etcd3gw-doc/html/py-modindex.html │ │ ├── ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.client.html │ │ │ @@ -30,35 +30,35 @@ │ │ │
│ │ │ │ │ │
│ │ │

The etcd3gw.client Module

│ │ │
│ │ │
│ │ │ class etcd3gw.client.Etcd3Client(host='localhost', port=2379, protocol='http', ca_cert=None, cert_key=None, cert_cert=None, timeout=None)[source]
│ │ │ -

Bases: object

│ │ │ +

Bases: object

│ │ │
│ │ │
│ │ │ create(key, value)[source]
│ │ │

Atomically create the given key only if the key doesn’t exist.

│ │ │

This verifies that the create_revision of a key equales to 0, then │ │ │ creates the key with the value. │ │ │ This operation takes place in a transaction.

│ │ │
│ │ │
Parameters
│ │ │
    │ │ │
  • key – key in etcd to create

  • │ │ │ -
  • value (bytes or string) – value of the key

  • │ │ │ +
  • value (bytes or string) – value of the key

  • │ │ │
│ │ │
│ │ │
Returns
│ │ │

status of transaction, True if the create was │ │ │ successful, False otherwise

│ │ │
│ │ │
Return type
│ │ │ -

bool

│ │ │ +

bool

│ │ │
│ │ │
│ │ │
│ │ │ │ │ │
│ │ │
│ │ │ delete(key, **kwargs)[source]
│ │ │ @@ -232,24 +232,24 @@ │ │ │

This compares the current value of a key, then replaces it with a new │ │ │ value if it is equal to a specified value. This operation takes place │ │ │ in a transaction.

│ │ │
│ │ │
Parameters
│ │ │
    │ │ │
  • key – key in etcd to replace

  • │ │ │ -
  • initial_value (bytes or string) – old value to replace

  • │ │ │ -
  • new_value (bytes or string) – new value of the key

  • │ │ │ +
  • initial_value (bytes or string) – old value to replace

  • │ │ │ +
  • new_value (bytes or string) – new value of the key

  • │ │ │
│ │ │
│ │ │
Returns
│ │ │

status of transaction, True if the replace was │ │ │ successful, False otherwise

│ │ │
│ │ │
Return type
│ │ │ -

bool

│ │ │ +

bool

│ │ │
│ │ │
│ │ │
│ │ │ │ │ │
│ │ │
│ │ │ status()[source]
│ │ ├── ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.lease.html │ │ │ @@ -30,15 +30,15 @@ │ │ │
│ │ │ │ │ │
│ │ │

The etcd3gw.lease Module

│ │ │
│ │ │
│ │ │ class etcd3gw.lease.Lease(id, client=None)[source]
│ │ │ -

Bases: object

│ │ │ +

Bases: object

│ │ │
│ │ │
│ │ │ keys()[source]
│ │ │

Get the keys associated with this lease.

│ │ │
│ │ │
Returns
│ │ │

│ │ ├── ./usr/share/doc/python-etcd3gw-doc/html/api/etcd3gw.lock.html │ │ │ @@ -30,15 +30,15 @@ │ │ │
│ │ │ │ │ │
│ │ │

The etcd3gw.lock Module

│ │ │
│ │ │
│ │ │ class etcd3gw.lock.Lock(name, ttl=30, client=None)[source]
│ │ │ -

Bases: object

│ │ │ +

Bases: object

│ │ │
│ │ │
│ │ │ acquire()[source]
│ │ │

Acquire the lock.

│ │ │
│ │ │ │ │ │