python-etcd3-async 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- etcd3/__init__.py +90 -0
- etcd3/async_client.py +1495 -0
- etcd3/async_client_extensions.py +878 -0
- etcd3/async_endpoint.py +140 -0
- etcd3/async_managers.py +498 -0
- etcd3/async_monitor.py +16 -0
- etcd3/async_watch.py +462 -0
- etcd3/client.py +2021 -0
- etcd3/endpoint.py +79 -0
- etcd3/events.py +40 -0
- etcd3/exceptions.py +47 -0
- etcd3/exporters/__init__.py +18 -0
- etcd3/exporters/prometheus.py +365 -0
- etcd3/leases.py +106 -0
- etcd3/locks.py +593 -0
- etcd3/log.py +146 -0
- etcd3/log_formatters.py +228 -0
- etcd3/log_sampling.py +221 -0
- etcd3/members.py +44 -0
- etcd3/observability.py +431 -0
- etcd3/shared.py +486 -0
- etcd3/trace.py +231 -0
- etcd3/trace_attributes.py +434 -0
- etcd3/transactions.py +280 -0
- etcd3/utils.py +158 -0
- etcd3/watch.py +270 -0
- etcdrpc/__init__.py +16 -0
- etcdrpc/auth.proto +49 -0
- etcdrpc/auth_pb2.py +43 -0
- etcdrpc/auth_pb2.pyi +44 -0
- etcdrpc/auth_pb2_grpc.py +24 -0
- etcdrpc/kv.proto +43 -0
- etcdrpc/kv_pb2.py +40 -0
- etcdrpc/kv_pb2.pyi +39 -0
- etcdrpc/kv_pb2_grpc.py +24 -0
- etcdrpc/rpc.proto +924 -0
- etcdrpc/rpc_pb2.py +237 -0
- etcdrpc/rpc_pb2.pyi +811 -0
- etcdrpc/rpc_pb2_grpc.py +1893 -0
- python_etcd3_async-0.1.0.dist-info/METADATA +328 -0
- python_etcd3_async-0.1.0.dist-info/RECORD +42 -0
- python_etcd3_async-0.1.0.dist-info/WHEEL +4 -0
etcd3/__init__.py
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import etcdrpc
|
|
2
|
+
from etcd3.client import Endpoint
|
|
3
|
+
from etcd3.client import Etcd3Client
|
|
4
|
+
from etcd3.client import MultiEndpointEtcd3Client
|
|
5
|
+
from etcd3.client import Transactions
|
|
6
|
+
from etcd3.client import client
|
|
7
|
+
from etcd3.client import ClientConfig
|
|
8
|
+
from etcd3.client import RangeRequestConfig
|
|
9
|
+
from etcd3.async_client import AsyncEndpoint
|
|
10
|
+
from etcd3.async_client import AsyncEtcd3Client
|
|
11
|
+
from etcd3.async_client import AsyncMultiEndpointEtcd3Client
|
|
12
|
+
from etcd3.async_client import async_client
|
|
13
|
+
from etcd3.async_client import AsyncClientConfig
|
|
14
|
+
from etcd3.async_client import AsyncMultiEndpointConfig
|
|
15
|
+
from etcd3.async_client_extensions import get_request_context, set_request_context
|
|
16
|
+
from etcd3.exceptions import Etcd3Exception
|
|
17
|
+
from etcd3.observability import ObservabilityConfig
|
|
18
|
+
from etcd3.observability import get_default_config
|
|
19
|
+
from etcd3.observability import get_development_config
|
|
20
|
+
from etcd3.observability import get_production_config
|
|
21
|
+
from etcd3.observability import configure_from_env
|
|
22
|
+
from etcd3.observability import auto_init
|
|
23
|
+
from etcd3.observability import is_initialized
|
|
24
|
+
from etcd3.leases import Lease
|
|
25
|
+
from etcd3.leases import AsyncLease
|
|
26
|
+
from etcd3.locks import Lock
|
|
27
|
+
from etcd3.locks import AsyncLock
|
|
28
|
+
from etcd3.members import Member
|
|
29
|
+
from etcd3.utils import FILTER_PUT
|
|
30
|
+
from etcd3.utils import FILTER_DELETE
|
|
31
|
+
from etcd3.utils import FILTER_COMMIT
|
|
32
|
+
from etcd3.utils import LoadBalancerStrategy
|
|
33
|
+
from etcd3.log import get_logger
|
|
34
|
+
from etcd3.log import set_log_level
|
|
35
|
+
from etcd3.log import get_trace_context
|
|
36
|
+
from etcd3.trace import get_tracer
|
|
37
|
+
from etcd3.trace import is_tracing_available
|
|
38
|
+
from etcd3.trace import create_span
|
|
39
|
+
from etcd3.exporters.prometheus import EtcdPrometheusExporter
|
|
40
|
+
from etcd3.exporters.prometheus import get_exporter
|
|
41
|
+
from etcd3.exporters.prometheus import is_prometheus_available
|
|
42
|
+
|
|
43
|
+
__author__ = "owasd"
|
|
44
|
+
__email__ = ""
|
|
45
|
+
__version__ = "0.1.0"
|
|
46
|
+
|
|
47
|
+
__all__ = (
|
|
48
|
+
"etcdrpc",
|
|
49
|
+
"Endpoint",
|
|
50
|
+
"Etcd3Client",
|
|
51
|
+
"Etcd3Exception",
|
|
52
|
+
"Transactions",
|
|
53
|
+
"client",
|
|
54
|
+
"Lease",
|
|
55
|
+
"AsyncLease",
|
|
56
|
+
"Lock",
|
|
57
|
+
"AsyncLock",
|
|
58
|
+
"Member",
|
|
59
|
+
"MultiEndpointEtcd3Client",
|
|
60
|
+
"AsyncEndpoint",
|
|
61
|
+
"AsyncEtcd3Client",
|
|
62
|
+
"AsyncMultiEndpointEtcd3Client",
|
|
63
|
+
"async_client",
|
|
64
|
+
"ClientConfig",
|
|
65
|
+
"RangeRequestConfig",
|
|
66
|
+
"AsyncClientConfig",
|
|
67
|
+
"AsyncMultiEndpointConfig",
|
|
68
|
+
"FILTER_PUT",
|
|
69
|
+
"FILTER_DELETE",
|
|
70
|
+
"FILTER_COMMIT",
|
|
71
|
+
"LoadBalancerStrategy",
|
|
72
|
+
"get_request_context",
|
|
73
|
+
"set_request_context",
|
|
74
|
+
"ObservabilityConfig",
|
|
75
|
+
"get_default_config",
|
|
76
|
+
"get_development_config",
|
|
77
|
+
"get_production_config",
|
|
78
|
+
"configure_from_env",
|
|
79
|
+
"auto_init",
|
|
80
|
+
"is_initialized",
|
|
81
|
+
"get_logger",
|
|
82
|
+
"set_log_level",
|
|
83
|
+
"get_trace_context",
|
|
84
|
+
"get_tracer",
|
|
85
|
+
"is_tracing_available",
|
|
86
|
+
"create_span",
|
|
87
|
+
"EtcdPrometheusExporter",
|
|
88
|
+
"get_exporter",
|
|
89
|
+
"is_prometheus_available",
|
|
90
|
+
)
|