raystack-proton 2025.10.8.102837__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.
Potentially problematic release.
This version of raystack-proton might be problematic. Click here for more details.
- google/__init__.py +0 -0
- google/api/__init__.py +0 -0
- google/api/annotations_pb2.py +37 -0
- google/api/annotations_pb2.pyi +8 -0
- google/api/field_behavior_pb2.py +38 -0
- google/api/field_behavior_pb2.pyi +27 -0
- google/api/http_pb2.py +41 -0
- google/api/http_pb2.pyi +47 -0
- google/api/httpbody_pb2.py +38 -0
- google/api/httpbody_pb2.pyi +18 -0
- protoc_gen_openapiv2/__init__.py +0 -0
- protoc_gen_openapiv2/options/__init__.py +0 -0
- protoc_gen_openapiv2/options/annotations_pb2.py +37 -0
- protoc_gen_openapiv2/options/annotations_pb2.pyi +16 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.py +142 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.pyi +463 -0
- raystack/__init__.py +0 -0
- raystack/assets/__init__.py +0 -0
- raystack/assets/v1beta1/__init__.py +0 -0
- raystack/assets/v1beta1/bucket_pb2.py +45 -0
- raystack/assets/v1beta1/bucket_pb2.pyi +59 -0
- raystack/assets/v1beta1/dashboard_pb2.py +45 -0
- raystack/assets/v1beta1/dashboard_pb2.pyi +65 -0
- raystack/assets/v1beta1/event_pb2.py +38 -0
- raystack/assets/v1beta1/event_pb2.pyi +19 -0
- raystack/assets/v1beta1/group_pb2.py +43 -0
- raystack/assets/v1beta1/group_pb2.pyi +35 -0
- raystack/assets/v1beta1/job_pb2.py +43 -0
- raystack/assets/v1beta1/job_pb2.pyi +28 -0
- raystack/assets/v1beta1/lineage_pb2.py +38 -0
- raystack/assets/v1beta1/lineage_pb2.pyi +16 -0
- raystack/assets/v1beta1/ownership_pb2.py +39 -0
- raystack/assets/v1beta1/ownership_pb2.pyi +25 -0
- raystack/assets/v1beta1/preview_pb2.py +38 -0
- raystack/assets/v1beta1/preview_pb2.pyi +16 -0
- raystack/assets/v1beta1/properties_pb2.py +42 -0
- raystack/assets/v1beta1/properties_pb2.pyi +25 -0
- raystack/assets/v1beta1/resource_pb2.py +37 -0
- raystack/assets/v1beta1/resource_pb2.pyi +21 -0
- raystack/assets/v1beta1/schema_pb2.py +44 -0
- raystack/assets/v1beta1/schema_pb2.pyi +58 -0
- raystack/assets/v1beta1/table_pb2.py +49 -0
- raystack/assets/v1beta1/table_pb2.pyi +63 -0
- raystack/assets/v1beta1/timestamp_pb2.py +40 -0
- raystack/assets/v1beta1/timestamp_pb2.pyi +25 -0
- raystack/assets/v1beta1/topic_pb2.py +46 -0
- raystack/assets/v1beta1/topic_pb2.pyi +41 -0
- raystack/assets/v1beta1/user_pb2.py +45 -0
- raystack/assets/v1beta1/user_pb2.pyi +63 -0
- raystack/assets/v1beta2/__init__.py +0 -0
- raystack/assets/v1beta2/application_pb2.py +39 -0
- raystack/assets/v1beta2/application_pb2.pyi +24 -0
- raystack/assets/v1beta2/asset_pb2.py +44 -0
- raystack/assets/v1beta2/asset_pb2.pyi +49 -0
- raystack/assets/v1beta2/bucket_pb2.py +42 -0
- raystack/assets/v1beta2/bucket_pb2.pyi +54 -0
- raystack/assets/v1beta2/common_pb2.py +44 -0
- raystack/assets/v1beta2/common_pb2.pyi +52 -0
- raystack/assets/v1beta2/dashboard_pb2.py +42 -0
- raystack/assets/v1beta2/dashboard_pb2.pyi +60 -0
- raystack/assets/v1beta2/experiment_pb2.py +41 -0
- raystack/assets/v1beta2/experiment_pb2.pyi +40 -0
- raystack/assets/v1beta2/feature_table_pb2.py +47 -0
- raystack/assets/v1beta2/feature_table_pb2.pyi +59 -0
- raystack/assets/v1beta2/group_pb2.py +40 -0
- raystack/assets/v1beta2/group_pb2.pyi +26 -0
- raystack/assets/v1beta2/job_pb2.py +39 -0
- raystack/assets/v1beta2/job_pb2.pyi +20 -0
- raystack/assets/v1beta2/metric_pb2.py +39 -0
- raystack/assets/v1beta2/metric_pb2.pyi +28 -0
- raystack/assets/v1beta2/model_pb2.py +49 -0
- raystack/assets/v1beta2/model_pb2.pyi +73 -0
- raystack/assets/v1beta2/table_pb2.py +47 -0
- raystack/assets/v1beta2/table_pb2.pyi +93 -0
- raystack/assets/v1beta2/topic_pb2.py +43 -0
- raystack/assets/v1beta2/topic_pb2.pyi +40 -0
- raystack/assets/v1beta2/user_pb2.py +43 -0
- raystack/assets/v1beta2/user_pb2.pyi +61 -0
- raystack/common/__init__.py +0 -0
- raystack/common/v1/__init__.py +0 -0
- raystack/common/v1/service_connect.py +119 -0
- raystack/common/v1/service_pb2.py +48 -0
- raystack/common/v1/service_pb2.pyi +39 -0
- raystack/compass/__init__.py +0 -0
- raystack/compass/v1beta1/__init__.py +0 -0
- raystack/compass/v1beta1/service_connect.py +2784 -0
- raystack/compass/v1beta1/service_pb2.py +581 -0
- raystack/compass/v1beta1/service_pb2.pyi +1055 -0
- raystack/entropy/__init__.py +0 -0
- raystack/entropy/v1beta1/__init__.py +0 -0
- raystack/entropy/v1beta1/module_connect.py +379 -0
- raystack/entropy/v1beta1/module_pb2.py +72 -0
- raystack/entropy/v1beta1/module_pb2.pyi +88 -0
- raystack/entropy/v1beta1/resource_connect.py +574 -0
- raystack/entropy/v1beta1/resource_pb2.py +134 -0
- raystack/entropy/v1beta1/resource_pb2.pyi +268 -0
- raystack/frontier/__init__.py +0 -0
- raystack/frontier/v1beta1/__init__.py +0 -0
- raystack/frontier/v1beta1/admin_connect.py +4021 -0
- raystack/frontier/v1beta1/admin_pb2.py +617 -0
- raystack/frontier/v1beta1/admin_pb2.pyi +1151 -0
- raystack/frontier/v1beta1/frontier_connect.py +11169 -0
- raystack/frontier/v1beta1/frontier_pb2.py +1648 -0
- raystack/frontier/v1beta1/frontier_pb2.pyi +2730 -0
- raystack/frontier/v1beta1/models_pb2.py +398 -0
- raystack/frontier/v1beta1/models_pb2.pyi +1150 -0
- raystack/guardian/__init__.py +0 -0
- raystack/guardian/v1beta1/__init__.py +0 -0
- raystack/guardian/v1beta1/guardian_connect.py +2654 -0
- raystack/guardian/v1beta1/guardian_pb2.py +527 -0
- raystack/guardian/v1beta1/guardian_pb2.pyi +1257 -0
- raystack/optimus/__init__.py +0 -0
- raystack/optimus/core/__init__.py +0 -0
- raystack/optimus/core/v1beta1/__init__.py +0 -0
- raystack/optimus/core/v1beta1/backup_connect.py +249 -0
- raystack/optimus/core/v1beta1/backup_pb2.py +70 -0
- raystack/optimus/core/v1beta1/backup_pb2.pyi +108 -0
- raystack/optimus/core/v1beta1/job_run_connect.py +314 -0
- raystack/optimus/core/v1beta1/job_run_pb2.py +88 -0
- raystack/optimus/core/v1beta1/job_run_pb2.pyi +164 -0
- raystack/optimus/core/v1beta1/job_spec_connect.py +1289 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.py +229 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.pyi +700 -0
- raystack/optimus/core/v1beta1/namespace_connect.py +249 -0
- raystack/optimus/core/v1beta1/namespace_pb2.py +63 -0
- raystack/optimus/core/v1beta1/namespace_pb2.pyi +66 -0
- raystack/optimus/core/v1beta1/project_connect.py +249 -0
- raystack/optimus/core/v1beta1/project_pb2.py +63 -0
- raystack/optimus/core/v1beta1/project_pb2.pyi +60 -0
- raystack/optimus/core/v1beta1/replay_connect.py +314 -0
- raystack/optimus/core/v1beta1/replay_pb2.py +72 -0
- raystack/optimus/core/v1beta1/replay_pb2.pyi +127 -0
- raystack/optimus/core/v1beta1/resource_connect.py +509 -0
- raystack/optimus/core/v1beta1/resource_pb2.py +93 -0
- raystack/optimus/core/v1beta1/resource_pb2.pyi +182 -0
- raystack/optimus/core/v1beta1/runtime_connect.py +119 -0
- raystack/optimus/core/v1beta1/runtime_pb2.py +45 -0
- raystack/optimus/core/v1beta1/runtime_pb2.pyi +19 -0
- raystack/optimus/core/v1beta1/secret_connect.py +314 -0
- raystack/optimus/core/v1beta1/secret_pb2.py +66 -0
- raystack/optimus/core/v1beta1/secret_pb2.pyi +81 -0
- raystack/optimus/core/v1beta1/status_pb2.py +39 -0
- raystack/optimus/core/v1beta1/status_pb2.pyi +31 -0
- raystack/optimus/integration/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/event_pb2.py +50 -0
- raystack/optimus/integration/v1beta1/event_pb2.pyi +94 -0
- raystack/optimus/plugins/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_connect.py +314 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.py +66 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.pyi +118 -0
- raystack/predator/__init__.py +0 -0
- raystack/predator/v1beta1/__init__.py +0 -0
- raystack/predator/v1beta1/metrics_log_pb2.py +46 -0
- raystack/predator/v1beta1/metrics_log_pb2.pyi +68 -0
- raystack/predator/v1beta1/result_log_pb2.py +45 -0
- raystack/predator/v1beta1/result_log_pb2.pyi +61 -0
- raystack/raccoon/__init__.py +0 -0
- raystack/raccoon/v1beta1/__init__.py +0 -0
- raystack/raccoon/v1beta1/raccoon_connect.py +119 -0
- raystack/raccoon/v1beta1/raccoon_pb2.py +52 -0
- raystack/raccoon/v1beta1/raccoon_pb2.pyi +74 -0
- raystack/siren/__init__.py +0 -0
- raystack/siren/v1beta1/__init__.py +0 -0
- raystack/siren/v1beta1/siren_connect.py +2329 -0
- raystack/siren/v1beta1/siren_pb2.py +415 -0
- raystack/siren/v1beta1/siren_pb2.pyi +890 -0
- raystack/stencil/__init__.py +0 -0
- raystack/stencil/v1beta1/__init__.py +0 -0
- raystack/stencil/v1beta1/stencil_connect.py +1094 -0
- raystack/stencil/v1beta1/stencil_pb2.py +158 -0
- raystack/stencil/v1beta1/stencil_pb2.pyi +357 -0
- raystack_proton-2025.10.8.102837.dist-info/METADATA +101 -0
- raystack_proton-2025.10.8.102837.dist-info/RECORD +181 -0
- raystack_proton-2025.10.8.102837.dist-info/WHEEL +5 -0
- raystack_proton-2025.10.8.102837.dist-info/licenses/LICENSE +201 -0
- raystack_proton-2025.10.8.102837.dist-info/top_level.txt +4 -0
- validate/__init__.py +0 -0
- validate/validate_pb2.py +86 -0
- validate/validate_pb2.pyi +497 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: raystack/optimus/core/v1beta1/project.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/optimus/core/v1beta1/project.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+raystack/optimus/core/v1beta1/project.proto\x12\x1draystack.optimus.core.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"m\n\x16RegisterProjectRequest\x12M\n\x07project\x18\x01 \x01(\x0b\x32\x33.raystack.optimus.core.v1beta1.ProjectSpecificationR\x07projectJ\x04\x08\x02\x10\x03\"M\n\x17RegisterProjectResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\"\x15\n\x13ListProjectsRequest\"g\n\x14ListProjectsResponse\x12O\n\x08projects\x18\x01 \x03(\x0b\x32\x33.raystack.optimus.core.v1beta1.ProjectSpecificationR\x08projects\"6\n\x11GetProjectRequest\x12!\n\x0cproject_name\x18\x01 \x01(\tR\x0bprojectName\"c\n\x12GetProjectResponse\x12M\n\x07project\x18\x01 \x01(\x0b\x32\x33.raystack.optimus.core.v1beta1.ProjectSpecificationR\x07project\"\xbe\x01\n\x14ProjectSpecification\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12W\n\x06\x63onfig\x18\x02 \x03(\x0b\x32?.raystack.optimus.core.v1beta1.ProjectSpecification.ConfigEntryR\x06\x63onfig\x1a\x39\n\x0b\x43onfigEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x32\xe1\x03\n\x0eProjectService\x12\x9d\x01\n\x0fRegisterProject\x12\x35.raystack.optimus.core.v1beta1.RegisterProjectRequest\x1a\x36.raystack.optimus.core.v1beta1.RegisterProjectResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1beta1/project:\x01*\x12\x91\x01\n\x0cListProjects\x12\x32.raystack.optimus.core.v1beta1.ListProjectsRequest\x1a\x33.raystack.optimus.core.v1beta1.ListProjectsResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1beta1/project\x12\x9a\x01\n\nGetProject\x12\x30.raystack.optimus.core.v1beta1.GetProjectRequest\x1a\x31.raystack.optimus.core.v1beta1.GetProjectResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v1beta1/project/{project_name}B\x98\x01\n\x1borg.raystack.proton.optimusB\x15ProjectServiceManagerP\x01Z\"github.com/raystack/proton/optimus\x92\x41;\x12\x05\x32\x03\x30.1\x1a\x0e\x31\x32\x37.0.0.1:9100\"\x04/api*\x01\x01r\x19\n\x17Optimus Project Serviceb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.optimus.core.v1beta1.project_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\033org.raystack.proton.optimusB\025ProjectServiceManagerP\001Z\"github.com/raystack/proton/optimus\222A;\022\0052\0030.1\032\016127.0.0.1:9100\"\004/api*\001\001r\031\n\027Optimus Project Service'
|
|
37
|
+
_globals['_PROJECTSPECIFICATION_CONFIGENTRY']._loaded_options = None
|
|
38
|
+
_globals['_PROJECTSPECIFICATION_CONFIGENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_PROJECTSERVICE'].methods_by_name['RegisterProject']._loaded_options = None
|
|
40
|
+
_globals['_PROJECTSERVICE'].methods_by_name['RegisterProject']._serialized_options = b'\202\323\344\223\002\025\"\020/v1beta1/project:\001*'
|
|
41
|
+
_globals['_PROJECTSERVICE'].methods_by_name['ListProjects']._loaded_options = None
|
|
42
|
+
_globals['_PROJECTSERVICE'].methods_by_name['ListProjects']._serialized_options = b'\202\323\344\223\002\022\022\020/v1beta1/project'
|
|
43
|
+
_globals['_PROJECTSERVICE'].methods_by_name['GetProject']._loaded_options = None
|
|
44
|
+
_globals['_PROJECTSERVICE'].methods_by_name['GetProject']._serialized_options = b'\202\323\344\223\002!\022\037/v1beta1/project/{project_name}'
|
|
45
|
+
_globals['_REGISTERPROJECTREQUEST']._serialized_start=156
|
|
46
|
+
_globals['_REGISTERPROJECTREQUEST']._serialized_end=265
|
|
47
|
+
_globals['_REGISTERPROJECTRESPONSE']._serialized_start=267
|
|
48
|
+
_globals['_REGISTERPROJECTRESPONSE']._serialized_end=344
|
|
49
|
+
_globals['_LISTPROJECTSREQUEST']._serialized_start=346
|
|
50
|
+
_globals['_LISTPROJECTSREQUEST']._serialized_end=367
|
|
51
|
+
_globals['_LISTPROJECTSRESPONSE']._serialized_start=369
|
|
52
|
+
_globals['_LISTPROJECTSRESPONSE']._serialized_end=472
|
|
53
|
+
_globals['_GETPROJECTREQUEST']._serialized_start=474
|
|
54
|
+
_globals['_GETPROJECTREQUEST']._serialized_end=528
|
|
55
|
+
_globals['_GETPROJECTRESPONSE']._serialized_start=530
|
|
56
|
+
_globals['_GETPROJECTRESPONSE']._serialized_end=629
|
|
57
|
+
_globals['_PROJECTSPECIFICATION']._serialized_start=632
|
|
58
|
+
_globals['_PROJECTSPECIFICATION']._serialized_end=822
|
|
59
|
+
_globals['_PROJECTSPECIFICATION_CONFIGENTRY']._serialized_start=765
|
|
60
|
+
_globals['_PROJECTSPECIFICATION_CONFIGENTRY']._serialized_end=822
|
|
61
|
+
_globals['_PROJECTSERVICE']._serialized_start=825
|
|
62
|
+
_globals['_PROJECTSERVICE']._serialized_end=1306
|
|
63
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
from google.api import annotations_pb2 as _annotations_pb2
|
|
2
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as _annotations_pb2_1
|
|
3
|
+
from google.protobuf.internal import containers as _containers
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
7
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class RegisterProjectRequest(_message.Message):
|
|
12
|
+
__slots__ = ("project",)
|
|
13
|
+
PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
project: ProjectSpecification
|
|
15
|
+
def __init__(self, project: _Optional[_Union[ProjectSpecification, _Mapping]] = ...) -> None: ...
|
|
16
|
+
|
|
17
|
+
class RegisterProjectResponse(_message.Message):
|
|
18
|
+
__slots__ = ("success", "message")
|
|
19
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
success: bool
|
|
22
|
+
message: str
|
|
23
|
+
def __init__(self, success: _Optional[bool] = ..., message: _Optional[str] = ...) -> None: ...
|
|
24
|
+
|
|
25
|
+
class ListProjectsRequest(_message.Message):
|
|
26
|
+
__slots__ = ()
|
|
27
|
+
def __init__(self) -> None: ...
|
|
28
|
+
|
|
29
|
+
class ListProjectsResponse(_message.Message):
|
|
30
|
+
__slots__ = ("projects",)
|
|
31
|
+
PROJECTS_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
projects: _containers.RepeatedCompositeFieldContainer[ProjectSpecification]
|
|
33
|
+
def __init__(self, projects: _Optional[_Iterable[_Union[ProjectSpecification, _Mapping]]] = ...) -> None: ...
|
|
34
|
+
|
|
35
|
+
class GetProjectRequest(_message.Message):
|
|
36
|
+
__slots__ = ("project_name",)
|
|
37
|
+
PROJECT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
project_name: str
|
|
39
|
+
def __init__(self, project_name: _Optional[str] = ...) -> None: ...
|
|
40
|
+
|
|
41
|
+
class GetProjectResponse(_message.Message):
|
|
42
|
+
__slots__ = ("project",)
|
|
43
|
+
PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
project: ProjectSpecification
|
|
45
|
+
def __init__(self, project: _Optional[_Union[ProjectSpecification, _Mapping]] = ...) -> None: ...
|
|
46
|
+
|
|
47
|
+
class ProjectSpecification(_message.Message):
|
|
48
|
+
__slots__ = ("name", "config")
|
|
49
|
+
class ConfigEntry(_message.Message):
|
|
50
|
+
__slots__ = ("key", "value")
|
|
51
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
key: str
|
|
54
|
+
value: str
|
|
55
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
56
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
name: str
|
|
59
|
+
config: _containers.ScalarMap[str, str]
|
|
60
|
+
def __init__(self, name: _Optional[str] = ..., config: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
|
|
3
|
+
# source: raystack/optimus/core/v1beta1/replay.proto
|
|
4
|
+
|
|
5
|
+
from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
|
|
6
|
+
from typing import Protocol
|
|
7
|
+
|
|
8
|
+
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
|
+
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.errors import ConnectError
|
|
11
|
+
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
|
+
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
13
|
+
from connectrpc.request import Headers, RequestContext
|
|
14
|
+
from connectrpc.server import ConnectASGIApplication, ConnectWSGIApplication, Endpoint, EndpointSync
|
|
15
|
+
import raystack.optimus.core.v1beta1.replay_pb2 as raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class ReplayService(Protocol):
|
|
19
|
+
async def replay(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse:
|
|
20
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
21
|
+
|
|
22
|
+
async def replay_dry_run(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse:
|
|
23
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
24
|
+
|
|
25
|
+
async def list_replay(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse:
|
|
26
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
27
|
+
|
|
28
|
+
async def get_replay(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse:
|
|
29
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class ReplayServiceASGIApplication(ConnectASGIApplication):
|
|
33
|
+
def __init__(self, service: ReplayService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
34
|
+
super().__init__(
|
|
35
|
+
endpoints={
|
|
36
|
+
"/raystack.optimus.core.v1beta1.ReplayService/Replay": Endpoint.unary(
|
|
37
|
+
method=MethodInfo(
|
|
38
|
+
name="Replay",
|
|
39
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
40
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest,
|
|
41
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse,
|
|
42
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
43
|
+
),
|
|
44
|
+
function=service.replay,
|
|
45
|
+
),
|
|
46
|
+
"/raystack.optimus.core.v1beta1.ReplayService/ReplayDryRun": Endpoint.unary(
|
|
47
|
+
method=MethodInfo(
|
|
48
|
+
name="ReplayDryRun",
|
|
49
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
50
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest,
|
|
51
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse,
|
|
52
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
53
|
+
),
|
|
54
|
+
function=service.replay_dry_run,
|
|
55
|
+
),
|
|
56
|
+
"/raystack.optimus.core.v1beta1.ReplayService/ListReplay": Endpoint.unary(
|
|
57
|
+
method=MethodInfo(
|
|
58
|
+
name="ListReplay",
|
|
59
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
60
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest,
|
|
61
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse,
|
|
62
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
63
|
+
),
|
|
64
|
+
function=service.list_replay,
|
|
65
|
+
),
|
|
66
|
+
"/raystack.optimus.core.v1beta1.ReplayService/GetReplay": Endpoint.unary(
|
|
67
|
+
method=MethodInfo(
|
|
68
|
+
name="GetReplay",
|
|
69
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
70
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest,
|
|
71
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse,
|
|
72
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
73
|
+
),
|
|
74
|
+
function=service.get_replay,
|
|
75
|
+
),
|
|
76
|
+
},
|
|
77
|
+
interceptors=interceptors,
|
|
78
|
+
read_max_bytes=read_max_bytes,
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def path(self) -> str:
|
|
83
|
+
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
84
|
+
return "/raystack.optimus.core.v1beta1.ReplayService"
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class ReplayServiceClient(ConnectClient):
|
|
88
|
+
async def replay(
|
|
89
|
+
self,
|
|
90
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest,
|
|
91
|
+
*,
|
|
92
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
93
|
+
timeout_ms: int | None = None,
|
|
94
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse:
|
|
95
|
+
return await self.execute_unary(
|
|
96
|
+
request=request,
|
|
97
|
+
method=MethodInfo(
|
|
98
|
+
name="Replay",
|
|
99
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
100
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest,
|
|
101
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse,
|
|
102
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
103
|
+
),
|
|
104
|
+
headers=headers,
|
|
105
|
+
timeout_ms=timeout_ms,
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
async def replay_dry_run(
|
|
109
|
+
self,
|
|
110
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest,
|
|
111
|
+
*,
|
|
112
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
113
|
+
timeout_ms: int | None = None,
|
|
114
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse:
|
|
115
|
+
return await self.execute_unary(
|
|
116
|
+
request=request,
|
|
117
|
+
method=MethodInfo(
|
|
118
|
+
name="ReplayDryRun",
|
|
119
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
120
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest,
|
|
121
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse,
|
|
122
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
123
|
+
),
|
|
124
|
+
headers=headers,
|
|
125
|
+
timeout_ms=timeout_ms,
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
async def list_replay(
|
|
129
|
+
self,
|
|
130
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest,
|
|
131
|
+
*,
|
|
132
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
133
|
+
timeout_ms: int | None = None,
|
|
134
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse:
|
|
135
|
+
return await self.execute_unary(
|
|
136
|
+
request=request,
|
|
137
|
+
method=MethodInfo(
|
|
138
|
+
name="ListReplay",
|
|
139
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
140
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest,
|
|
141
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse,
|
|
142
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
143
|
+
),
|
|
144
|
+
headers=headers,
|
|
145
|
+
timeout_ms=timeout_ms,
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
async def get_replay(
|
|
149
|
+
self,
|
|
150
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest,
|
|
151
|
+
*,
|
|
152
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
153
|
+
timeout_ms: int | None = None,
|
|
154
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse:
|
|
155
|
+
return await self.execute_unary(
|
|
156
|
+
request=request,
|
|
157
|
+
method=MethodInfo(
|
|
158
|
+
name="GetReplay",
|
|
159
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
160
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest,
|
|
161
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse,
|
|
162
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
163
|
+
),
|
|
164
|
+
headers=headers,
|
|
165
|
+
timeout_ms=timeout_ms,
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class ReplayServiceSync(Protocol):
|
|
170
|
+
def replay(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse:
|
|
171
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
172
|
+
def replay_dry_run(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse:
|
|
173
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
174
|
+
def list_replay(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse:
|
|
175
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
176
|
+
def get_replay(self, request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest, ctx: RequestContext) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse:
|
|
177
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
class ReplayServiceWSGIApplication(ConnectWSGIApplication):
|
|
181
|
+
def __init__(self, service: ReplayServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
182
|
+
super().__init__(
|
|
183
|
+
endpoints={
|
|
184
|
+
"/raystack.optimus.core.v1beta1.ReplayService/Replay": EndpointSync.unary(
|
|
185
|
+
method=MethodInfo(
|
|
186
|
+
name="Replay",
|
|
187
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
188
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest,
|
|
189
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse,
|
|
190
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
191
|
+
),
|
|
192
|
+
function=service.replay,
|
|
193
|
+
),
|
|
194
|
+
"/raystack.optimus.core.v1beta1.ReplayService/ReplayDryRun": EndpointSync.unary(
|
|
195
|
+
method=MethodInfo(
|
|
196
|
+
name="ReplayDryRun",
|
|
197
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
198
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest,
|
|
199
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse,
|
|
200
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
201
|
+
),
|
|
202
|
+
function=service.replay_dry_run,
|
|
203
|
+
),
|
|
204
|
+
"/raystack.optimus.core.v1beta1.ReplayService/ListReplay": EndpointSync.unary(
|
|
205
|
+
method=MethodInfo(
|
|
206
|
+
name="ListReplay",
|
|
207
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
208
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest,
|
|
209
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse,
|
|
210
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
211
|
+
),
|
|
212
|
+
function=service.list_replay,
|
|
213
|
+
),
|
|
214
|
+
"/raystack.optimus.core.v1beta1.ReplayService/GetReplay": EndpointSync.unary(
|
|
215
|
+
method=MethodInfo(
|
|
216
|
+
name="GetReplay",
|
|
217
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
218
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest,
|
|
219
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse,
|
|
220
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
221
|
+
),
|
|
222
|
+
function=service.get_replay,
|
|
223
|
+
),
|
|
224
|
+
},
|
|
225
|
+
interceptors=interceptors,
|
|
226
|
+
read_max_bytes=read_max_bytes,
|
|
227
|
+
)
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
def path(self) -> str:
|
|
231
|
+
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
232
|
+
return "/raystack.optimus.core.v1beta1.ReplayService"
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
class ReplayServiceClientSync(ConnectClientSync):
|
|
236
|
+
def replay(
|
|
237
|
+
self,
|
|
238
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest,
|
|
239
|
+
*,
|
|
240
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
241
|
+
timeout_ms: int | None = None,
|
|
242
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse:
|
|
243
|
+
return self.execute_unary(
|
|
244
|
+
request=request,
|
|
245
|
+
method=MethodInfo(
|
|
246
|
+
name="Replay",
|
|
247
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
248
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayRequest,
|
|
249
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayResponse,
|
|
250
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
251
|
+
),
|
|
252
|
+
headers=headers,
|
|
253
|
+
timeout_ms=timeout_ms,
|
|
254
|
+
)
|
|
255
|
+
|
|
256
|
+
def replay_dry_run(
|
|
257
|
+
self,
|
|
258
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest,
|
|
259
|
+
*,
|
|
260
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
261
|
+
timeout_ms: int | None = None,
|
|
262
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse:
|
|
263
|
+
return self.execute_unary(
|
|
264
|
+
request=request,
|
|
265
|
+
method=MethodInfo(
|
|
266
|
+
name="ReplayDryRun",
|
|
267
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
268
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunRequest,
|
|
269
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ReplayDryRunResponse,
|
|
270
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
271
|
+
),
|
|
272
|
+
headers=headers,
|
|
273
|
+
timeout_ms=timeout_ms,
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
def list_replay(
|
|
277
|
+
self,
|
|
278
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest,
|
|
279
|
+
*,
|
|
280
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
281
|
+
timeout_ms: int | None = None,
|
|
282
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse:
|
|
283
|
+
return self.execute_unary(
|
|
284
|
+
request=request,
|
|
285
|
+
method=MethodInfo(
|
|
286
|
+
name="ListReplay",
|
|
287
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
288
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayRequest,
|
|
289
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.ListReplayResponse,
|
|
290
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
291
|
+
),
|
|
292
|
+
headers=headers,
|
|
293
|
+
timeout_ms=timeout_ms,
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
def get_replay(
|
|
297
|
+
self,
|
|
298
|
+
request: raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest,
|
|
299
|
+
*,
|
|
300
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
301
|
+
timeout_ms: int | None = None,
|
|
302
|
+
) -> raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse:
|
|
303
|
+
return self.execute_unary(
|
|
304
|
+
request=request,
|
|
305
|
+
method=MethodInfo(
|
|
306
|
+
name="GetReplay",
|
|
307
|
+
service_name="raystack.optimus.core.v1beta1.ReplayService",
|
|
308
|
+
input=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayRequest,
|
|
309
|
+
output=raystack_dot_optimus_dot_core_dot_v1beta1_dot_replay__pb2.GetReplayResponse,
|
|
310
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
311
|
+
),
|
|
312
|
+
headers=headers,
|
|
313
|
+
timeout_ms=timeout_ms,
|
|
314
|
+
)
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: raystack/optimus/core/v1beta1/replay.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
32,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'raystack/optimus/core/v1beta1/replay.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*raystack/optimus/core/v1beta1/replay.proto\x12\x1draystack.optimus.core.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"6\n\x11ListReplayRequest\x12!\n\x0cproject_name\x18\x01 \x01(\tR\x0bprojectName\"`\n\x12ListReplayResponse\x12J\n\x07replays\x18\x01 \x03(\x0b\x32\x30.raystack.optimus.core.v1beta1.GetReplayResponseR\x07replays\"R\n\x10GetReplayRequest\x12\x1b\n\treplay_id\x18\x01 \x01(\tR\x08replayId\x12!\n\x0cproject_name\x18\x02 \x01(\tR\x0bprojectName\"\xf3\x01\n\x11GetReplayResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08job_name\x18\x02 \x01(\tR\x07jobName\x12\x16\n\x06status\x18\x03 \x01(\tR\x06status\x12P\n\rreplay_config\x18\x04 \x01(\x0b\x32+.raystack.optimus.core.v1beta1.ReplayConfigR\x0creplayConfig\x12I\n\x0breplay_runs\x18\x05 \x03(\x0b\x32(.raystack.optimus.core.v1beta1.ReplayRunR\nreplayRuns\"\xd7\x02\n\x0cReplayConfig\x12\x39\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x1a\n\x08parallel\x18\x03 \x01(\x08R\x08parallel\x12Y\n\njob_config\x18\x04 \x03(\x0b\x32:.raystack.optimus.core.v1beta1.ReplayConfig.JobConfigEntryR\tjobConfig\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x1a<\n\x0eJobConfigEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"b\n\tReplayRun\x12=\n\x0cscheduled_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\"a\n\x14ReplayDryRunResponse\x12I\n\x0breplay_runs\x18\x01 \x03(\x0b\x32(.raystack.optimus.core.v1beta1.ReplayRunR\nreplayRuns\"\xc3\x02\n\rReplayRequest\x12!\n\x0cproject_name\x18\x01 \x01(\tR\x0bprojectName\x12\x19\n\x08job_name\x18\x02 \x01(\tR\x07jobName\x12%\n\x0enamespace_name\x18\x03 \x01(\tR\rnamespaceName\x12\x39\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x1a\n\x08parallel\x18\x06 \x01(\x08R\x08parallel\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\njob_config\x18\x08 \x01(\tR\tjobConfig\"\xc9\x02\n\x13ReplayDryRunRequest\x12!\n\x0cproject_name\x18\x01 \x01(\tR\x0bprojectName\x12\x19\n\x08job_name\x18\x02 \x01(\tR\x07jobName\x12%\n\x0enamespace_name\x18\x03 \x01(\tR\rnamespaceName\x12\x39\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x1a\n\x08parallel\x18\x06 \x01(\x08R\x08parallel\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\njob_config\x18\x08 \x01(\tR\tjobConfig\" \n\x0eReplayResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id2\xb0\x05\n\rReplayService\x12\x98\x01\n\x06Replay\x12,.raystack.optimus.core.v1beta1.ReplayRequest\x1a-.raystack.optimus.core.v1beta1.ReplayResponse\"1\x82\xd3\xe4\x93\x02+\"&/v1beta1/project/{project_name}/replay:\x01*\x12\xb2\x01\n\x0cReplayDryRun\x12\x32.raystack.optimus.core.v1beta1.ReplayDryRunRequest\x1a\x33.raystack.optimus.core.v1beta1.ReplayDryRunResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1beta1/project/{project_name}/replay-dry-run:\x01*\x12\xa1\x01\n\nListReplay\x12\x30.raystack.optimus.core.v1beta1.ListReplayRequest\x1a\x31.raystack.optimus.core.v1beta1.ListReplayResponse\".\x82\xd3\xe4\x93\x02(\x12&/v1beta1/project/{project_name}/replay\x12\xaa\x01\n\tGetReplay\x12/.raystack.optimus.core.v1beta1.GetReplayRequest\x1a\x30.raystack.optimus.core.v1beta1.GetReplayResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/project/{project_name}/replay/{replay_id}B\x96\x01\n\x1borg.raystack.proton.optimusB\x14ReplayServiceManagerP\x01Z\"github.com/raystack/proton/optimus\x92\x41:\x12\x05\x32\x03\x30.1\x1a\x0e\x31\x32\x37.0.0.1:9100\"\x04/api*\x01\x01r\x18\n\x16Optimus Replay Serviceb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.optimus.core.v1beta1.replay_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\033org.raystack.proton.optimusB\024ReplayServiceManagerP\001Z\"github.com/raystack/proton/optimus\222A:\022\0052\0030.1\032\016127.0.0.1:9100\"\004/api*\001\001r\030\n\026Optimus Replay Service'
|
|
38
|
+
_globals['_REPLAYCONFIG_JOBCONFIGENTRY']._loaded_options = None
|
|
39
|
+
_globals['_REPLAYCONFIG_JOBCONFIGENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_REPLAYSERVICE'].methods_by_name['Replay']._loaded_options = None
|
|
41
|
+
_globals['_REPLAYSERVICE'].methods_by_name['Replay']._serialized_options = b'\202\323\344\223\002+\"&/v1beta1/project/{project_name}/replay:\001*'
|
|
42
|
+
_globals['_REPLAYSERVICE'].methods_by_name['ReplayDryRun']._loaded_options = None
|
|
43
|
+
_globals['_REPLAYSERVICE'].methods_by_name['ReplayDryRun']._serialized_options = b'\202\323\344\223\0023\"./v1beta1/project/{project_name}/replay-dry-run:\001*'
|
|
44
|
+
_globals['_REPLAYSERVICE'].methods_by_name['ListReplay']._loaded_options = None
|
|
45
|
+
_globals['_REPLAYSERVICE'].methods_by_name['ListReplay']._serialized_options = b'\202\323\344\223\002(\022&/v1beta1/project/{project_name}/replay'
|
|
46
|
+
_globals['_REPLAYSERVICE'].methods_by_name['GetReplay']._loaded_options = None
|
|
47
|
+
_globals['_REPLAYSERVICE'].methods_by_name['GetReplay']._serialized_options = b'\202\323\344\223\0024\0222/v1beta1/project/{project_name}/replay/{replay_id}'
|
|
48
|
+
_globals['_LISTREPLAYREQUEST']._serialized_start=188
|
|
49
|
+
_globals['_LISTREPLAYREQUEST']._serialized_end=242
|
|
50
|
+
_globals['_LISTREPLAYRESPONSE']._serialized_start=244
|
|
51
|
+
_globals['_LISTREPLAYRESPONSE']._serialized_end=340
|
|
52
|
+
_globals['_GETREPLAYREQUEST']._serialized_start=342
|
|
53
|
+
_globals['_GETREPLAYREQUEST']._serialized_end=424
|
|
54
|
+
_globals['_GETREPLAYRESPONSE']._serialized_start=427
|
|
55
|
+
_globals['_GETREPLAYRESPONSE']._serialized_end=670
|
|
56
|
+
_globals['_REPLAYCONFIG']._serialized_start=673
|
|
57
|
+
_globals['_REPLAYCONFIG']._serialized_end=1016
|
|
58
|
+
_globals['_REPLAYCONFIG_JOBCONFIGENTRY']._serialized_start=956
|
|
59
|
+
_globals['_REPLAYCONFIG_JOBCONFIGENTRY']._serialized_end=1016
|
|
60
|
+
_globals['_REPLAYRUN']._serialized_start=1018
|
|
61
|
+
_globals['_REPLAYRUN']._serialized_end=1116
|
|
62
|
+
_globals['_REPLAYDRYRUNRESPONSE']._serialized_start=1118
|
|
63
|
+
_globals['_REPLAYDRYRUNRESPONSE']._serialized_end=1215
|
|
64
|
+
_globals['_REPLAYREQUEST']._serialized_start=1218
|
|
65
|
+
_globals['_REPLAYREQUEST']._serialized_end=1541
|
|
66
|
+
_globals['_REPLAYDRYRUNREQUEST']._serialized_start=1544
|
|
67
|
+
_globals['_REPLAYDRYRUNREQUEST']._serialized_end=1873
|
|
68
|
+
_globals['_REPLAYRESPONSE']._serialized_start=1875
|
|
69
|
+
_globals['_REPLAYRESPONSE']._serialized_end=1907
|
|
70
|
+
_globals['_REPLAYSERVICE']._serialized_start=1910
|
|
71
|
+
_globals['_REPLAYSERVICE']._serialized_end=2598
|
|
72
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.api import annotations_pb2 as _annotations_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as _annotations_pb2_1
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class ListReplayRequest(_message.Message):
|
|
15
|
+
__slots__ = ("project_name",)
|
|
16
|
+
PROJECT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
project_name: str
|
|
18
|
+
def __init__(self, project_name: _Optional[str] = ...) -> None: ...
|
|
19
|
+
|
|
20
|
+
class ListReplayResponse(_message.Message):
|
|
21
|
+
__slots__ = ("replays",)
|
|
22
|
+
REPLAYS_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
replays: _containers.RepeatedCompositeFieldContainer[GetReplayResponse]
|
|
24
|
+
def __init__(self, replays: _Optional[_Iterable[_Union[GetReplayResponse, _Mapping]]] = ...) -> None: ...
|
|
25
|
+
|
|
26
|
+
class GetReplayRequest(_message.Message):
|
|
27
|
+
__slots__ = ("replay_id", "project_name")
|
|
28
|
+
REPLAY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
PROJECT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
replay_id: str
|
|
31
|
+
project_name: str
|
|
32
|
+
def __init__(self, replay_id: _Optional[str] = ..., project_name: _Optional[str] = ...) -> None: ...
|
|
33
|
+
|
|
34
|
+
class GetReplayResponse(_message.Message):
|
|
35
|
+
__slots__ = ("id", "job_name", "status", "replay_config", "replay_runs")
|
|
36
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
JOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
REPLAY_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
REPLAY_RUNS_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
id: str
|
|
42
|
+
job_name: str
|
|
43
|
+
status: str
|
|
44
|
+
replay_config: ReplayConfig
|
|
45
|
+
replay_runs: _containers.RepeatedCompositeFieldContainer[ReplayRun]
|
|
46
|
+
def __init__(self, id: _Optional[str] = ..., job_name: _Optional[str] = ..., status: _Optional[str] = ..., replay_config: _Optional[_Union[ReplayConfig, _Mapping]] = ..., replay_runs: _Optional[_Iterable[_Union[ReplayRun, _Mapping]]] = ...) -> None: ...
|
|
47
|
+
|
|
48
|
+
class ReplayConfig(_message.Message):
|
|
49
|
+
__slots__ = ("start_time", "end_time", "parallel", "job_config", "description")
|
|
50
|
+
class JobConfigEntry(_message.Message):
|
|
51
|
+
__slots__ = ("key", "value")
|
|
52
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
key: str
|
|
55
|
+
value: str
|
|
56
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
57
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
PARALLEL_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
JOB_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
start_time: _timestamp_pb2.Timestamp
|
|
63
|
+
end_time: _timestamp_pb2.Timestamp
|
|
64
|
+
parallel: bool
|
|
65
|
+
job_config: _containers.ScalarMap[str, str]
|
|
66
|
+
description: str
|
|
67
|
+
def __init__(self, start_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., parallel: _Optional[bool] = ..., job_config: _Optional[_Mapping[str, str]] = ..., description: _Optional[str] = ...) -> None: ...
|
|
68
|
+
|
|
69
|
+
class ReplayRun(_message.Message):
|
|
70
|
+
__slots__ = ("scheduled_at", "status")
|
|
71
|
+
SCHEDULED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
scheduled_at: _timestamp_pb2.Timestamp
|
|
74
|
+
status: str
|
|
75
|
+
def __init__(self, scheduled_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., status: _Optional[str] = ...) -> None: ...
|
|
76
|
+
|
|
77
|
+
class ReplayDryRunResponse(_message.Message):
|
|
78
|
+
__slots__ = ("replay_runs",)
|
|
79
|
+
REPLAY_RUNS_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
replay_runs: _containers.RepeatedCompositeFieldContainer[ReplayRun]
|
|
81
|
+
def __init__(self, replay_runs: _Optional[_Iterable[_Union[ReplayRun, _Mapping]]] = ...) -> None: ...
|
|
82
|
+
|
|
83
|
+
class ReplayRequest(_message.Message):
|
|
84
|
+
__slots__ = ("project_name", "job_name", "namespace_name", "start_time", "end_time", "parallel", "description", "job_config")
|
|
85
|
+
PROJECT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
JOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
NAMESPACE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
PARALLEL_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
JOB_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
project_name: str
|
|
94
|
+
job_name: str
|
|
95
|
+
namespace_name: str
|
|
96
|
+
start_time: _timestamp_pb2.Timestamp
|
|
97
|
+
end_time: _timestamp_pb2.Timestamp
|
|
98
|
+
parallel: bool
|
|
99
|
+
description: str
|
|
100
|
+
job_config: str
|
|
101
|
+
def __init__(self, project_name: _Optional[str] = ..., job_name: _Optional[str] = ..., namespace_name: _Optional[str] = ..., start_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., parallel: _Optional[bool] = ..., description: _Optional[str] = ..., job_config: _Optional[str] = ...) -> None: ...
|
|
102
|
+
|
|
103
|
+
class ReplayDryRunRequest(_message.Message):
|
|
104
|
+
__slots__ = ("project_name", "job_name", "namespace_name", "start_time", "end_time", "parallel", "description", "job_config")
|
|
105
|
+
PROJECT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
JOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
NAMESPACE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
109
|
+
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
+
PARALLEL_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
112
|
+
JOB_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
project_name: str
|
|
114
|
+
job_name: str
|
|
115
|
+
namespace_name: str
|
|
116
|
+
start_time: _timestamp_pb2.Timestamp
|
|
117
|
+
end_time: _timestamp_pb2.Timestamp
|
|
118
|
+
parallel: bool
|
|
119
|
+
description: str
|
|
120
|
+
job_config: str
|
|
121
|
+
def __init__(self, project_name: _Optional[str] = ..., job_name: _Optional[str] = ..., namespace_name: _Optional[str] = ..., start_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., parallel: _Optional[bool] = ..., description: _Optional[str] = ..., job_config: _Optional[str] = ...) -> None: ...
|
|
122
|
+
|
|
123
|
+
class ReplayResponse(_message.Message):
|
|
124
|
+
__slots__ = ("id",)
|
|
125
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
id: str
|
|
127
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|