xds-protos 1.69.0rc1__py3-none-any.whl → 1.70.0rc1__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.
- envoy/admin/v3/config_dump_shared_pb2.py +2 -2
- envoy/config/cluster/v3/cluster_pb2.py +73 -67
- envoy/config/core/v3/base_pb2.py +52 -46
- envoy/config/core/v3/protocol_pb2.py +35 -35
- envoy/config/core/v3/socket_cmsg_headers_pb2.py +28 -0
- envoy/config/core/v3/socket_option_pb2.py +12 -6
- envoy/config/filter/network/kafka_broker/v2alpha1/kafka_broker_pb2.py +10 -6
- envoy/config/grpc_credential/v3/aws_iam_pb2.py +7 -4
- envoy/config/listener/v3/listener_components_pb2.py +8 -10
- envoy/config/listener/v3/quic_config_pb2.py +6 -3
- envoy/config/overload/v3/overload_pb2.py +11 -11
- envoy/config/rbac/v3/rbac_pb2.py +25 -13
- envoy/config/route/v3/route_components_pb2.py +138 -131
- envoy/config/trace/v2/trace_pb2.py +1 -3
- envoy/config/trace/v3/trace_pb2.py +1 -3
- envoy/extensions/clusters/common/__init__.py +0 -0
- envoy/extensions/clusters/common/dns/__init__.py +0 -0
- envoy/extensions/clusters/common/dns/v3/__init__.py +0 -0
- envoy/extensions/clusters/common/dns/v3/dns_pb2.py +27 -0
- envoy/extensions/clusters/dns/__init__.py +0 -0
- envoy/extensions/clusters/dns/v3/__init__.py +0 -0
- envoy/extensions/clusters/dns/v3/dns_cluster_pb2.py +41 -0
- envoy/extensions/common/aws/__init__.py +0 -0
- envoy/extensions/common/aws/v3/__init__.py +0 -0
- envoy/extensions/common/aws/v3/credential_provider_pb2.py +48 -0
- envoy/extensions/common/ratelimit/v3/ratelimit_pb2.py +16 -15
- envoy/extensions/dynamic_modules/__init__.py +0 -0
- envoy/extensions/dynamic_modules/v3/__init__.py +0 -0
- envoy/extensions/dynamic_modules/v3/dynamic_modules_pb2.py +31 -0
- envoy/extensions/filters/http/api_key_auth/__init__.py +0 -0
- envoy/extensions/filters/http/api_key_auth/v3/__init__.py +0 -0
- envoy/extensions/filters/http/api_key_auth/v3/api_key_auth_pb2.py +50 -0
- envoy/extensions/filters/http/aws_request_signing/v3/aws_request_signing_pb2.py +10 -9
- envoy/extensions/filters/http/basic_auth/v3/basic_auth_pb2.py +7 -5
- envoy/extensions/filters/http/dynamic_modules/__init__.py +0 -0
- envoy/extensions/filters/http/dynamic_modules/v3/__init__.py +0 -0
- envoy/extensions/filters/http/dynamic_modules/v3/dynamic_modules_pb2.py +29 -0
- envoy/extensions/filters/http/ext_authz/v3/ext_authz_pb2.py +18 -17
- envoy/extensions/filters/http/ext_proc/v3/ext_proc_pb2.py +22 -16
- envoy/extensions/filters/http/ext_proc/v3/processing_mode_pb2.py +3 -3
- envoy/extensions/filters/http/grpc_json_reverse_transcoder/__init__.py +0 -0
- envoy/extensions/filters/http/grpc_json_reverse_transcoder/v3/__init__.py +0 -0
- envoy/extensions/filters/http/grpc_json_reverse_transcoder/v3/transcoder_pb2.py +33 -0
- envoy/extensions/filters/http/header_mutation/v3/header_mutation_pb2.py +8 -7
- envoy/extensions/filters/http/ip_tagging/v3/ip_tagging_pb2.py +12 -6
- envoy/extensions/filters/http/local_ratelimit/v3/local_rate_limit_pb2.py +4 -3
- envoy/extensions/filters/http/oauth2/v3/oauth_pb2.py +14 -11
- envoy/extensions/filters/http/proto_message_extraction/__init__.py +0 -0
- envoy/extensions/filters/http/proto_message_extraction/v3/__init__.py +0 -0
- envoy/extensions/filters/http/proto_message_extraction/v3/config_pb2.py +47 -0
- envoy/extensions/filters/http/ratelimit/v3/rate_limit_pb2.py +11 -63
- envoy/extensions/filters/network/generic_proxy/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/action/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/action/v3/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/action/v3/action_pb2.py +39 -0
- envoy/extensions/filters/network/generic_proxy/codecs/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/codecs/dubbo/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/codecs/dubbo/v3/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/codecs/dubbo/v3/dubbo_pb2.py +28 -0
- envoy/extensions/filters/network/generic_proxy/codecs/http1/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/codecs/http1/v3/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/codecs/http1/v3/http1_pb2.py +29 -0
- envoy/extensions/filters/network/generic_proxy/matcher/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/matcher/v3/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/matcher/v3/matcher_pb2.py +50 -0
- envoy/extensions/filters/network/generic_proxy/router/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/router/v3/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/router/v3/router_pb2.py +28 -0
- envoy/extensions/filters/network/generic_proxy/v3/__init__.py +0 -0
- envoy/extensions/filters/network/generic_proxy/v3/generic_proxy_pb2.py +46 -0
- envoy/extensions/filters/network/generic_proxy/v3/route_pb2.py +40 -0
- envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager_pb2.py +52 -52
- envoy/extensions/filters/network/redis_proxy/v3/redis_proxy_pb2.py +26 -23
- envoy/extensions/filters/network/sni_dynamic_forward_proxy/v3/sni_dynamic_forward_proxy_pb2.py +2 -2
- envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy_pb2.py +16 -15
- envoy/extensions/http/original_ip_detection/xff/v3/xff_pb2.py +7 -3
- envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin_pb2.py +2 -2
- envoy/extensions/matching/common_inputs/network/v3/network_inputs_pb2.py +13 -1
- envoy/extensions/matching/input_matchers/metadata/__init__.py +0 -0
- envoy/extensions/matching/input_matchers/metadata/v3/__init__.py +0 -0
- envoy/extensions/matching/input_matchers/metadata/v3/metadata_pb2.py +31 -0
- envoy/extensions/network/dns_resolver/cares/v3/cares_dns_resolver_pb2.py +6 -4
- envoy/extensions/network/dns_resolver/getaddrinfo/v3/getaddrinfo_dns_resolver_pb2.py +4 -3
- envoy/extensions/quic/connection_debug_visitor/quic_stats/__init__.py +0 -0
- envoy/extensions/quic/connection_debug_visitor/quic_stats/v3/__init__.py +0 -0
- envoy/extensions/quic/connection_debug_visitor/quic_stats/v3/quic_stats_pb2.py +31 -0
- envoy/extensions/quic/server_preferred_address/v3/datasource_pb2.py +5 -8
- envoy/extensions/quic/server_preferred_address/v3/fixed_server_preferred_address_config_pb2.py +5 -8
- envoy/extensions/resource_monitors/cpu_utilization/__init__.py +0 -0
- envoy/extensions/resource_monitors/cpu_utilization/v3/__init__.py +0 -0
- envoy/extensions/resource_monitors/cpu_utilization/v3/cpu_utilization_pb2.py +27 -0
- envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect_pb2.py +3 -6
- envoy/extensions/transport_sockets/proxy_protocol/v3/upstream_proxy_protocol_pb2.py +2 -2
- envoy/extensions/transport_sockets/tls/v3/common_pb2.py +14 -12
- envoy/extensions/transport_sockets/tls/v3/tls_pb2.py +16 -16
- envoy/extensions/wasm/v3/wasm_pb2.py +25 -17
- envoy/service/discovery/v3/discovery_pb2.py +25 -23
- envoy/service/ext_proc/v3/external_processor_pb2.py +11 -9
- envoy/service/ext_proc/v3/external_processor_pb2_grpc.py +0 -3
- envoy/service/extension/v3/config_discovery_pb2_grpc.py +9 -6
- envoy/service/ratelimit/v3/rls_pb2.py +12 -12
- envoy/service/redis_auth/__init__.py +0 -0
- envoy/service/redis_auth/v3/__init__.py +0 -0
- envoy/service/redis_auth/v3/redis_external_auth_pb2.py +33 -0
- envoy/service/redis_auth/v3/redis_external_auth_pb2_grpc.py +83 -0
- envoy/service/status/v3/csds_pb2.py +4 -4
- {xds_protos-1.69.0rc1.dist-info → xds_protos-1.70.0rc1.dist-info}/METADATA +1 -1
- {xds_protos-1.69.0rc1.dist-info → xds_protos-1.70.0rc1.dist-info}/RECORD +110 -51
- {xds_protos-1.69.0rc1.dist-info → xds_protos-1.70.0rc1.dist-info}/WHEEL +0 -0
- {xds_protos-1.69.0rc1.dist-info → xds_protos-1.70.0rc1.dist-info}/top_level.txt +0 -0
@@ -32,7 +32,6 @@ class ExternalProcessorStub(object):
|
|
32
32
|
In other words, the process is a request/response conversation, but
|
33
33
|
using a gRPC stream to make it easier for the server to
|
34
34
|
maintain state.
|
35
|
-
|
36
35
|
"""
|
37
36
|
|
38
37
|
def __init__(self, channel):
|
@@ -75,7 +74,6 @@ class ExternalProcessorServicer(object):
|
|
75
74
|
In other words, the process is a request/response conversation, but
|
76
75
|
using a gRPC stream to make it easier for the server to
|
77
76
|
maintain state.
|
78
|
-
|
79
77
|
"""
|
80
78
|
|
81
79
|
def Process(self, request_iterator, context):
|
@@ -130,7 +128,6 @@ class ExternalProcessor(object):
|
|
130
128
|
In other words, the process is a request/response conversation, but
|
131
129
|
using a gRPC stream to make it easier for the server to
|
132
130
|
maintain state.
|
133
|
-
|
134
131
|
"""
|
135
132
|
|
136
133
|
@staticmethod
|
@@ -9,13 +9,14 @@ class ExtensionConfigDiscoveryServiceStub(object):
|
|
9
9
|
"""[#protodoc-title: Extension config discovery service (ECDS)]
|
10
10
|
|
11
11
|
A service that supports dynamic configuration updates for a specific filter.
|
12
|
-
Currently, ECDS is supported for network filters, HTTP filters and Listener filters.
|
12
|
+
Currently, ECDS is supported for network filters, HTTP filters, UDP session filters and Listener filters.
|
13
13
|
Please check :ref:`Extension Config Discovery Service (ECDS) API <config_overview_extension_discovery>`.
|
14
14
|
The overall extension config discovery service works as follows:
|
15
15
|
|
16
16
|
1. A filter (:ref:`Downstream Network <envoy_v3_api_field_config.listener.v3.Filter.config_discovery>`,
|
17
17
|
:ref:`Upstream Network <envoy_v3_api_field_config.cluster.v3.Filter.config_discovery>`,
|
18
|
-
:ref:`Listener <envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery
|
18
|
+
:ref:`Listener <envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery>`,
|
19
|
+
:ref:`UDP Session <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter.config_discovery>`,
|
19
20
|
or :ref:`HTTP <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.config_discovery>`)
|
20
21
|
contains a :ref:`config_discovery <envoy_v3_api_msg_config.core.v3.ExtensionConfigSource>` configuration. This configuration
|
21
22
|
includes a :ref:`config_source <envoy_v3_api_field_config.core.v3.ExtensionConfigSource.config_source>`,
|
@@ -59,13 +60,14 @@ class ExtensionConfigDiscoveryServiceServicer(object):
|
|
59
60
|
"""[#protodoc-title: Extension config discovery service (ECDS)]
|
60
61
|
|
61
62
|
A service that supports dynamic configuration updates for a specific filter.
|
62
|
-
Currently, ECDS is supported for network filters, HTTP filters and Listener filters.
|
63
|
+
Currently, ECDS is supported for network filters, HTTP filters, UDP session filters and Listener filters.
|
63
64
|
Please check :ref:`Extension Config Discovery Service (ECDS) API <config_overview_extension_discovery>`.
|
64
65
|
The overall extension config discovery service works as follows:
|
65
66
|
|
66
67
|
1. A filter (:ref:`Downstream Network <envoy_v3_api_field_config.listener.v3.Filter.config_discovery>`,
|
67
68
|
:ref:`Upstream Network <envoy_v3_api_field_config.cluster.v3.Filter.config_discovery>`,
|
68
|
-
:ref:`Listener <envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery
|
69
|
+
:ref:`Listener <envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery>`,
|
70
|
+
:ref:`UDP Session <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter.config_discovery>`,
|
69
71
|
or :ref:`HTTP <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.config_discovery>`)
|
70
72
|
contains a :ref:`config_discovery <envoy_v3_api_msg_config.core.v3.ExtensionConfigSource>` configuration. This configuration
|
71
73
|
includes a :ref:`config_source <envoy_v3_api_field_config.core.v3.ExtensionConfigSource.config_source>`,
|
@@ -129,13 +131,14 @@ class ExtensionConfigDiscoveryService(object):
|
|
129
131
|
"""[#protodoc-title: Extension config discovery service (ECDS)]
|
130
132
|
|
131
133
|
A service that supports dynamic configuration updates for a specific filter.
|
132
|
-
Currently, ECDS is supported for network filters, HTTP filters and Listener filters.
|
134
|
+
Currently, ECDS is supported for network filters, HTTP filters, UDP session filters and Listener filters.
|
133
135
|
Please check :ref:`Extension Config Discovery Service (ECDS) API <config_overview_extension_discovery>`.
|
134
136
|
The overall extension config discovery service works as follows:
|
135
137
|
|
136
138
|
1. A filter (:ref:`Downstream Network <envoy_v3_api_field_config.listener.v3.Filter.config_discovery>`,
|
137
139
|
:ref:`Upstream Network <envoy_v3_api_field_config.cluster.v3.Filter.config_discovery>`,
|
138
|
-
:ref:`Listener <envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery
|
140
|
+
:ref:`Listener <envoy_v3_api_field_config.listener.v3.ListenerFilter.config_discovery>`,
|
141
|
+
:ref:`UDP Session <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter.config_discovery>`,
|
139
142
|
or :ref:`HTTP <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.config_discovery>`)
|
140
143
|
contains a :ref:`config_discovery <envoy_v3_api_msg_config.core.v3.ExtensionConfigSource>` configuration. This configuration
|
141
144
|
includes a :ref:`config_source <envoy_v3_api_field_config.core.v3.ExtensionConfigSource.config_source>`,
|
@@ -21,7 +21,7 @@ from udpa.annotations import versioning_pb2 as udpa_dot_annotations_dot_versioni
|
|
21
21
|
from validate import validate_pb2 as validate_dot_validate__pb2
|
22
22
|
|
23
23
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$envoy/service/ratelimit/v3/rls.proto\x12\x1a\x65nvoy.service.ratelimit.v3\x1a\x1f\x65nvoy/config/core/v3/base.proto\x1a\x34\x65nvoy/extensions/common/ratelimit/v3/ratelimit.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dudpa/annotations/status.proto\x1a!udpa/annotations/versioning.proto\x1a\x17validate/validate.proto\"\xbb\x01\n\x10RateLimitRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12N\n\x0b\x64\x65scriptors\x18\x02 \x03(\x0b\x32\x39.envoy.extensions.common.ratelimit.v3.RateLimitDescriptor\x12\x13\n\x0bhits_addend\x18\x03 \x01(\r:2\x9a\xc5\x88\x1e-\n+envoy.service.ratelimit.v2.RateLimitRequest\"\
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$envoy/service/ratelimit/v3/rls.proto\x12\x1a\x65nvoy.service.ratelimit.v3\x1a\x1f\x65nvoy/config/core/v3/base.proto\x1a\x34\x65nvoy/extensions/common/ratelimit/v3/ratelimit.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dudpa/annotations/status.proto\x1a!udpa/annotations/versioning.proto\x1a\x17validate/validate.proto\"\xbb\x01\n\x10RateLimitRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12N\n\x0b\x64\x65scriptors\x18\x02 \x03(\x0b\x32\x39.envoy.extensions.common.ratelimit.v3.RateLimitDescriptor\x12\x13\n\x0bhits_addend\x18\x03 \x01(\r:2\x9a\xc5\x88\x1e-\n+envoy.service.ratelimit.v2.RateLimitRequest\"\xc0\n\n\x11RateLimitResponse\x12H\n\x0coverall_code\x18\x01 \x01(\x0e\x32\x32.envoy.service.ratelimit.v3.RateLimitResponse.Code\x12P\n\x08statuses\x18\x02 \x03(\x0b\x32>.envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus\x12\x42\n\x17response_headers_to_add\x18\x03 \x03(\x0b\x32!.envoy.config.core.v3.HeaderValue\x12\x41\n\x16request_headers_to_add\x18\x04 \x03(\x0b\x32!.envoy.config.core.v3.HeaderValue\x12\x10\n\x08raw_body\x18\x05 \x01(\x0c\x12\x31\n\x10\x64ynamic_metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x42\n\x05quota\x18\x07 \x01(\x0b\x32\x33.envoy.service.ratelimit.v3.RateLimitResponse.Quota\x1a\x9e\x02\n\tRateLimit\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x19\n\x11requests_per_unit\x18\x01 \x01(\r\x12J\n\x04unit\x18\x02 \x01(\x0e\x32<.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit.Unit\"]\n\x04Unit\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SECOND\x10\x01\x12\n\n\x06MINUTE\x10\x02\x12\x08\n\x04HOUR\x10\x03\x12\x07\n\x03\x44\x41Y\x10\x04\x12\x08\n\x04WEEK\x10\x07\x12\t\n\x05MONTH\x10\x05\x12\x08\n\x04YEAR\x10\x06:=\x9a\xc5\x88\x1e\x38\n6envoy.service.ratelimit.v2.RateLimitResponse.RateLimit\x1ay\n\x05Quota\x12\x19\n\x08requests\x18\x01 \x01(\rB\x07\xfa\x42\x04*\x02 \x00\x12\x31\n\x0bvalid_until\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\n\n\x02id\x18\x03 \x01(\tB\x16\n\x14\x65xpiration_specifier\x1a\x80\x03\n\x10\x44\x65scriptorStatus\x12@\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x32.envoy.service.ratelimit.v3.RateLimitResponse.Code\x12N\n\rcurrent_limit\x18\x02 \x01(\x0b\x32\x37.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit\x12\x17\n\x0flimit_remaining\x18\x03 \x01(\r\x12\x37\n\x14\x64uration_until_reset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x42\n\x05quota\x18\x05 \x01(\x0b\x32\x33.envoy.service.ratelimit.v3.RateLimitResponse.Quota:D\x9a\xc5\x88\x1e?\n=envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus\"+\n\x04\x43ode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0e\n\nOVER_LIMIT\x10\x02:3\x9a\xc5\x88\x1e.\n,envoy.service.ratelimit.v2.RateLimitResponse2\x84\x01\n\x10RateLimitService\x12p\n\x0fShouldRateLimit\x12,.envoy.service.ratelimit.v3.RateLimitRequest\x1a-.envoy.service.ratelimit.v3.RateLimitResponse\"\x00\x42\x8d\x01\n(io.envoyproxy.envoy.service.ratelimit.v3B\x08RlsProtoP\x01ZMgithub.com/envoyproxy/go-control-plane/envoy/service/ratelimit/v3;ratelimitv3\xba\x80\xc8\xd1\x06\x02\x10\x02\x62\x06proto3')
|
25
25
|
|
26
26
|
_globals = globals()
|
27
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -42,17 +42,17 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
42
42
|
_globals['_RATELIMITREQUEST']._serialized_start=342
|
43
43
|
_globals['_RATELIMITREQUEST']._serialized_end=529
|
44
44
|
_globals['_RATELIMITRESPONSE']._serialized_start=532
|
45
|
-
_globals['_RATELIMITRESPONSE']._serialized_end=
|
45
|
+
_globals['_RATELIMITRESPONSE']._serialized_end=1876
|
46
46
|
_globals['_RATELIMITRESPONSE_RATELIMIT']._serialized_start=982
|
47
|
-
_globals['_RATELIMITRESPONSE_RATELIMIT']._serialized_end=
|
47
|
+
_globals['_RATELIMITRESPONSE_RATELIMIT']._serialized_end=1268
|
48
48
|
_globals['_RATELIMITRESPONSE_RATELIMIT_UNIT']._serialized_start=1112
|
49
|
-
_globals['_RATELIMITRESPONSE_RATELIMIT_UNIT']._serialized_end=
|
50
|
-
_globals['_RATELIMITRESPONSE_QUOTA']._serialized_start=
|
51
|
-
_globals['_RATELIMITRESPONSE_QUOTA']._serialized_end=
|
52
|
-
_globals['_RATELIMITRESPONSE_DESCRIPTORSTATUS']._serialized_start=
|
53
|
-
_globals['_RATELIMITRESPONSE_DESCRIPTORSTATUS']._serialized_end=
|
54
|
-
_globals['_RATELIMITRESPONSE_CODE']._serialized_start=
|
55
|
-
_globals['_RATELIMITRESPONSE_CODE']._serialized_end=
|
56
|
-
_globals['_RATELIMITSERVICE']._serialized_start=
|
57
|
-
_globals['_RATELIMITSERVICE']._serialized_end=
|
49
|
+
_globals['_RATELIMITRESPONSE_RATELIMIT_UNIT']._serialized_end=1205
|
50
|
+
_globals['_RATELIMITRESPONSE_QUOTA']._serialized_start=1270
|
51
|
+
_globals['_RATELIMITRESPONSE_QUOTA']._serialized_end=1391
|
52
|
+
_globals['_RATELIMITRESPONSE_DESCRIPTORSTATUS']._serialized_start=1394
|
53
|
+
_globals['_RATELIMITRESPONSE_DESCRIPTORSTATUS']._serialized_end=1778
|
54
|
+
_globals['_RATELIMITRESPONSE_CODE']._serialized_start=1780
|
55
|
+
_globals['_RATELIMITRESPONSE_CODE']._serialized_end=1823
|
56
|
+
_globals['_RATELIMITSERVICE']._serialized_start=1879
|
57
|
+
_globals['_RATELIMITSERVICE']._serialized_end=2011
|
58
58
|
# @@protoc_insertion_point(module_scope)
|
File without changes
|
File without changes
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: envoy/service/redis_auth/v3/redis_external_auth.proto
|
4
|
+
"""Generated protocol buffer code."""
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
8
|
+
from google.protobuf.internal import builder as _builder
|
9
|
+
# @@protoc_insertion_point(imports)
|
10
|
+
|
11
|
+
_sym_db = _symbol_database.Default()
|
12
|
+
|
13
|
+
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
15
|
+
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
|
16
|
+
from udpa.annotations import status_pb2 as udpa_dot_annotations_dot_status__pb2
|
17
|
+
|
18
|
+
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5envoy/service/redis_auth/v3/redis_external_auth.proto\x12\x1b\x65nvoy.service.redis_auth.v3\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x1dudpa/annotations/status.proto\"C\n\x1dRedisProxyExternalAuthRequest\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\x85\x01\n\x1eRedisProxyExternalAuthResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12.\n\nexpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07message\x18\x03 \x01(\t2\xa4\x01\n\x16RedisProxyExternalAuth\x12\x89\x01\n\x0c\x41uthenticate\x12:.envoy.service.redis_auth.v3.RedisProxyExternalAuthRequest\x1a;.envoy.service.redis_auth.v3.RedisProxyExternalAuthResponse\"\x00\x42\x9e\x01\n)io.envoyproxy.envoy.service.redis_auth.v3B\x16RedisExternalAuthProtoP\x01ZOgithub.com/envoyproxy/go-control-plane/envoy/service/redis_auth/v3;redis_authv3\xba\x80\xc8\xd1\x06\x02\x10\x02\x62\x06proto3')
|
20
|
+
|
21
|
+
_globals = globals()
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'envoy.service.redis_auth.v3.redis_external_auth_pb2', _globals)
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
25
|
+
DESCRIPTOR._options = None
|
26
|
+
DESCRIPTOR._serialized_options = b'\n)io.envoyproxy.envoy.service.redis_auth.v3B\026RedisExternalAuthProtoP\001ZOgithub.com/envoyproxy/go-control-plane/envoy/service/redis_auth/v3;redis_authv3\272\200\310\321\006\002\020\002'
|
27
|
+
_globals['_REDISPROXYEXTERNALAUTHREQUEST']._serialized_start=175
|
28
|
+
_globals['_REDISPROXYEXTERNALAUTHREQUEST']._serialized_end=242
|
29
|
+
_globals['_REDISPROXYEXTERNALAUTHRESPONSE']._serialized_start=245
|
30
|
+
_globals['_REDISPROXYEXTERNALAUTHRESPONSE']._serialized_end=378
|
31
|
+
_globals['_REDISPROXYEXTERNALAUTH']._serialized_start=381
|
32
|
+
_globals['_REDISPROXYEXTERNALAUTH']._serialized_end=545
|
33
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,83 @@
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
3
|
+
import grpc
|
4
|
+
|
5
|
+
from envoy.service.redis_auth.v3 import redis_external_auth_pb2 as envoy_dot_service_dot_redis__auth_dot_v3_dot_redis__external__auth__pb2
|
6
|
+
|
7
|
+
|
8
|
+
class RedisProxyExternalAuthStub(object):
|
9
|
+
"""[#protodoc-title: Redis external authentication service]
|
10
|
+
|
11
|
+
The messages used by the redis_proxy filter when performing external authentication.
|
12
|
+
|
13
|
+
A generic interface for performing external password authentication on incoming AUTH commands.
|
14
|
+
"""
|
15
|
+
|
16
|
+
def __init__(self, channel):
|
17
|
+
"""Constructor.
|
18
|
+
|
19
|
+
Args:
|
20
|
+
channel: A grpc.Channel.
|
21
|
+
"""
|
22
|
+
self.Authenticate = channel.unary_unary(
|
23
|
+
'/envoy.service.redis_auth.v3.RedisProxyExternalAuth/Authenticate',
|
24
|
+
request_serializer=envoy_dot_service_dot_redis__auth_dot_v3_dot_redis__external__auth__pb2.RedisProxyExternalAuthRequest.SerializeToString,
|
25
|
+
response_deserializer=envoy_dot_service_dot_redis__auth_dot_v3_dot_redis__external__auth__pb2.RedisProxyExternalAuthResponse.FromString,
|
26
|
+
)
|
27
|
+
|
28
|
+
|
29
|
+
class RedisProxyExternalAuthServicer(object):
|
30
|
+
"""[#protodoc-title: Redis external authentication service]
|
31
|
+
|
32
|
+
The messages used by the redis_proxy filter when performing external authentication.
|
33
|
+
|
34
|
+
A generic interface for performing external password authentication on incoming AUTH commands.
|
35
|
+
"""
|
36
|
+
|
37
|
+
def Authenticate(self, request, context):
|
38
|
+
"""Performs authentication check based on the data sent with the AUTH request.
|
39
|
+
Returns either an OK status or an error status.
|
40
|
+
"""
|
41
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
42
|
+
context.set_details('Method not implemented!')
|
43
|
+
raise NotImplementedError('Method not implemented!')
|
44
|
+
|
45
|
+
|
46
|
+
def add_RedisProxyExternalAuthServicer_to_server(servicer, server):
|
47
|
+
rpc_method_handlers = {
|
48
|
+
'Authenticate': grpc.unary_unary_rpc_method_handler(
|
49
|
+
servicer.Authenticate,
|
50
|
+
request_deserializer=envoy_dot_service_dot_redis__auth_dot_v3_dot_redis__external__auth__pb2.RedisProxyExternalAuthRequest.FromString,
|
51
|
+
response_serializer=envoy_dot_service_dot_redis__auth_dot_v3_dot_redis__external__auth__pb2.RedisProxyExternalAuthResponse.SerializeToString,
|
52
|
+
),
|
53
|
+
}
|
54
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
55
|
+
'envoy.service.redis_auth.v3.RedisProxyExternalAuth', rpc_method_handlers)
|
56
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
57
|
+
|
58
|
+
|
59
|
+
# This class is part of an EXPERIMENTAL API.
|
60
|
+
class RedisProxyExternalAuth(object):
|
61
|
+
"""[#protodoc-title: Redis external authentication service]
|
62
|
+
|
63
|
+
The messages used by the redis_proxy filter when performing external authentication.
|
64
|
+
|
65
|
+
A generic interface for performing external password authentication on incoming AUTH commands.
|
66
|
+
"""
|
67
|
+
|
68
|
+
@staticmethod
|
69
|
+
def Authenticate(request,
|
70
|
+
target,
|
71
|
+
options=(),
|
72
|
+
channel_credentials=None,
|
73
|
+
call_credentials=None,
|
74
|
+
insecure=False,
|
75
|
+
compression=None,
|
76
|
+
wait_for_ready=None,
|
77
|
+
timeout=None,
|
78
|
+
metadata=None):
|
79
|
+
return grpc.experimental.unary_unary(request, target, '/envoy.service.redis_auth.v3.RedisProxyExternalAuth/Authenticate',
|
80
|
+
envoy_dot_service_dot_redis__auth_dot_v3_dot_redis__external__auth__pb2.RedisProxyExternalAuthRequest.SerializeToString,
|
81
|
+
envoy_dot_service_dot_redis__auth_dot_v3_dot_redis__external__auth__pb2.RedisProxyExternalAuthResponse.FromString,
|
82
|
+
options, channel_credentials,
|
83
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
@@ -22,7 +22,7 @@ from udpa.annotations import status_pb2 as udpa_dot_annotations_dot_status__pb2
|
|
22
22
|
from udpa.annotations import versioning_pb2 as udpa_dot_annotations_dot_versioning__pb2
|
23
23
|
|
24
24
|
|
25
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"envoy/service/status/v3/csds.proto\x12\x17\x65nvoy.service.status.v3\x1a\'envoy/admin/v3/config_dump_shared.proto\x1a\x1f\x65nvoy/config/core/v3/base.proto\x1a envoy/type/matcher/v3/node.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a#envoy/annotations/deprecation.proto\x1a\x1dudpa/annotations/status.proto\x1a!udpa/annotations/versioning.proto\"\xd1\x01\n\x13\x43lientStatusRequest\x12\x39\n\rnode_matchers\x18\x01 \x03(\x0b\x32\".envoy.type.matcher.v3.NodeMatcher\x12(\n\x04node\x18\x02 \x01(\x0b\x32\x1a.envoy.config.core.v3.Node\x12!\n\x19\x65xclude_resource_contents\x18\x03 \x01(\x08:2\x9a\xc5\x88\x1e-\n+envoy.service.status.v2.ClientStatusRequest\"\x94\x04\n\x0cPerXdsConfig\x12\x35\n\x06status\x18\x01 \x01(\x0e\x32%.envoy.service.status.v3.ConfigStatus\x12O\n\rclient_status\x18\x07 \x01(\x0e\x32+.envoy.service.status.v3.ClientConfigStatusB\x0b\x18\x01\x92\xc7\x86\xd8\x04\x03\x33.0\x12>\n\x0flistener_config\x18\x02 \x01(\x0b\x32#.envoy.admin.v3.ListenersConfigDumpH\x00\x12<\n\x0e\x63luster_config\x18\x03 \x01(\x0b\x32\".envoy.admin.v3.ClustersConfigDumpH\x00\x12\x38\n\x0croute_config\x18\x04 \x01(\x0b\x32 .envoy.admin.v3.RoutesConfigDumpH\x00\x12\x45\n\x13scoped_route_config\x18\x05 \x01(\x0b\x32&.envoy.admin.v3.ScopedRoutesConfigDumpH\x00\x12>\n\x0f\x65ndpoint_config\x18\x06 \x01(\x0b\x32#.envoy.admin.v3.EndpointsConfigDumpH\x00:+\x9a\xc5\x88\x1e&\n$envoy.service.status.v2.PerXdsConfigB\x10\n\x0eper_xds_config\"\x8f\x05\n\x0c\x43lientConfig\x12(\n\x04node\x18\x01 \x01(\x0b\x32\x1a.envoy.config.core.v3.Node\x12\x46\n\nxds_config\x18\x02 \x03(\x0b\x32%.envoy.service.status.v3.PerXdsConfigB\x0b\x18\x01\x92\xc7\x86\xd8\x04\x03\x33.0\x12S\n\x13generic_xds_configs\x18\x03 \x03(\x0b\x32\x36.envoy.service.status.v3.ClientConfig.GenericXdsConfig\x12\x14\n\x0c\x63lient_scope\x18\x04 \x01(\t\x1a\xf4\x02\n\x10GenericXdsConfig\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0cversion_info\x18\x03 \x01(\t\x12(\n\nxds_config\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x30\n\x0clast_updated\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\rconfig_status\x18\x06 \x01(\x0e\x32%.envoy.service.status.v3.ConfigStatus\x12;\n\rclient_status\x18\x07 \x01(\x0e\x32$.envoy.admin.v3.ClientResourceStatus\x12\x37\n\x0b\x65rror_state\x18\x08 \x01(\x0b\x32\".envoy.admin.v3.UpdateFailureState\x12\x1a\n\x12is_static_resource\x18\t \x01(\x08:+\x9a\xc5\x88\x1e&\n$envoy.service.status.v2.ClientConfig\"\x82\x01\n\x14\x43lientStatusResponse\x12\x35\n\x06\x63onfig\x18\x01 \x03(\x0b\x32%.envoy.service.status.v3.ClientConfig:3\x9a\xc5\x88\x1e.\n,envoy.service.status.v2.ClientStatusResponse*K\n\x0c\x43onfigStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SYNCED\x10\x01\x12\x0c\n\x08NOT_SENT\x10\x02\x12\t\n\x05STALE\x10\x03\x12\t\n\x05\x45RROR\x10\x04
|
25
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"envoy/service/status/v3/csds.proto\x12\x17\x65nvoy.service.status.v3\x1a\'envoy/admin/v3/config_dump_shared.proto\x1a\x1f\x65nvoy/config/core/v3/base.proto\x1a envoy/type/matcher/v3/node.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a#envoy/annotations/deprecation.proto\x1a\x1dudpa/annotations/status.proto\x1a!udpa/annotations/versioning.proto\"\xd1\x01\n\x13\x43lientStatusRequest\x12\x39\n\rnode_matchers\x18\x01 \x03(\x0b\x32\".envoy.type.matcher.v3.NodeMatcher\x12(\n\x04node\x18\x02 \x01(\x0b\x32\x1a.envoy.config.core.v3.Node\x12!\n\x19\x65xclude_resource_contents\x18\x03 \x01(\x08:2\x9a\xc5\x88\x1e-\n+envoy.service.status.v2.ClientStatusRequest\"\x94\x04\n\x0cPerXdsConfig\x12\x35\n\x06status\x18\x01 \x01(\x0e\x32%.envoy.service.status.v3.ConfigStatus\x12O\n\rclient_status\x18\x07 \x01(\x0e\x32+.envoy.service.status.v3.ClientConfigStatusB\x0b\x18\x01\x92\xc7\x86\xd8\x04\x03\x33.0\x12>\n\x0flistener_config\x18\x02 \x01(\x0b\x32#.envoy.admin.v3.ListenersConfigDumpH\x00\x12<\n\x0e\x63luster_config\x18\x03 \x01(\x0b\x32\".envoy.admin.v3.ClustersConfigDumpH\x00\x12\x38\n\x0croute_config\x18\x04 \x01(\x0b\x32 .envoy.admin.v3.RoutesConfigDumpH\x00\x12\x45\n\x13scoped_route_config\x18\x05 \x01(\x0b\x32&.envoy.admin.v3.ScopedRoutesConfigDumpH\x00\x12>\n\x0f\x65ndpoint_config\x18\x06 \x01(\x0b\x32#.envoy.admin.v3.EndpointsConfigDumpH\x00:+\x9a\xc5\x88\x1e&\n$envoy.service.status.v2.PerXdsConfigB\x10\n\x0eper_xds_config\"\x8f\x05\n\x0c\x43lientConfig\x12(\n\x04node\x18\x01 \x01(\x0b\x32\x1a.envoy.config.core.v3.Node\x12\x46\n\nxds_config\x18\x02 \x03(\x0b\x32%.envoy.service.status.v3.PerXdsConfigB\x0b\x18\x01\x92\xc7\x86\xd8\x04\x03\x33.0\x12S\n\x13generic_xds_configs\x18\x03 \x03(\x0b\x32\x36.envoy.service.status.v3.ClientConfig.GenericXdsConfig\x12\x14\n\x0c\x63lient_scope\x18\x04 \x01(\t\x1a\xf4\x02\n\x10GenericXdsConfig\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0cversion_info\x18\x03 \x01(\t\x12(\n\nxds_config\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x30\n\x0clast_updated\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\rconfig_status\x18\x06 \x01(\x0e\x32%.envoy.service.status.v3.ConfigStatus\x12;\n\rclient_status\x18\x07 \x01(\x0e\x32$.envoy.admin.v3.ClientResourceStatus\x12\x37\n\x0b\x65rror_state\x18\x08 \x01(\x0b\x32\".envoy.admin.v3.UpdateFailureState\x12\x1a\n\x12is_static_resource\x18\t \x01(\x08:+\x9a\xc5\x88\x1e&\n$envoy.service.status.v2.ClientConfig\"\x82\x01\n\x14\x43lientStatusResponse\x12\x35\n\x06\x63onfig\x18\x01 \x03(\x0b\x32%.envoy.service.status.v3.ClientConfig:3\x9a\xc5\x88\x1e.\n,envoy.service.status.v2.ClientStatusResponse*K\n\x0c\x43onfigStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SYNCED\x10\x01\x12\x0c\n\x08NOT_SENT\x10\x02\x12\t\n\x05STALE\x10\x03\x12\t\n\x05\x45RROR\x10\x04*~\n\x12\x43lientConfigStatus\x12\x12\n\x0e\x43LIENT_UNKNOWN\x10\x00\x12\x14\n\x10\x43LIENT_REQUESTED\x10\x01\x12\x10\n\x0c\x43LIENT_ACKED\x10\x02\x12\x11\n\rCLIENT_NACKED\x10\x03\x12\x19\n\x15\x43LIENT_RECEIVED_ERROR\x10\x04\x32\xb2\x02\n\x1c\x43lientStatusDiscoveryService\x12w\n\x12StreamClientStatus\x12,.envoy.service.status.v3.ClientStatusRequest\x1a-.envoy.service.status.v3.ClientStatusResponse\"\x00(\x01\x30\x01\x12\x98\x01\n\x11\x46\x65tchClientStatus\x12,.envoy.service.status.v3.ClientStatusRequest\x1a-.envoy.service.status.v3.ClientStatusResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/v3/discovery:client_status:\x01*B\x85\x01\n%io.envoyproxy.envoy.service.status.v3B\tCsdsProtoP\x01ZGgithub.com/envoyproxy/go-control-plane/envoy/service/status/v3;statusv3\xba\x80\xc8\xd1\x06\x02\x10\x02\x62\x06proto3')
|
26
26
|
|
27
27
|
_globals = globals()
|
28
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -47,7 +47,7 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
47
47
|
_globals['_CONFIGSTATUS']._serialized_start=1902
|
48
48
|
_globals['_CONFIGSTATUS']._serialized_end=1977
|
49
49
|
_globals['_CLIENTCONFIGSTATUS']._serialized_start=1979
|
50
|
-
_globals['_CLIENTCONFIGSTATUS']._serialized_end=
|
50
|
+
_globals['_CLIENTCONFIGSTATUS']._serialized_end=2105
|
51
51
|
_globals['_CLIENTSTATUSREQUEST']._serialized_start=365
|
52
52
|
_globals['_CLIENTSTATUSREQUEST']._serialized_end=574
|
53
53
|
_globals['_PERXDSCONFIG']._serialized_start=577
|
@@ -58,6 +58,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
58
58
|
_globals['_CLIENTCONFIG_GENERICXDSCONFIG']._serialized_end=1722
|
59
59
|
_globals['_CLIENTSTATUSRESPONSE']._serialized_start=1770
|
60
60
|
_globals['_CLIENTSTATUSRESPONSE']._serialized_end=1900
|
61
|
-
_globals['_CLIENTSTATUSDISCOVERYSERVICE']._serialized_start=
|
62
|
-
_globals['_CLIENTSTATUSDISCOVERYSERVICE']._serialized_end=
|
61
|
+
_globals['_CLIENTSTATUSDISCOVERYSERVICE']._serialized_start=2108
|
62
|
+
_globals['_CLIENTSTATUSDISCOVERYSERVICE']._serialized_end=2414
|
63
63
|
# @@protoc_insertion_point(module_scope)
|