cloudquery-plugin-pb 0.0.27__tar.gz → 0.0.29__tar.gz
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.
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/PKG-INFO +1 -1
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/discovery_pb2_grpc.py +2 -1
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/plugin_pb2.py +9 -3
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/plugin_pb2.pyi +18 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/plugin_pb2_grpc.py +46 -1
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery_plugin_pb.egg-info/PKG-INFO +1 -1
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/setup.py +1 -1
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/LICENSE +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/README.md +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/__init__.py +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/discovery_pb2.py +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/discovery_pb2.pyi +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/py.typed +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/__init__.py +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/arrow.py +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/py.typed +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery_plugin_pb.egg-info/SOURCES.txt +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery_plugin_pb.egg-info/dependency_links.txt +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery_plugin_pb.egg-info/namespace_packages.txt +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery_plugin_pb.egg-info/not-zip-safe +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery_plugin_pb.egg-info/requires.txt +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery_plugin_pb.egg-info/top_level.txt +0 -0
- {cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/setup.cfg +0 -0
|
@@ -5,7 +5,7 @@ import warnings
|
|
|
5
5
|
|
|
6
6
|
from cloudquery.discovery_v1 import discovery_pb2 as cloudquery_dot_discovery__v1_dot_discovery__pb2
|
|
7
7
|
|
|
8
|
-
GRPC_GENERATED_VERSION = '1.
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.64.1'
|
|
9
9
|
GRPC_VERSION = grpc.__version__
|
|
10
10
|
EXPECTED_ERROR_RELEASE = '1.65.0'
|
|
11
11
|
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
|
|
@@ -68,6 +68,7 @@ def add_DiscoveryServicer_to_server(servicer, server):
|
|
|
68
68
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
69
69
|
'cloudquery.discovery.v1.Discovery', rpc_method_handlers)
|
|
70
70
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
71
|
+
server.add_registered_method_handlers('cloudquery.discovery.v1.Discovery', rpc_method_handlers)
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
# This class is part of an EXPERIMENTAL API.
|
{cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/plugin_pb2.py
RENAMED
|
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"P\n\rGetSpecSchema\x1a\t\n\x07Request\x1a\x34\n\x08Response\x12\x18\n\x0bjson_schema\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_json_schema\"Y\n\x04Init\x1a\x45\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x12\x15\n\rinvocation_id\x18\x03 \x01(\t\x1a\n\n\x08Response\"v\n\tGetTables\x1aM\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xbd\x05\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\xa6\x01\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x1a\xe3\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x12G\n\rdelete_record\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageDeleteRecordH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"9\n\rTableRelation\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x14\n\x0cparent_table\x18\x02 \x01(\t\"{\n\tPredicate\x12:\n\x08operator\x18\x01 \x01(\x0e\x32(.cloudquery.plugin.v3.Predicate.Operator\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\t\x12\x0e\n\x06record\x18\x03 \x01(\x0c\"\x12\n\x08Operator\x12\x06\n\x02\x45Q\x10\x00\"\xb2\x01\n\x0fPredicatesGroup\x12I\n\rgrouping_type\x18\x01 \x01(\x0e\x32\x32.cloudquery.plugin.v3.PredicatesGroup.GroupingType\x12\x33\n\npredicates\x18\x02 \x03(\x0b\x32\x1f.cloudquery.plugin.v3.Predicate\"\x1f\n\x0cGroupingType\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\"\xc3\x05\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\xa7\x02\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x12H\n\rdelete_record\x18\x04 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageDeleteRecordH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"P\n\rGetSpecSchema\x1a\t\n\x07Request\x1a\x34\n\x08Response\x12\x18\n\x0bjson_schema\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_json_schema\"Y\n\x04Init\x1a\x45\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x12\x15\n\rinvocation_id\x18\x03 \x01(\t\x1a\n\n\x08Response\"v\n\tGetTables\x1aM\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xbd\x05\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\xa6\x01\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x1a\xe3\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x12G\n\rdelete_record\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageDeleteRecordH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"9\n\rTableRelation\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x14\n\x0cparent_table\x18\x02 \x01(\t\"{\n\tPredicate\x12:\n\x08operator\x18\x01 \x01(\x0e\x32(.cloudquery.plugin.v3.Predicate.Operator\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\t\x12\x0e\n\x06record\x18\x03 \x01(\x0c\"\x12\n\x08Operator\x12\x06\n\x02\x45Q\x10\x00\"\xb2\x01\n\x0fPredicatesGroup\x12I\n\rgrouping_type\x18\x01 \x01(\x0e\x32\x32.cloudquery.plugin.v3.PredicatesGroup.GroupingType\x12\x33\n\npredicates\x18\x02 \x03(\x0b\x32\x1f.cloudquery.plugin.v3.Predicate\"\x1f\n\x0cGroupingType\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\"\xc3\x05\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xa4\x01\n\x13MessageDeleteRecord\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12;\n\x0cwhere_clause\x18\x02 \x03(\x0b\x32%.cloudquery.plugin.v3.PredicatesGroup\x12<\n\x0ftable_relations\x18\x03 \x03(\x0b\x32#.cloudquery.plugin.v3.TableRelation\x1a\xa7\x02\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x12H\n\rdelete_record\x18\x04 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageDeleteRecordH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\x08Response\"y\n\x0eTestConnection\x1a\x17\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x1aN\n\x08Response\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x66\x61ilure_code\x18\x02 \x01(\t\x12\x1b\n\x13\x66\x61ilure_description\x18\x03 \x01(\t2\xa1\x07\n\x06Plugin\x12X\n\x07GetName\x12%.cloudquery.plugin.v3.GetName.Request\x1a&.cloudquery.plugin.v3.GetName.Response\x12\x61\n\nGetVersion\x12(.cloudquery.plugin.v3.GetVersion.Request\x1a).cloudquery.plugin.v3.GetVersion.Response\x12j\n\rGetSpecSchema\x12+.cloudquery.plugin.v3.GetSpecSchema.Request\x1a,.cloudquery.plugin.v3.GetSpecSchema.Response\x12O\n\x04Init\x12\".cloudquery.plugin.v3.Init.Request\x1a#.cloudquery.plugin.v3.Init.Response\x12^\n\tGetTables\x12\'.cloudquery.plugin.v3.GetTables.Request\x1a(.cloudquery.plugin.v3.GetTables.Response\x12Q\n\x04Sync\x12\".cloudquery.plugin.v3.Sync.Request\x1a#.cloudquery.plugin.v3.Sync.Response0\x01\x12Q\n\x04Read\x12\".cloudquery.plugin.v3.Read.Request\x1a#.cloudquery.plugin.v3.Read.Response0\x01\x12T\n\x05Write\x12#.cloudquery.plugin.v3.Write.Request\x1a$.cloudquery.plugin.v3.Write.Response(\x01\x12R\n\x05\x43lose\x12#.cloudquery.plugin.v3.Close.Request\x1a$.cloudquery.plugin.v3.Close.Response\x12m\n\x0eTestConnection\x12,.cloudquery.plugin.v3.TestConnection.Request\x1a-.cloudquery.plugin.v3.TestConnection.ResponseBS\n\x17io.cloudquery.plugin.v3P\x01Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;pluginb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -105,6 +105,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
105
105
|
_globals['_CLOSE_REQUEST']._serialized_end=112
|
|
106
106
|
_globals['_CLOSE_RESPONSE']._serialized_start=114
|
|
107
107
|
_globals['_CLOSE_RESPONSE']._serialized_end=124
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
108
|
+
_globals['_TESTCONNECTION']._serialized_start=2360
|
|
109
|
+
_globals['_TESTCONNECTION']._serialized_end=2481
|
|
110
|
+
_globals['_TESTCONNECTION_REQUEST']._serialized_start=284
|
|
111
|
+
_globals['_TESTCONNECTION_REQUEST']._serialized_end=307
|
|
112
|
+
_globals['_TESTCONNECTION_RESPONSE']._serialized_start=2403
|
|
113
|
+
_globals['_TESTCONNECTION_RESPONSE']._serialized_end=2481
|
|
114
|
+
_globals['_PLUGIN']._serialized_start=2484
|
|
115
|
+
_globals['_PLUGIN']._serialized_end=3413
|
|
110
116
|
# @@protoc_insertion_point(module_scope)
|
{cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/plugin_pb2.pyi
RENAMED
|
@@ -238,3 +238,21 @@ class Close(_message.Message):
|
|
|
238
238
|
__slots__ = ()
|
|
239
239
|
def __init__(self) -> None: ...
|
|
240
240
|
def __init__(self) -> None: ...
|
|
241
|
+
|
|
242
|
+
class TestConnection(_message.Message):
|
|
243
|
+
__slots__ = ()
|
|
244
|
+
class Request(_message.Message):
|
|
245
|
+
__slots__ = ("spec",)
|
|
246
|
+
SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
247
|
+
spec: bytes
|
|
248
|
+
def __init__(self, spec: _Optional[bytes] = ...) -> None: ...
|
|
249
|
+
class Response(_message.Message):
|
|
250
|
+
__slots__ = ("success", "failure_code", "failure_description")
|
|
251
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
252
|
+
FAILURE_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
FAILURE_DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
success: bool
|
|
255
|
+
failure_code: str
|
|
256
|
+
failure_description: str
|
|
257
|
+
def __init__(self, success: bool = ..., failure_code: _Optional[str] = ..., failure_description: _Optional[str] = ...) -> None: ...
|
|
258
|
+
def __init__(self) -> None: ...
|
{cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/plugin_pb2_grpc.py
RENAMED
|
@@ -5,7 +5,7 @@ import warnings
|
|
|
5
5
|
|
|
6
6
|
from cloudquery.plugin_v3 import plugin_pb2 as cloudquery_dot_plugin__v3_dot_plugin__pb2
|
|
7
7
|
|
|
8
|
-
GRPC_GENERATED_VERSION = '1.
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.64.1'
|
|
9
9
|
GRPC_VERSION = grpc.__version__
|
|
10
10
|
EXPECTED_ERROR_RELEASE = '1.65.0'
|
|
11
11
|
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
|
|
@@ -84,6 +84,11 @@ class PluginStub(object):
|
|
|
84
84
|
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Request.SerializeToString,
|
|
85
85
|
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Response.FromString,
|
|
86
86
|
_registered_method=True)
|
|
87
|
+
self.TestConnection = channel.unary_unary(
|
|
88
|
+
'/cloudquery.plugin.v3.Plugin/TestConnection',
|
|
89
|
+
request_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.SerializeToString,
|
|
90
|
+
response_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.FromString,
|
|
91
|
+
_registered_method=True)
|
|
87
92
|
|
|
88
93
|
|
|
89
94
|
class PluginServicer(object):
|
|
@@ -155,6 +160,13 @@ class PluginServicer(object):
|
|
|
155
160
|
context.set_details('Method not implemented!')
|
|
156
161
|
raise NotImplementedError('Method not implemented!')
|
|
157
162
|
|
|
163
|
+
def TestConnection(self, request, context):
|
|
164
|
+
"""Validate and test the connections used by the plugin
|
|
165
|
+
"""
|
|
166
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
167
|
+
context.set_details('Method not implemented!')
|
|
168
|
+
raise NotImplementedError('Method not implemented!')
|
|
169
|
+
|
|
158
170
|
|
|
159
171
|
def add_PluginServicer_to_server(servicer, server):
|
|
160
172
|
rpc_method_handlers = {
|
|
@@ -203,10 +215,16 @@ def add_PluginServicer_to_server(servicer, server):
|
|
|
203
215
|
request_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Request.FromString,
|
|
204
216
|
response_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.Close.Response.SerializeToString,
|
|
205
217
|
),
|
|
218
|
+
'TestConnection': grpc.unary_unary_rpc_method_handler(
|
|
219
|
+
servicer.TestConnection,
|
|
220
|
+
request_deserializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.FromString,
|
|
221
|
+
response_serializer=cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.SerializeToString,
|
|
222
|
+
),
|
|
206
223
|
}
|
|
207
224
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
208
225
|
'cloudquery.plugin.v3.Plugin', rpc_method_handlers)
|
|
209
226
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
227
|
+
server.add_registered_method_handlers('cloudquery.plugin.v3.Plugin', rpc_method_handlers)
|
|
210
228
|
|
|
211
229
|
|
|
212
230
|
# This class is part of an EXPERIMENTAL API.
|
|
@@ -455,3 +473,30 @@ class Plugin(object):
|
|
|
455
473
|
timeout,
|
|
456
474
|
metadata,
|
|
457
475
|
_registered_method=True)
|
|
476
|
+
|
|
477
|
+
@staticmethod
|
|
478
|
+
def TestConnection(request,
|
|
479
|
+
target,
|
|
480
|
+
options=(),
|
|
481
|
+
channel_credentials=None,
|
|
482
|
+
call_credentials=None,
|
|
483
|
+
insecure=False,
|
|
484
|
+
compression=None,
|
|
485
|
+
wait_for_ready=None,
|
|
486
|
+
timeout=None,
|
|
487
|
+
metadata=None):
|
|
488
|
+
return grpc.experimental.unary_unary(
|
|
489
|
+
request,
|
|
490
|
+
target,
|
|
491
|
+
'/cloudquery.plugin.v3.Plugin/TestConnection',
|
|
492
|
+
cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Request.SerializeToString,
|
|
493
|
+
cloudquery_dot_plugin__v3_dot_plugin__pb2.TestConnection.Response.FromString,
|
|
494
|
+
options,
|
|
495
|
+
channel_credentials,
|
|
496
|
+
insecure,
|
|
497
|
+
call_credentials,
|
|
498
|
+
compression,
|
|
499
|
+
wait_for_ready,
|
|
500
|
+
timeout,
|
|
501
|
+
metadata,
|
|
502
|
+
_registered_method=True)
|
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/__init__.py
RENAMED
|
File without changes
|
{cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/discovery_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/discovery_v1/py.typed
RENAMED
|
File without changes
|
{cloudquery_plugin_pb-0.0.27 → cloudquery_plugin_pb-0.0.29}/cloudquery/plugin_v3/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|