chalkpy 2.93.4__py3-none-any.whl → 2.93.6__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.
- chalk/_gen/chalk/arrow/v1/arrow_pb2.py +7 -5
- chalk/_gen/chalk/arrow/v1/arrow_pb2.pyi +6 -0
- chalk/_gen/chalk/common/v1/offline_query_pb2.py +17 -15
- chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +25 -0
- chalk/_gen/chalk/common/v1/script_task_pb2.py +3 -3
- chalk/_gen/chalk/common/v1/script_task_pb2.pyi +2 -0
- chalk/_gen/chalk/dataframe/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.py +48 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.pyi +119 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.py +4 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/graph/v1/graph_pb2.py +150 -149
- chalk/_gen/chalk/graph/v1/graph_pb2.pyi +5 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.py +79 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.pyi +377 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.py +4 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.py +43 -7
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.pyi +252 -2
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +45 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +74 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +218 -210
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +59 -1
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +70 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +219 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.py +170 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.pyi +62 -0
- chalk/_gen/chalk/server/v1/files_pb2.py +65 -0
- chalk/_gen/chalk/server/v1/files_pb2.pyi +167 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/kube_pb2.py +29 -19
- chalk/_gen/chalk/server/v1/kube_pb2.pyi +28 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/queries_pb2.py +66 -66
- chalk/_gen/chalk/server/v1/queries_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.py +75 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.pyi +142 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.py +349 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.pyi +114 -0
- chalk/_gen/chalk/server/v1/trace_pb2.py +44 -40
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +12 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.py +62 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.pyi +75 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.py +221 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.pyi +88 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +8 -8
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +4 -1
- chalk/_version.py +1 -1
- chalk/df/LazyFramePlaceholder.py +1125 -0
- chalk/features/_encoding/converter.py +23 -0
- chalk/features/feature_field.py +4 -2
- chalk/features/feature_set.py +0 -1
- chalk/features/feature_set_decorator.py +1 -34
- chalk/features/resolver.py +9 -2
- chalk/operators/_utils.py +10 -3
- chalk/parsed/to_proto.py +7 -1
- {chalkpy-2.93.4.dist-info → chalkpy-2.93.6.dist-info}/METADATA +1 -1
- {chalkpy-2.93.4.dist-info → chalkpy-2.93.6.dist-info}/RECORD +66 -35
- {chalkpy-2.93.4.dist-info → chalkpy-2.93.6.dist-info}/WHEEL +0 -0
- {chalkpy-2.93.4.dist-info → chalkpy-2.93.6.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.93.4.dist-info → chalkpy-2.93.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/server/v1/files.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.3
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
10
|
+
from google.protobuf.internal import builder as _builder
|
|
11
|
+
# @@protoc_insertion_point(imports)
|
|
12
|
+
|
|
13
|
+
_sym_db = _symbol_database.Default()
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
20
|
+
b'\n\x1b\x63halk/server/v1/files.proto\x12\x0f\x63halk.server.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\xec\x02\n\x04\x46ile\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x36\n\tfile_type\x18\x03 \x01(\x0e\x32\x19.chalk.server.v1.FileTypeR\x08\x66ileType\x12\x19\n\x08owner_id\x18\x04 \x01(\tR\x07ownerId\x12%\n\x0e\x65nvironment_id\x18\x05 \x01(\tR\renvironmentId\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x0b\x61rchived_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\narchivedAt\x88\x01\x01\x42\x0e\n\x0c_archived_at"\x86\x01\n\x11\x43reateFileRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x36\n\tfile_type\x18\x02 \x01(\x0e\x32\x19.chalk.server.v1.FileTypeR\x08\x66ileType\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId"?\n\x12\x43reateFileResponse\x12)\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x15.chalk.server.v1.FileR\x04\x66ile" \n\x0eGetFileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"<\n\x0fGetFileResponse\x12)\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x15.chalk.server.v1.FileR\x04\x66ile"E\n\x11UpdateFileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_name"?\n\x12UpdateFileResponse\x12)\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x15.chalk.server.v1.FileR\x04\x66ile"#\n\x11\x44\x65leteFileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x14\n\x12\x44\x65leteFileResponse"\\\n\x0fListFilesFilter\x12;\n\tfile_type\x18\x01 \x01(\x0e\x32\x19.chalk.server.v1.FileTypeH\x00R\x08\x66ileType\x88\x01\x01\x42\x0c\n\n_file_type"\xd0\x01\n\x10ListFilesRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12=\n\x06\x66ilter\x18\x02 \x01(\x0b\x32 .chalk.server.v1.ListFilesFilterH\x00R\x06\x66ilter\x88\x01\x01\x12\x1b\n\x06\x63ursor\x18\x03 \x01(\tH\x01R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x04 \x01(\x05H\x02R\x05limit\x88\x01\x01\x42\t\n\x07_filterB\t\n\x07_cursorB\x08\n\x06_limit"h\n\x11ListFilesResponse\x12+\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x15.chalk.server.v1.FileR\x05\x66iles\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"$\n\x12\x41rchiveFileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"@\n\x13\x41rchiveFileResponse\x12)\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x15.chalk.server.v1.FileR\x04\x66ile"&\n\x14UnarchiveFileRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"B\n\x15UnarchiveFileResponse\x12)\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x15.chalk.server.v1.FileR\x04\x66ile*B\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x46ILE_TYPE_SQL_WORKSHEET\x10\x01\x42\x93\x01\n\x13\x63om.chalk.server.v1B\nFilesProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
_globals = globals()
|
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "chalk.server.v1.files_pb2", _globals)
|
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
+
_globals["DESCRIPTOR"]._options = None
|
|
28
|
+
_globals[
|
|
29
|
+
"DESCRIPTOR"
|
|
30
|
+
]._serialized_options = b"\n\023com.chalk.server.v1B\nFilesProtoP\001Z\022server/v1;serverv1\242\002\003CSX\252\002\017Chalk.Server.V1\312\002\017Chalk\\Server\\V1\342\002\033Chalk\\Server\\V1\\GPBMetadata\352\002\021Chalk::Server::V1"
|
|
31
|
+
_globals["_FILETYPE"]._serialized_start = 1564
|
|
32
|
+
_globals["_FILETYPE"]._serialized_end = 1630
|
|
33
|
+
_globals["_FILE"]._serialized_start = 82
|
|
34
|
+
_globals["_FILE"]._serialized_end = 446
|
|
35
|
+
_globals["_CREATEFILEREQUEST"]._serialized_start = 449
|
|
36
|
+
_globals["_CREATEFILEREQUEST"]._serialized_end = 583
|
|
37
|
+
_globals["_CREATEFILERESPONSE"]._serialized_start = 585
|
|
38
|
+
_globals["_CREATEFILERESPONSE"]._serialized_end = 648
|
|
39
|
+
_globals["_GETFILEREQUEST"]._serialized_start = 650
|
|
40
|
+
_globals["_GETFILEREQUEST"]._serialized_end = 682
|
|
41
|
+
_globals["_GETFILERESPONSE"]._serialized_start = 684
|
|
42
|
+
_globals["_GETFILERESPONSE"]._serialized_end = 744
|
|
43
|
+
_globals["_UPDATEFILEREQUEST"]._serialized_start = 746
|
|
44
|
+
_globals["_UPDATEFILEREQUEST"]._serialized_end = 815
|
|
45
|
+
_globals["_UPDATEFILERESPONSE"]._serialized_start = 817
|
|
46
|
+
_globals["_UPDATEFILERESPONSE"]._serialized_end = 880
|
|
47
|
+
_globals["_DELETEFILEREQUEST"]._serialized_start = 882
|
|
48
|
+
_globals["_DELETEFILEREQUEST"]._serialized_end = 917
|
|
49
|
+
_globals["_DELETEFILERESPONSE"]._serialized_start = 919
|
|
50
|
+
_globals["_DELETEFILERESPONSE"]._serialized_end = 939
|
|
51
|
+
_globals["_LISTFILESFILTER"]._serialized_start = 941
|
|
52
|
+
_globals["_LISTFILESFILTER"]._serialized_end = 1033
|
|
53
|
+
_globals["_LISTFILESREQUEST"]._serialized_start = 1036
|
|
54
|
+
_globals["_LISTFILESREQUEST"]._serialized_end = 1244
|
|
55
|
+
_globals["_LISTFILESRESPONSE"]._serialized_start = 1246
|
|
56
|
+
_globals["_LISTFILESRESPONSE"]._serialized_end = 1350
|
|
57
|
+
_globals["_ARCHIVEFILEREQUEST"]._serialized_start = 1352
|
|
58
|
+
_globals["_ARCHIVEFILEREQUEST"]._serialized_end = 1388
|
|
59
|
+
_globals["_ARCHIVEFILERESPONSE"]._serialized_start = 1390
|
|
60
|
+
_globals["_ARCHIVEFILERESPONSE"]._serialized_end = 1454
|
|
61
|
+
_globals["_UNARCHIVEFILEREQUEST"]._serialized_start = 1456
|
|
62
|
+
_globals["_UNARCHIVEFILEREQUEST"]._serialized_end = 1494
|
|
63
|
+
_globals["_UNARCHIVEFILERESPONSE"]._serialized_start = 1496
|
|
64
|
+
_globals["_UNARCHIVEFILERESPONSE"]._serialized_end = 1562
|
|
65
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from typing import (
|
|
7
|
+
ClassVar as _ClassVar,
|
|
8
|
+
Iterable as _Iterable,
|
|
9
|
+
Mapping as _Mapping,
|
|
10
|
+
Optional as _Optional,
|
|
11
|
+
Union as _Union,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
class FileType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
17
|
+
__slots__ = ()
|
|
18
|
+
FILE_TYPE_UNSPECIFIED: _ClassVar[FileType]
|
|
19
|
+
FILE_TYPE_SQL_WORKSHEET: _ClassVar[FileType]
|
|
20
|
+
|
|
21
|
+
FILE_TYPE_UNSPECIFIED: FileType
|
|
22
|
+
FILE_TYPE_SQL_WORKSHEET: FileType
|
|
23
|
+
|
|
24
|
+
class File(_message.Message):
|
|
25
|
+
__slots__ = ("id", "name", "file_type", "owner_id", "environment_id", "created_at", "updated_at", "archived_at")
|
|
26
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
FILE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
OWNER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
ARCHIVED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
id: str
|
|
35
|
+
name: str
|
|
36
|
+
file_type: FileType
|
|
37
|
+
owner_id: str
|
|
38
|
+
environment_id: str
|
|
39
|
+
created_at: _timestamp_pb2.Timestamp
|
|
40
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
41
|
+
archived_at: _timestamp_pb2.Timestamp
|
|
42
|
+
def __init__(
|
|
43
|
+
self,
|
|
44
|
+
id: _Optional[str] = ...,
|
|
45
|
+
name: _Optional[str] = ...,
|
|
46
|
+
file_type: _Optional[_Union[FileType, str]] = ...,
|
|
47
|
+
owner_id: _Optional[str] = ...,
|
|
48
|
+
environment_id: _Optional[str] = ...,
|
|
49
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
50
|
+
updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
51
|
+
archived_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
52
|
+
) -> None: ...
|
|
53
|
+
|
|
54
|
+
class CreateFileRequest(_message.Message):
|
|
55
|
+
__slots__ = ("name", "file_type", "environment_id")
|
|
56
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
FILE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
name: str
|
|
60
|
+
file_type: FileType
|
|
61
|
+
environment_id: str
|
|
62
|
+
def __init__(
|
|
63
|
+
self,
|
|
64
|
+
name: _Optional[str] = ...,
|
|
65
|
+
file_type: _Optional[_Union[FileType, str]] = ...,
|
|
66
|
+
environment_id: _Optional[str] = ...,
|
|
67
|
+
) -> None: ...
|
|
68
|
+
|
|
69
|
+
class CreateFileResponse(_message.Message):
|
|
70
|
+
__slots__ = ("file",)
|
|
71
|
+
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
file: File
|
|
73
|
+
def __init__(self, file: _Optional[_Union[File, _Mapping]] = ...) -> None: ...
|
|
74
|
+
|
|
75
|
+
class GetFileRequest(_message.Message):
|
|
76
|
+
__slots__ = ("id",)
|
|
77
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
id: str
|
|
79
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
80
|
+
|
|
81
|
+
class GetFileResponse(_message.Message):
|
|
82
|
+
__slots__ = ("file",)
|
|
83
|
+
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
+
file: File
|
|
85
|
+
def __init__(self, file: _Optional[_Union[File, _Mapping]] = ...) -> None: ...
|
|
86
|
+
|
|
87
|
+
class UpdateFileRequest(_message.Message):
|
|
88
|
+
__slots__ = ("id", "name")
|
|
89
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
id: str
|
|
92
|
+
name: str
|
|
93
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
94
|
+
|
|
95
|
+
class UpdateFileResponse(_message.Message):
|
|
96
|
+
__slots__ = ("file",)
|
|
97
|
+
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
file: File
|
|
99
|
+
def __init__(self, file: _Optional[_Union[File, _Mapping]] = ...) -> None: ...
|
|
100
|
+
|
|
101
|
+
class DeleteFileRequest(_message.Message):
|
|
102
|
+
__slots__ = ("id",)
|
|
103
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
id: str
|
|
105
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
106
|
+
|
|
107
|
+
class DeleteFileResponse(_message.Message):
|
|
108
|
+
__slots__ = ()
|
|
109
|
+
def __init__(self) -> None: ...
|
|
110
|
+
|
|
111
|
+
class ListFilesFilter(_message.Message):
|
|
112
|
+
__slots__ = ("file_type",)
|
|
113
|
+
FILE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
file_type: FileType
|
|
115
|
+
def __init__(self, file_type: _Optional[_Union[FileType, str]] = ...) -> None: ...
|
|
116
|
+
|
|
117
|
+
class ListFilesRequest(_message.Message):
|
|
118
|
+
__slots__ = ("environment_id", "filter", "cursor", "limit")
|
|
119
|
+
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
CURSOR_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
environment_id: str
|
|
124
|
+
filter: ListFilesFilter
|
|
125
|
+
cursor: str
|
|
126
|
+
limit: int
|
|
127
|
+
def __init__(
|
|
128
|
+
self,
|
|
129
|
+
environment_id: _Optional[str] = ...,
|
|
130
|
+
filter: _Optional[_Union[ListFilesFilter, _Mapping]] = ...,
|
|
131
|
+
cursor: _Optional[str] = ...,
|
|
132
|
+
limit: _Optional[int] = ...,
|
|
133
|
+
) -> None: ...
|
|
134
|
+
|
|
135
|
+
class ListFilesResponse(_message.Message):
|
|
136
|
+
__slots__ = ("files", "cursor")
|
|
137
|
+
FILES_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
CURSOR_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
files: _containers.RepeatedCompositeFieldContainer[File]
|
|
140
|
+
cursor: str
|
|
141
|
+
def __init__(
|
|
142
|
+
self, files: _Optional[_Iterable[_Union[File, _Mapping]]] = ..., cursor: _Optional[str] = ...
|
|
143
|
+
) -> None: ...
|
|
144
|
+
|
|
145
|
+
class ArchiveFileRequest(_message.Message):
|
|
146
|
+
__slots__ = ("id",)
|
|
147
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
id: str
|
|
149
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
150
|
+
|
|
151
|
+
class ArchiveFileResponse(_message.Message):
|
|
152
|
+
__slots__ = ("file",)
|
|
153
|
+
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
file: File
|
|
155
|
+
def __init__(self, file: _Optional[_Union[File, _Mapping]] = ...) -> None: ...
|
|
156
|
+
|
|
157
|
+
class UnarchiveFileRequest(_message.Message):
|
|
158
|
+
__slots__ = ("id",)
|
|
159
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
id: str
|
|
161
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
162
|
+
|
|
163
|
+
class UnarchiveFileResponse(_message.Message):
|
|
164
|
+
__slots__ = ("file",)
|
|
165
|
+
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
file: File
|
|
167
|
+
def __init__(self, file: _Optional[_Union[File, _Mapping]] = ...) -> None: ...
|
|
@@ -15,12 +15,16 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
|
|
16
16
|
from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
|
|
17
17
|
from chalk._gen.chalk.kubernetes.v1 import events_pb2 as chalk_dot_kubernetes_dot_v1_dot_events__pb2
|
|
18
|
+
from chalk._gen.chalk.kubernetes.v1 import (
|
|
19
|
+
horizontalpodautoscaler_pb2 as chalk_dot_kubernetes_dot_v1_dot_horizontalpodautoscaler__pb2,
|
|
20
|
+
)
|
|
18
21
|
from chalk._gen.chalk.kubernetes.v1 import persistentvolume_pb2 as chalk_dot_kubernetes_dot_v1_dot_persistentvolume__pb2
|
|
22
|
+
from chalk._gen.chalk.kubernetes.v1 import scaledobject_pb2 as chalk_dot_kubernetes_dot_v1_dot_scaledobject__pb2
|
|
19
23
|
from chalk._gen.chalk.kubernetes.v1 import serviceaccounts_pb2 as chalk_dot_kubernetes_dot_v1_dot_serviceaccounts__pb2
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n\x1a\x63halk/server/v1/kube.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a chalk/kubernetes/v1/events.proto\x1a*chalk/kubernetes/v1/persistentvolume.proto\x1a)chalk/kubernetes/v1/serviceaccounts.proto"\xb2\x02\n\x1bGetPodStackTraceDumpRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12\x19\n\x08pod_name\x18\x02 \x01(\tR\x07podName\x12*\n\x0e\x63ontainer_name\x18\x03 \x01(\tH\x02R\rcontainerName\x88\x01\x01\x12\x1f\n\nprocess_id\x18\x04 \x01(\x05H\x00R\tprocessId\x12#\n\x0cprocess_name\x18\x05 \x01(\tH\x00R\x0bprocessName\x12\x30\n\x13\x61uto_detect_process\x18\x06 \x01(\x08H\x00R\x11\x61utoDetectProcessB\x10\n\x0eprocess_filterB\x0c\n\n_namespaceB\x11\n\x0f_container_name"?\n\x1cGetPodStackTraceDumpResponse\x12\x1f\n\x0bstack_trace\x18\x01 \x01(\tR\nstackTrace"\x84\x02\n\x1aGetKubernetesEventsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x12*\n\x0e\x66ield_selector\x18\x04 \x01(\tH\x03R\rfieldSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selectorB\x11\n\x0f_field_selector"`\n\x1bGetKubernetesEventsResponse\x12\x41\n\x06\x65vents\x18\x01 \x03(\x0b\x32).chalk.kubernetes.v1.ChalkKubernetesEventR\x06\x65vents"\'\n%GetKubernetesPersistentVolumesRequest"x\n&GetKubernetesPersistentVolumesResponse\x12N\n\x07volumes\x18\x01 \x03(\x0b\x32\x34.chalk.kubernetes.v1.ChalkKubernetesPersistentVolumeR\x07volumes"\xce\x01\n#GetKubernetesServiceAccountsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selector"\x80\x01\n$GetKubernetesServiceAccountsResponse\x12X\n\x10service_accounts\x18\x01 \x03(\x0b\x32-.chalk.kubernetes.v1.KubernetesServiceAccountR\
|
|
27
|
+
b'\n\x1a\x63halk/server/v1/kube.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a chalk/kubernetes/v1/events.proto\x1a\x31\x63halk/kubernetes/v1/horizontalpodautoscaler.proto\x1a*chalk/kubernetes/v1/persistentvolume.proto\x1a&chalk/kubernetes/v1/scaledobject.proto\x1a)chalk/kubernetes/v1/serviceaccounts.proto"\xb2\x02\n\x1bGetPodStackTraceDumpRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12\x19\n\x08pod_name\x18\x02 \x01(\tR\x07podName\x12*\n\x0e\x63ontainer_name\x18\x03 \x01(\tH\x02R\rcontainerName\x88\x01\x01\x12\x1f\n\nprocess_id\x18\x04 \x01(\x05H\x00R\tprocessId\x12#\n\x0cprocess_name\x18\x05 \x01(\tH\x00R\x0bprocessName\x12\x30\n\x13\x61uto_detect_process\x18\x06 \x01(\x08H\x00R\x11\x61utoDetectProcessB\x10\n\x0eprocess_filterB\x0c\n\n_namespaceB\x11\n\x0f_container_name"?\n\x1cGetPodStackTraceDumpResponse\x12\x1f\n\x0bstack_trace\x18\x01 \x01(\tR\nstackTrace"\x84\x02\n\x1aGetKubernetesEventsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x12*\n\x0e\x66ield_selector\x18\x04 \x01(\tH\x03R\rfieldSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selectorB\x11\n\x0f_field_selector"`\n\x1bGetKubernetesEventsResponse\x12\x41\n\x06\x65vents\x18\x01 \x03(\x0b\x32).chalk.kubernetes.v1.ChalkKubernetesEventR\x06\x65vents"\'\n%GetKubernetesPersistentVolumesRequest"x\n&GetKubernetesPersistentVolumesResponse\x12N\n\x07volumes\x18\x01 \x03(\x0b\x32\x34.chalk.kubernetes.v1.ChalkKubernetesPersistentVolumeR\x07volumes"\xce\x01\n#GetKubernetesServiceAccountsRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selector"\x80\x01\n$GetKubernetesServiceAccountsResponse\x12X\n\x10service_accounts\x18\x01 \x03(\x0b\x32-.chalk.kubernetes.v1.KubernetesServiceAccountR\x0fserviceAccounts"\xca\x01\n\x1fGetKubernetesAutoscalersRequest\x12&\n\x0c\x63luster_name\x18\x01 \x01(\tH\x00R\x0b\x63lusterName\x88\x01\x01\x12!\n\tnamespace\x18\x02 \x01(\tH\x01R\tnamespace\x88\x01\x01\x12*\n\x0elabel_selector\x18\x03 \x01(\tH\x02R\rlabelSelector\x88\x01\x01\x42\x0f\n\r_cluster_nameB\x0c\n\n_namespaceB\x11\n\x0f_label_selector"\xc1\x01\n GetKubernetesAutoscalersResponse\x12J\n\x04hpas\x18\x01 \x03(\x0b\x32\x36.chalk.kubernetes.v1.KubernetesHorizontalPodAutoscalerR\x04hpas\x12Q\n\rscaledobjects\x18\x02 \x03(\x0b\x32+.chalk.kubernetes.v1.KubernetesScaledObjectR\rscaledobjects2\xc0\x05\n\x0bKubeService\x12{\n\x14GetPodStackTraceDump\x12,.chalk.server.v1.GetPodStackTraceDumpRequest\x1a-.chalk.server.v1.GetPodStackTraceDumpResponse"\x06\x90\x02\x01\x80}\x0b\x12x\n\x13GetKubernetesEvents\x12+.chalk.server.v1.GetKubernetesEventsRequest\x1a,.chalk.server.v1.GetKubernetesEventsResponse"\x06\x90\x02\x01\x80}\x0b\x12\x99\x01\n\x1eGetKubernetesPersistentVolumes\x12\x36.chalk.server.v1.GetKubernetesPersistentVolumesRequest\x1a\x37.chalk.server.v1.GetKubernetesPersistentVolumesResponse"\x06\x90\x02\x01\x80}\x0b\x12\x93\x01\n\x1cGetKubernetesServiceAccounts\x12\x34.chalk.server.v1.GetKubernetesServiceAccountsRequest\x1a\x35.chalk.server.v1.GetKubernetesServiceAccountsResponse"\x06\x90\x02\x01\x80}\x0b\x12\x87\x01\n\x18GetKubernetesAutoscalers\x12\x30.chalk.server.v1.GetKubernetesAutoscalersRequest\x1a\x31.chalk.server.v1.GetKubernetesAutoscalersResponse"\x06\x90\x02\x01\x80}\x0b\x42\x92\x01\n\x13\x63om.chalk.server.v1B\tKubeProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
24
28
|
)
|
|
25
29
|
|
|
26
30
|
_globals = globals()
|
|
@@ -43,22 +47,28 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
43
47
|
_globals["_KUBESERVICE"].methods_by_name[
|
|
44
48
|
"GetKubernetesServiceAccounts"
|
|
45
49
|
]._serialized_options = b"\220\002\001\200}\013"
|
|
46
|
-
_globals["
|
|
47
|
-
_globals["
|
|
48
|
-
_globals["
|
|
49
|
-
_globals["
|
|
50
|
-
_globals["
|
|
51
|
-
_globals["
|
|
52
|
-
_globals["
|
|
53
|
-
_globals["
|
|
54
|
-
_globals["
|
|
55
|
-
_globals["
|
|
56
|
-
_globals["
|
|
57
|
-
_globals["
|
|
58
|
-
_globals["
|
|
59
|
-
_globals["
|
|
60
|
-
_globals["
|
|
61
|
-
_globals["
|
|
62
|
-
_globals["
|
|
63
|
-
_globals["
|
|
50
|
+
_globals["_KUBESERVICE"].methods_by_name["GetKubernetesAutoscalers"]._options = None
|
|
51
|
+
_globals["_KUBESERVICE"].methods_by_name["GetKubernetesAutoscalers"]._serialized_options = b"\220\002\001\200}\013"
|
|
52
|
+
_globals["_GETPODSTACKTRACEDUMPREQUEST"]._serialized_start = 293
|
|
53
|
+
_globals["_GETPODSTACKTRACEDUMPREQUEST"]._serialized_end = 599
|
|
54
|
+
_globals["_GETPODSTACKTRACEDUMPRESPONSE"]._serialized_start = 601
|
|
55
|
+
_globals["_GETPODSTACKTRACEDUMPRESPONSE"]._serialized_end = 664
|
|
56
|
+
_globals["_GETKUBERNETESEVENTSREQUEST"]._serialized_start = 667
|
|
57
|
+
_globals["_GETKUBERNETESEVENTSREQUEST"]._serialized_end = 927
|
|
58
|
+
_globals["_GETKUBERNETESEVENTSRESPONSE"]._serialized_start = 929
|
|
59
|
+
_globals["_GETKUBERNETESEVENTSRESPONSE"]._serialized_end = 1025
|
|
60
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESREQUEST"]._serialized_start = 1027
|
|
61
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESREQUEST"]._serialized_end = 1066
|
|
62
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESRESPONSE"]._serialized_start = 1068
|
|
63
|
+
_globals["_GETKUBERNETESPERSISTENTVOLUMESRESPONSE"]._serialized_end = 1188
|
|
64
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSREQUEST"]._serialized_start = 1191
|
|
65
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSREQUEST"]._serialized_end = 1397
|
|
66
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSRESPONSE"]._serialized_start = 1400
|
|
67
|
+
_globals["_GETKUBERNETESSERVICEACCOUNTSRESPONSE"]._serialized_end = 1528
|
|
68
|
+
_globals["_GETKUBERNETESAUTOSCALERSREQUEST"]._serialized_start = 1531
|
|
69
|
+
_globals["_GETKUBERNETESAUTOSCALERSREQUEST"]._serialized_end = 1733
|
|
70
|
+
_globals["_GETKUBERNETESAUTOSCALERSRESPONSE"]._serialized_start = 1736
|
|
71
|
+
_globals["_GETKUBERNETESAUTOSCALERSRESPONSE"]._serialized_end = 1929
|
|
72
|
+
_globals["_KUBESERVICE"]._serialized_start = 1932
|
|
73
|
+
_globals["_KUBESERVICE"]._serialized_end = 2636
|
|
64
74
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
|
|
2
2
|
from chalk._gen.chalk.kubernetes.v1 import events_pb2 as _events_pb2
|
|
3
|
+
from chalk._gen.chalk.kubernetes.v1 import horizontalpodautoscaler_pb2 as _horizontalpodautoscaler_pb2
|
|
3
4
|
from chalk._gen.chalk.kubernetes.v1 import persistentvolume_pb2 as _persistentvolume_pb2
|
|
5
|
+
from chalk._gen.chalk.kubernetes.v1 import scaledobject_pb2 as _scaledobject_pb2
|
|
4
6
|
from chalk._gen.chalk.kubernetes.v1 import serviceaccounts_pb2 as _serviceaccounts_pb2
|
|
5
7
|
from google.protobuf.internal import containers as _containers
|
|
6
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -104,3 +106,29 @@ class GetKubernetesServiceAccountsResponse(_message.Message):
|
|
|
104
106
|
self,
|
|
105
107
|
service_accounts: _Optional[_Iterable[_Union[_serviceaccounts_pb2.KubernetesServiceAccount, _Mapping]]] = ...,
|
|
106
108
|
) -> None: ...
|
|
109
|
+
|
|
110
|
+
class GetKubernetesAutoscalersRequest(_message.Message):
|
|
111
|
+
__slots__ = ("cluster_name", "namespace", "label_selector")
|
|
112
|
+
CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
NAMESPACE_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
LABEL_SELECTOR_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
cluster_name: str
|
|
116
|
+
namespace: str
|
|
117
|
+
label_selector: str
|
|
118
|
+
def __init__(
|
|
119
|
+
self, cluster_name: _Optional[str] = ..., namespace: _Optional[str] = ..., label_selector: _Optional[str] = ...
|
|
120
|
+
) -> None: ...
|
|
121
|
+
|
|
122
|
+
class GetKubernetesAutoscalersResponse(_message.Message):
|
|
123
|
+
__slots__ = ("hpas", "scaledobjects")
|
|
124
|
+
HPAS_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
SCALEDOBJECTS_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
hpas: _containers.RepeatedCompositeFieldContainer[_horizontalpodautoscaler_pb2.KubernetesHorizontalPodAutoscaler]
|
|
127
|
+
scaledobjects: _containers.RepeatedCompositeFieldContainer[_scaledobject_pb2.KubernetesScaledObject]
|
|
128
|
+
def __init__(
|
|
129
|
+
self,
|
|
130
|
+
hpas: _Optional[
|
|
131
|
+
_Iterable[_Union[_horizontalpodautoscaler_pb2.KubernetesHorizontalPodAutoscaler, _Mapping]]
|
|
132
|
+
] = ...,
|
|
133
|
+
scaledobjects: _Optional[_Iterable[_Union[_scaledobject_pb2.KubernetesScaledObject, _Mapping]]] = ...,
|
|
134
|
+
) -> None: ...
|
|
@@ -35,6 +35,11 @@ class KubeServiceStub(object):
|
|
|
35
35
|
request_serializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesServiceAccountsRequest.SerializeToString,
|
|
36
36
|
response_deserializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesServiceAccountsResponse.FromString,
|
|
37
37
|
)
|
|
38
|
+
self.GetKubernetesAutoscalers = channel.unary_unary(
|
|
39
|
+
"/chalk.server.v1.KubeService/GetKubernetesAutoscalers",
|
|
40
|
+
request_serializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesAutoscalersRequest.SerializeToString,
|
|
41
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesAutoscalersResponse.FromString,
|
|
42
|
+
)
|
|
38
43
|
|
|
39
44
|
|
|
40
45
|
class KubeServiceServicer(object):
|
|
@@ -66,6 +71,12 @@ class KubeServiceServicer(object):
|
|
|
66
71
|
context.set_details("Method not implemented!")
|
|
67
72
|
raise NotImplementedError("Method not implemented!")
|
|
68
73
|
|
|
74
|
+
def GetKubernetesAutoscalers(self, request, context):
|
|
75
|
+
"""Missing associated documentation comment in .proto file."""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details("Method not implemented!")
|
|
78
|
+
raise NotImplementedError("Method not implemented!")
|
|
79
|
+
|
|
69
80
|
|
|
70
81
|
def add_KubeServiceServicer_to_server(servicer, server):
|
|
71
82
|
rpc_method_handlers = {
|
|
@@ -89,6 +100,11 @@ def add_KubeServiceServicer_to_server(servicer, server):
|
|
|
89
100
|
request_deserializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesServiceAccountsRequest.FromString,
|
|
90
101
|
response_serializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesServiceAccountsResponse.SerializeToString,
|
|
91
102
|
),
|
|
103
|
+
"GetKubernetesAutoscalers": grpc.unary_unary_rpc_method_handler(
|
|
104
|
+
servicer.GetKubernetesAutoscalers,
|
|
105
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesAutoscalersRequest.FromString,
|
|
106
|
+
response_serializer=chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesAutoscalersResponse.SerializeToString,
|
|
107
|
+
),
|
|
92
108
|
}
|
|
93
109
|
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.KubeService", rpc_method_handlers)
|
|
94
110
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
@@ -213,3 +229,32 @@ class KubeService(object):
|
|
|
213
229
|
timeout,
|
|
214
230
|
metadata,
|
|
215
231
|
)
|
|
232
|
+
|
|
233
|
+
@staticmethod
|
|
234
|
+
def GetKubernetesAutoscalers(
|
|
235
|
+
request,
|
|
236
|
+
target,
|
|
237
|
+
options=(),
|
|
238
|
+
channel_credentials=None,
|
|
239
|
+
call_credentials=None,
|
|
240
|
+
insecure=False,
|
|
241
|
+
compression=None,
|
|
242
|
+
wait_for_ready=None,
|
|
243
|
+
timeout=None,
|
|
244
|
+
metadata=None,
|
|
245
|
+
):
|
|
246
|
+
return grpc.experimental.unary_unary(
|
|
247
|
+
request,
|
|
248
|
+
target,
|
|
249
|
+
"/chalk.server.v1.KubeService/GetKubernetesAutoscalers",
|
|
250
|
+
chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesAutoscalersRequest.SerializeToString,
|
|
251
|
+
chalk_dot_server_dot_v1_dot_kube__pb2.GetKubernetesAutoscalersResponse.FromString,
|
|
252
|
+
options,
|
|
253
|
+
channel_credentials,
|
|
254
|
+
insecure,
|
|
255
|
+
call_credentials,
|
|
256
|
+
compression,
|
|
257
|
+
wait_for_ready,
|
|
258
|
+
timeout,
|
|
259
|
+
metadata,
|
|
260
|
+
)
|
|
@@ -8,6 +8,8 @@ from abc import (
|
|
|
8
8
|
abstractmethod,
|
|
9
9
|
)
|
|
10
10
|
from chalk._gen.chalk.server.v1.kube_pb2 import (
|
|
11
|
+
GetKubernetesAutoscalersRequest,
|
|
12
|
+
GetKubernetesAutoscalersResponse,
|
|
11
13
|
GetKubernetesEventsRequest,
|
|
12
14
|
GetKubernetesEventsResponse,
|
|
13
15
|
GetKubernetesPersistentVolumesRequest,
|
|
@@ -45,6 +47,10 @@ class KubeServiceStub:
|
|
|
45
47
|
GetKubernetesServiceAccountsRequest,
|
|
46
48
|
GetKubernetesServiceAccountsResponse,
|
|
47
49
|
]
|
|
50
|
+
GetKubernetesAutoscalers: UnaryUnaryMultiCallable[
|
|
51
|
+
GetKubernetesAutoscalersRequest,
|
|
52
|
+
GetKubernetesAutoscalersResponse,
|
|
53
|
+
]
|
|
48
54
|
|
|
49
55
|
class KubeServiceServicer(metaclass=ABCMeta):
|
|
50
56
|
@abstractmethod
|
|
@@ -74,5 +80,11 @@ class KubeServiceServicer(metaclass=ABCMeta):
|
|
|
74
80
|
request: GetKubernetesServiceAccountsRequest,
|
|
75
81
|
context: ServicerContext,
|
|
76
82
|
) -> GetKubernetesServiceAccountsResponse: ...
|
|
83
|
+
@abstractmethod
|
|
84
|
+
def GetKubernetesAutoscalers(
|
|
85
|
+
self,
|
|
86
|
+
request: GetKubernetesAutoscalersRequest,
|
|
87
|
+
context: ServicerContext,
|
|
88
|
+
) -> GetKubernetesAutoscalersResponse: ...
|
|
77
89
|
|
|
78
90
|
def add_KubeServiceServicer_to_server(servicer: KubeServiceServicer, server: Server) -> None: ...
|