boxd 0.1.0.dev2__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.
- boxd/__init__.py +117 -0
- boxd/_generated/__init__.py +0 -0
- boxd/_generated/api_pb2.py +222 -0
- boxd/_generated/api_pb2_grpc.py +1776 -0
- boxd/_sync.py +448 -0
- boxd/_utils.py +73 -0
- boxd/aio.py +96 -0
- boxd/auth.py +118 -0
- boxd/box.py +320 -0
- boxd/boxes.py +164 -0
- boxd/client.py +141 -0
- boxd/disks.py +111 -0
- boxd/domains.py +54 -0
- boxd/errors.py +62 -0
- boxd/exec.py +122 -0
- boxd/networks.py +43 -0
- boxd/templates.py +113 -0
- boxd/tokens.py +51 -0
- boxd/types.py +142 -0
- boxd-0.1.0.dev2.dist-info/METADATA +329 -0
- boxd-0.1.0.dev2.dist-info/RECORD +24 -0
- boxd-0.1.0.dev2.dist-info/WHEEL +5 -0
- boxd-0.1.0.dev2.dist-info/licenses/LICENSE +21 -0
- boxd-0.1.0.dev2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1776 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from . import api_pb2 as api__pb2
|
|
7
|
+
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.80.0'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
_version_not_supported = False
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
from grpc._utilities import first_version_is_lower
|
|
14
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
15
|
+
except ImportError:
|
|
16
|
+
_version_not_supported = True
|
|
17
|
+
|
|
18
|
+
if _version_not_supported:
|
|
19
|
+
raise RuntimeError(
|
|
20
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
+
+ ' but the generated code in api_pb2_grpc.py depends on'
|
|
22
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class BoxdApiStub(object):
|
|
29
|
+
"""Missing associated documentation comment in .proto file."""
|
|
30
|
+
|
|
31
|
+
def __init__(self, channel):
|
|
32
|
+
"""Constructor.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
channel: A grpc.Channel.
|
|
36
|
+
"""
|
|
37
|
+
self.CreateVm = channel.unary_unary(
|
|
38
|
+
'/boxd.api.v1.BoxdApi/CreateVm',
|
|
39
|
+
request_serializer=api__pb2.CreateVmRequest.SerializeToString,
|
|
40
|
+
response_deserializer=api__pb2.CreateVmResponse.FromString,
|
|
41
|
+
_registered_method=True)
|
|
42
|
+
self.DestroyVm = channel.unary_unary(
|
|
43
|
+
'/boxd.api.v1.BoxdApi/DestroyVm',
|
|
44
|
+
request_serializer=api__pb2.DestroyVmRequest.SerializeToString,
|
|
45
|
+
response_deserializer=api__pb2.DestroyVmResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
47
|
+
self.StartVm = channel.unary_unary(
|
|
48
|
+
'/boxd.api.v1.BoxdApi/StartVm',
|
|
49
|
+
request_serializer=api__pb2.StartVmRequest.SerializeToString,
|
|
50
|
+
response_deserializer=api__pb2.StartVmResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.StopVm = channel.unary_unary(
|
|
53
|
+
'/boxd.api.v1.BoxdApi/StopVm',
|
|
54
|
+
request_serializer=api__pb2.StopVmRequest.SerializeToString,
|
|
55
|
+
response_deserializer=api__pb2.StopVmResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
57
|
+
self.RebootVm = channel.unary_unary(
|
|
58
|
+
'/boxd.api.v1.BoxdApi/RebootVm',
|
|
59
|
+
request_serializer=api__pb2.RebootVmRequest.SerializeToString,
|
|
60
|
+
response_deserializer=api__pb2.RebootVmResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
self.GetVm = channel.unary_unary(
|
|
63
|
+
'/boxd.api.v1.BoxdApi/GetVm',
|
|
64
|
+
request_serializer=api__pb2.GetVmRequest.SerializeToString,
|
|
65
|
+
response_deserializer=api__pb2.GetVmResponse.FromString,
|
|
66
|
+
_registered_method=True)
|
|
67
|
+
self.ListVms = channel.unary_unary(
|
|
68
|
+
'/boxd.api.v1.BoxdApi/ListVms',
|
|
69
|
+
request_serializer=api__pb2.ListVmsRequest.SerializeToString,
|
|
70
|
+
response_deserializer=api__pb2.ListVmsResponse.FromString,
|
|
71
|
+
_registered_method=True)
|
|
72
|
+
self.StreamLogs = channel.unary_stream(
|
|
73
|
+
'/boxd.api.v1.BoxdApi/StreamLogs',
|
|
74
|
+
request_serializer=api__pb2.StreamLogsRequest.SerializeToString,
|
|
75
|
+
response_deserializer=api__pb2.LogChunk.FromString,
|
|
76
|
+
_registered_method=True)
|
|
77
|
+
self.Exec = channel.stream_stream(
|
|
78
|
+
'/boxd.api.v1.BoxdApi/Exec',
|
|
79
|
+
request_serializer=api__pb2.ExecChunk.SerializeToString,
|
|
80
|
+
response_deserializer=api__pb2.ExecChunk.FromString,
|
|
81
|
+
_registered_method=True)
|
|
82
|
+
self.CreateNetwork = channel.unary_unary(
|
|
83
|
+
'/boxd.api.v1.BoxdApi/CreateNetwork',
|
|
84
|
+
request_serializer=api__pb2.CreateNetworkRequest.SerializeToString,
|
|
85
|
+
response_deserializer=api__pb2.CreateNetworkResponse.FromString,
|
|
86
|
+
_registered_method=True)
|
|
87
|
+
self.ListNetworks = channel.unary_unary(
|
|
88
|
+
'/boxd.api.v1.BoxdApi/ListNetworks',
|
|
89
|
+
request_serializer=api__pb2.ListNetworksRequest.SerializeToString,
|
|
90
|
+
response_deserializer=api__pb2.ListNetworksResponse.FromString,
|
|
91
|
+
_registered_method=True)
|
|
92
|
+
self.BindDomain = channel.unary_unary(
|
|
93
|
+
'/boxd.api.v1.BoxdApi/BindDomain',
|
|
94
|
+
request_serializer=api__pb2.BindDomainRequest.SerializeToString,
|
|
95
|
+
response_deserializer=api__pb2.BindDomainResponse.FromString,
|
|
96
|
+
_registered_method=True)
|
|
97
|
+
self.UnbindDomain = channel.unary_unary(
|
|
98
|
+
'/boxd.api.v1.BoxdApi/UnbindDomain',
|
|
99
|
+
request_serializer=api__pb2.UnbindDomainRequest.SerializeToString,
|
|
100
|
+
response_deserializer=api__pb2.UnbindDomainResponse.FromString,
|
|
101
|
+
_registered_method=True)
|
|
102
|
+
self.ListDomains = channel.unary_unary(
|
|
103
|
+
'/boxd.api.v1.BoxdApi/ListDomains',
|
|
104
|
+
request_serializer=api__pb2.ListDomainsRequest.SerializeToString,
|
|
105
|
+
response_deserializer=api__pb2.ListDomainsResponse.FromString,
|
|
106
|
+
_registered_method=True)
|
|
107
|
+
self.Whoami = channel.unary_unary(
|
|
108
|
+
'/boxd.api.v1.BoxdApi/Whoami',
|
|
109
|
+
request_serializer=api__pb2.WhoamiRequest.SerializeToString,
|
|
110
|
+
response_deserializer=api__pb2.WhoamiResponse.FromString,
|
|
111
|
+
_registered_method=True)
|
|
112
|
+
self.CreateToken = channel.unary_unary(
|
|
113
|
+
'/boxd.api.v1.BoxdApi/CreateToken',
|
|
114
|
+
request_serializer=api__pb2.CreateTokenRequest.SerializeToString,
|
|
115
|
+
response_deserializer=api__pb2.CreateTokenResponse.FromString,
|
|
116
|
+
_registered_method=True)
|
|
117
|
+
self.ListTokens = channel.unary_unary(
|
|
118
|
+
'/boxd.api.v1.BoxdApi/ListTokens',
|
|
119
|
+
request_serializer=api__pb2.ListTokensRequest.SerializeToString,
|
|
120
|
+
response_deserializer=api__pb2.ListTokensResponse.FromString,
|
|
121
|
+
_registered_method=True)
|
|
122
|
+
self.RevokeToken = channel.unary_unary(
|
|
123
|
+
'/boxd.api.v1.BoxdApi/RevokeToken',
|
|
124
|
+
request_serializer=api__pb2.RevokeTokenRequest.SerializeToString,
|
|
125
|
+
response_deserializer=api__pb2.RevokeTokenResponse.FromString,
|
|
126
|
+
_registered_method=True)
|
|
127
|
+
self.GetConfig = channel.unary_unary(
|
|
128
|
+
'/boxd.api.v1.BoxdApi/GetConfig',
|
|
129
|
+
request_serializer=api__pb2.GetConfigRequest.SerializeToString,
|
|
130
|
+
response_deserializer=api__pb2.GetConfigResponse.FromString,
|
|
131
|
+
_registered_method=True)
|
|
132
|
+
self.ForkVm = channel.unary_unary(
|
|
133
|
+
'/boxd.api.v1.BoxdApi/ForkVm',
|
|
134
|
+
request_serializer=api__pb2.ForkVmRequest.SerializeToString,
|
|
135
|
+
response_deserializer=api__pb2.ForkVmResponse.FromString,
|
|
136
|
+
_registered_method=True)
|
|
137
|
+
self.ListProxies = channel.unary_unary(
|
|
138
|
+
'/boxd.api.v1.BoxdApi/ListProxies',
|
|
139
|
+
request_serializer=api__pb2.ListProxiesRequest.SerializeToString,
|
|
140
|
+
response_deserializer=api__pb2.ListProxiesResponse.FromString,
|
|
141
|
+
_registered_method=True)
|
|
142
|
+
self.CreateProxy = channel.unary_unary(
|
|
143
|
+
'/boxd.api.v1.BoxdApi/CreateProxy',
|
|
144
|
+
request_serializer=api__pb2.CreateProxyRequest.SerializeToString,
|
|
145
|
+
response_deserializer=api__pb2.CreateProxyResponse.FromString,
|
|
146
|
+
_registered_method=True)
|
|
147
|
+
self.DeleteProxy = channel.unary_unary(
|
|
148
|
+
'/boxd.api.v1.BoxdApi/DeleteProxy',
|
|
149
|
+
request_serializer=api__pb2.DeleteProxyRequest.SerializeToString,
|
|
150
|
+
response_deserializer=api__pb2.DeleteProxyResponse.FromString,
|
|
151
|
+
_registered_method=True)
|
|
152
|
+
self.SetProxyPort = channel.unary_unary(
|
|
153
|
+
'/boxd.api.v1.BoxdApi/SetProxyPort',
|
|
154
|
+
request_serializer=api__pb2.SetProxyPortRequest.SerializeToString,
|
|
155
|
+
response_deserializer=api__pb2.SetProxyPortResponse.FromString,
|
|
156
|
+
_registered_method=True)
|
|
157
|
+
self.UploadFile = channel.unary_unary(
|
|
158
|
+
'/boxd.api.v1.BoxdApi/UploadFile',
|
|
159
|
+
request_serializer=api__pb2.UploadFileRequest.SerializeToString,
|
|
160
|
+
response_deserializer=api__pb2.UploadFileResponse.FromString,
|
|
161
|
+
_registered_method=True)
|
|
162
|
+
self.DownloadFile = channel.unary_unary(
|
|
163
|
+
'/boxd.api.v1.BoxdApi/DownloadFile',
|
|
164
|
+
request_serializer=api__pb2.DownloadFileRequest.SerializeToString,
|
|
165
|
+
response_deserializer=api__pb2.DownloadFileResponse.FromString,
|
|
166
|
+
_registered_method=True)
|
|
167
|
+
self.SuspendVm = channel.unary_unary(
|
|
168
|
+
'/boxd.api.v1.BoxdApi/SuspendVm',
|
|
169
|
+
request_serializer=api__pb2.SuspendVmRequest.SerializeToString,
|
|
170
|
+
response_deserializer=api__pb2.SuspendVmResponse.FromString,
|
|
171
|
+
_registered_method=True)
|
|
172
|
+
self.ResumeVm = channel.unary_unary(
|
|
173
|
+
'/boxd.api.v1.BoxdApi/ResumeVm',
|
|
174
|
+
request_serializer=api__pb2.ResumeVmRequest.SerializeToString,
|
|
175
|
+
response_deserializer=api__pb2.ResumeVmResponse.FromString,
|
|
176
|
+
_registered_method=True)
|
|
177
|
+
self.CreateTemplate = channel.unary_unary(
|
|
178
|
+
'/boxd.api.v1.BoxdApi/CreateTemplate',
|
|
179
|
+
request_serializer=api__pb2.CreateTemplateRequest.SerializeToString,
|
|
180
|
+
response_deserializer=api__pb2.CreateTemplateResponse.FromString,
|
|
181
|
+
_registered_method=True)
|
|
182
|
+
self.ListTemplates = channel.unary_unary(
|
|
183
|
+
'/boxd.api.v1.BoxdApi/ListTemplates',
|
|
184
|
+
request_serializer=api__pb2.ListTemplatesRequest.SerializeToString,
|
|
185
|
+
response_deserializer=api__pb2.ListTemplatesResponse.FromString,
|
|
186
|
+
_registered_method=True)
|
|
187
|
+
self.DeleteTemplate = channel.unary_unary(
|
|
188
|
+
'/boxd.api.v1.BoxdApi/DeleteTemplate',
|
|
189
|
+
request_serializer=api__pb2.DeleteTemplateRequest.SerializeToString,
|
|
190
|
+
response_deserializer=api__pb2.DeleteTemplateResponse.FromString,
|
|
191
|
+
_registered_method=True)
|
|
192
|
+
self.CreateVmFromTemplate = channel.unary_unary(
|
|
193
|
+
'/boxd.api.v1.BoxdApi/CreateVmFromTemplate',
|
|
194
|
+
request_serializer=api__pb2.CreateVmFromTemplateRequest.SerializeToString,
|
|
195
|
+
response_deserializer=api__pb2.CreateVmFromTemplateResponse.FromString,
|
|
196
|
+
_registered_method=True)
|
|
197
|
+
self.CreateDisk = channel.unary_unary(
|
|
198
|
+
'/boxd.api.v1.BoxdApi/CreateDisk',
|
|
199
|
+
request_serializer=api__pb2.CreateDiskRequest.SerializeToString,
|
|
200
|
+
response_deserializer=api__pb2.CreateDiskResponse.FromString,
|
|
201
|
+
_registered_method=True)
|
|
202
|
+
self.ListDisks = channel.unary_unary(
|
|
203
|
+
'/boxd.api.v1.BoxdApi/ListDisks',
|
|
204
|
+
request_serializer=api__pb2.ListDisksRequest.SerializeToString,
|
|
205
|
+
response_deserializer=api__pb2.ListDisksResponse.FromString,
|
|
206
|
+
_registered_method=True)
|
|
207
|
+
self.AttachDisk = channel.unary_unary(
|
|
208
|
+
'/boxd.api.v1.BoxdApi/AttachDisk',
|
|
209
|
+
request_serializer=api__pb2.AttachDiskRequest.SerializeToString,
|
|
210
|
+
response_deserializer=api__pb2.AttachDiskResponse.FromString,
|
|
211
|
+
_registered_method=True)
|
|
212
|
+
self.DetachDisk = channel.unary_unary(
|
|
213
|
+
'/boxd.api.v1.BoxdApi/DetachDisk',
|
|
214
|
+
request_serializer=api__pb2.DetachDiskRequest.SerializeToString,
|
|
215
|
+
response_deserializer=api__pb2.DetachDiskResponse.FromString,
|
|
216
|
+
_registered_method=True)
|
|
217
|
+
self.DestroyDisk = channel.unary_unary(
|
|
218
|
+
'/boxd.api.v1.BoxdApi/DestroyDisk',
|
|
219
|
+
request_serializer=api__pb2.DestroyDiskRequest.SerializeToString,
|
|
220
|
+
response_deserializer=api__pb2.DestroyDiskResponse.FromString,
|
|
221
|
+
_registered_method=True)
|
|
222
|
+
self.CreateApiKey = channel.unary_unary(
|
|
223
|
+
'/boxd.api.v1.BoxdApi/CreateApiKey',
|
|
224
|
+
request_serializer=api__pb2.CreateApiKeyRequest.SerializeToString,
|
|
225
|
+
response_deserializer=api__pb2.CreateApiKeyResponse.FromString,
|
|
226
|
+
_registered_method=True)
|
|
227
|
+
self.ListApiKeys = channel.unary_unary(
|
|
228
|
+
'/boxd.api.v1.BoxdApi/ListApiKeys',
|
|
229
|
+
request_serializer=api__pb2.ListApiKeysRequest.SerializeToString,
|
|
230
|
+
response_deserializer=api__pb2.ListApiKeysResponse.FromString,
|
|
231
|
+
_registered_method=True)
|
|
232
|
+
self.DeleteApiKey = channel.unary_unary(
|
|
233
|
+
'/boxd.api.v1.BoxdApi/DeleteApiKey',
|
|
234
|
+
request_serializer=api__pb2.DeleteApiKeyRequest.SerializeToString,
|
|
235
|
+
response_deserializer=api__pb2.DeleteApiKeyResponse.FromString,
|
|
236
|
+
_registered_method=True)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class BoxdApiServicer(object):
|
|
240
|
+
"""Missing associated documentation comment in .proto file."""
|
|
241
|
+
|
|
242
|
+
def CreateVm(self, request, context):
|
|
243
|
+
"""Missing associated documentation comment in .proto file."""
|
|
244
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
245
|
+
context.set_details('Method not implemented!')
|
|
246
|
+
raise NotImplementedError('Method not implemented!')
|
|
247
|
+
|
|
248
|
+
def DestroyVm(self, request, context):
|
|
249
|
+
"""Missing associated documentation comment in .proto file."""
|
|
250
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
251
|
+
context.set_details('Method not implemented!')
|
|
252
|
+
raise NotImplementedError('Method not implemented!')
|
|
253
|
+
|
|
254
|
+
def StartVm(self, request, context):
|
|
255
|
+
"""Missing associated documentation comment in .proto file."""
|
|
256
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
257
|
+
context.set_details('Method not implemented!')
|
|
258
|
+
raise NotImplementedError('Method not implemented!')
|
|
259
|
+
|
|
260
|
+
def StopVm(self, request, context):
|
|
261
|
+
"""Missing associated documentation comment in .proto file."""
|
|
262
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
263
|
+
context.set_details('Method not implemented!')
|
|
264
|
+
raise NotImplementedError('Method not implemented!')
|
|
265
|
+
|
|
266
|
+
def RebootVm(self, request, context):
|
|
267
|
+
"""Missing associated documentation comment in .proto file."""
|
|
268
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
269
|
+
context.set_details('Method not implemented!')
|
|
270
|
+
raise NotImplementedError('Method not implemented!')
|
|
271
|
+
|
|
272
|
+
def GetVm(self, request, context):
|
|
273
|
+
"""Missing associated documentation comment in .proto file."""
|
|
274
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
275
|
+
context.set_details('Method not implemented!')
|
|
276
|
+
raise NotImplementedError('Method not implemented!')
|
|
277
|
+
|
|
278
|
+
def ListVms(self, request, context):
|
|
279
|
+
"""Missing associated documentation comment in .proto file."""
|
|
280
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
281
|
+
context.set_details('Method not implemented!')
|
|
282
|
+
raise NotImplementedError('Method not implemented!')
|
|
283
|
+
|
|
284
|
+
def StreamLogs(self, request, context):
|
|
285
|
+
"""Missing associated documentation comment in .proto file."""
|
|
286
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
287
|
+
context.set_details('Method not implemented!')
|
|
288
|
+
raise NotImplementedError('Method not implemented!')
|
|
289
|
+
|
|
290
|
+
def Exec(self, request_iterator, context):
|
|
291
|
+
"""Missing associated documentation comment in .proto file."""
|
|
292
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
293
|
+
context.set_details('Method not implemented!')
|
|
294
|
+
raise NotImplementedError('Method not implemented!')
|
|
295
|
+
|
|
296
|
+
def CreateNetwork(self, request, context):
|
|
297
|
+
"""Missing associated documentation comment in .proto file."""
|
|
298
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
299
|
+
context.set_details('Method not implemented!')
|
|
300
|
+
raise NotImplementedError('Method not implemented!')
|
|
301
|
+
|
|
302
|
+
def ListNetworks(self, request, context):
|
|
303
|
+
"""Missing associated documentation comment in .proto file."""
|
|
304
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
305
|
+
context.set_details('Method not implemented!')
|
|
306
|
+
raise NotImplementedError('Method not implemented!')
|
|
307
|
+
|
|
308
|
+
def BindDomain(self, request, context):
|
|
309
|
+
"""Missing associated documentation comment in .proto file."""
|
|
310
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
311
|
+
context.set_details('Method not implemented!')
|
|
312
|
+
raise NotImplementedError('Method not implemented!')
|
|
313
|
+
|
|
314
|
+
def UnbindDomain(self, request, context):
|
|
315
|
+
"""Missing associated documentation comment in .proto file."""
|
|
316
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
317
|
+
context.set_details('Method not implemented!')
|
|
318
|
+
raise NotImplementedError('Method not implemented!')
|
|
319
|
+
|
|
320
|
+
def ListDomains(self, request, context):
|
|
321
|
+
"""Missing associated documentation comment in .proto file."""
|
|
322
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
323
|
+
context.set_details('Method not implemented!')
|
|
324
|
+
raise NotImplementedError('Method not implemented!')
|
|
325
|
+
|
|
326
|
+
def Whoami(self, request, context):
|
|
327
|
+
"""Missing associated documentation comment in .proto file."""
|
|
328
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
329
|
+
context.set_details('Method not implemented!')
|
|
330
|
+
raise NotImplementedError('Method not implemented!')
|
|
331
|
+
|
|
332
|
+
def CreateToken(self, request, context):
|
|
333
|
+
"""Missing associated documentation comment in .proto file."""
|
|
334
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
335
|
+
context.set_details('Method not implemented!')
|
|
336
|
+
raise NotImplementedError('Method not implemented!')
|
|
337
|
+
|
|
338
|
+
def ListTokens(self, request, context):
|
|
339
|
+
"""Missing associated documentation comment in .proto file."""
|
|
340
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
341
|
+
context.set_details('Method not implemented!')
|
|
342
|
+
raise NotImplementedError('Method not implemented!')
|
|
343
|
+
|
|
344
|
+
def RevokeToken(self, request, context):
|
|
345
|
+
"""Missing associated documentation comment in .proto file."""
|
|
346
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
347
|
+
context.set_details('Method not implemented!')
|
|
348
|
+
raise NotImplementedError('Method not implemented!')
|
|
349
|
+
|
|
350
|
+
def GetConfig(self, request, context):
|
|
351
|
+
"""Missing associated documentation comment in .proto file."""
|
|
352
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
353
|
+
context.set_details('Method not implemented!')
|
|
354
|
+
raise NotImplementedError('Method not implemented!')
|
|
355
|
+
|
|
356
|
+
def ForkVm(self, request, context):
|
|
357
|
+
"""Missing associated documentation comment in .proto file."""
|
|
358
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
359
|
+
context.set_details('Method not implemented!')
|
|
360
|
+
raise NotImplementedError('Method not implemented!')
|
|
361
|
+
|
|
362
|
+
def ListProxies(self, request, context):
|
|
363
|
+
"""Missing associated documentation comment in .proto file."""
|
|
364
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
365
|
+
context.set_details('Method not implemented!')
|
|
366
|
+
raise NotImplementedError('Method not implemented!')
|
|
367
|
+
|
|
368
|
+
def CreateProxy(self, request, context):
|
|
369
|
+
"""Missing associated documentation comment in .proto file."""
|
|
370
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
371
|
+
context.set_details('Method not implemented!')
|
|
372
|
+
raise NotImplementedError('Method not implemented!')
|
|
373
|
+
|
|
374
|
+
def DeleteProxy(self, request, context):
|
|
375
|
+
"""Missing associated documentation comment in .proto file."""
|
|
376
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
377
|
+
context.set_details('Method not implemented!')
|
|
378
|
+
raise NotImplementedError('Method not implemented!')
|
|
379
|
+
|
|
380
|
+
def SetProxyPort(self, request, context):
|
|
381
|
+
"""Missing associated documentation comment in .proto file."""
|
|
382
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
383
|
+
context.set_details('Method not implemented!')
|
|
384
|
+
raise NotImplementedError('Method not implemented!')
|
|
385
|
+
|
|
386
|
+
def UploadFile(self, request, context):
|
|
387
|
+
"""Missing associated documentation comment in .proto file."""
|
|
388
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
389
|
+
context.set_details('Method not implemented!')
|
|
390
|
+
raise NotImplementedError('Method not implemented!')
|
|
391
|
+
|
|
392
|
+
def DownloadFile(self, request, context):
|
|
393
|
+
"""Missing associated documentation comment in .proto file."""
|
|
394
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
395
|
+
context.set_details('Method not implemented!')
|
|
396
|
+
raise NotImplementedError('Method not implemented!')
|
|
397
|
+
|
|
398
|
+
def SuspendVm(self, request, context):
|
|
399
|
+
"""Missing associated documentation comment in .proto file."""
|
|
400
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
401
|
+
context.set_details('Method not implemented!')
|
|
402
|
+
raise NotImplementedError('Method not implemented!')
|
|
403
|
+
|
|
404
|
+
def ResumeVm(self, request, context):
|
|
405
|
+
"""Missing associated documentation comment in .proto file."""
|
|
406
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
407
|
+
context.set_details('Method not implemented!')
|
|
408
|
+
raise NotImplementedError('Method not implemented!')
|
|
409
|
+
|
|
410
|
+
def CreateTemplate(self, request, context):
|
|
411
|
+
"""Missing associated documentation comment in .proto file."""
|
|
412
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
413
|
+
context.set_details('Method not implemented!')
|
|
414
|
+
raise NotImplementedError('Method not implemented!')
|
|
415
|
+
|
|
416
|
+
def ListTemplates(self, request, context):
|
|
417
|
+
"""Missing associated documentation comment in .proto file."""
|
|
418
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
419
|
+
context.set_details('Method not implemented!')
|
|
420
|
+
raise NotImplementedError('Method not implemented!')
|
|
421
|
+
|
|
422
|
+
def DeleteTemplate(self, request, context):
|
|
423
|
+
"""Missing associated documentation comment in .proto file."""
|
|
424
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
425
|
+
context.set_details('Method not implemented!')
|
|
426
|
+
raise NotImplementedError('Method not implemented!')
|
|
427
|
+
|
|
428
|
+
def CreateVmFromTemplate(self, request, context):
|
|
429
|
+
"""Missing associated documentation comment in .proto file."""
|
|
430
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
431
|
+
context.set_details('Method not implemented!')
|
|
432
|
+
raise NotImplementedError('Method not implemented!')
|
|
433
|
+
|
|
434
|
+
def CreateDisk(self, request, context):
|
|
435
|
+
"""Disks
|
|
436
|
+
"""
|
|
437
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
438
|
+
context.set_details('Method not implemented!')
|
|
439
|
+
raise NotImplementedError('Method not implemented!')
|
|
440
|
+
|
|
441
|
+
def ListDisks(self, request, context):
|
|
442
|
+
"""Missing associated documentation comment in .proto file."""
|
|
443
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
444
|
+
context.set_details('Method not implemented!')
|
|
445
|
+
raise NotImplementedError('Method not implemented!')
|
|
446
|
+
|
|
447
|
+
def AttachDisk(self, request, context):
|
|
448
|
+
"""Missing associated documentation comment in .proto file."""
|
|
449
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
450
|
+
context.set_details('Method not implemented!')
|
|
451
|
+
raise NotImplementedError('Method not implemented!')
|
|
452
|
+
|
|
453
|
+
def DetachDisk(self, request, context):
|
|
454
|
+
"""Missing associated documentation comment in .proto file."""
|
|
455
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
456
|
+
context.set_details('Method not implemented!')
|
|
457
|
+
raise NotImplementedError('Method not implemented!')
|
|
458
|
+
|
|
459
|
+
def DestroyDisk(self, request, context):
|
|
460
|
+
"""Missing associated documentation comment in .proto file."""
|
|
461
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
462
|
+
context.set_details('Method not implemented!')
|
|
463
|
+
raise NotImplementedError('Method not implemented!')
|
|
464
|
+
|
|
465
|
+
def CreateApiKey(self, request, context):
|
|
466
|
+
"""API Keys
|
|
467
|
+
"""
|
|
468
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
469
|
+
context.set_details('Method not implemented!')
|
|
470
|
+
raise NotImplementedError('Method not implemented!')
|
|
471
|
+
|
|
472
|
+
def ListApiKeys(self, request, context):
|
|
473
|
+
"""Missing associated documentation comment in .proto file."""
|
|
474
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
475
|
+
context.set_details('Method not implemented!')
|
|
476
|
+
raise NotImplementedError('Method not implemented!')
|
|
477
|
+
|
|
478
|
+
def DeleteApiKey(self, request, context):
|
|
479
|
+
"""Missing associated documentation comment in .proto file."""
|
|
480
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
481
|
+
context.set_details('Method not implemented!')
|
|
482
|
+
raise NotImplementedError('Method not implemented!')
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
def add_BoxdApiServicer_to_server(servicer, server):
|
|
486
|
+
rpc_method_handlers = {
|
|
487
|
+
'CreateVm': grpc.unary_unary_rpc_method_handler(
|
|
488
|
+
servicer.CreateVm,
|
|
489
|
+
request_deserializer=api__pb2.CreateVmRequest.FromString,
|
|
490
|
+
response_serializer=api__pb2.CreateVmResponse.SerializeToString,
|
|
491
|
+
),
|
|
492
|
+
'DestroyVm': grpc.unary_unary_rpc_method_handler(
|
|
493
|
+
servicer.DestroyVm,
|
|
494
|
+
request_deserializer=api__pb2.DestroyVmRequest.FromString,
|
|
495
|
+
response_serializer=api__pb2.DestroyVmResponse.SerializeToString,
|
|
496
|
+
),
|
|
497
|
+
'StartVm': grpc.unary_unary_rpc_method_handler(
|
|
498
|
+
servicer.StartVm,
|
|
499
|
+
request_deserializer=api__pb2.StartVmRequest.FromString,
|
|
500
|
+
response_serializer=api__pb2.StartVmResponse.SerializeToString,
|
|
501
|
+
),
|
|
502
|
+
'StopVm': grpc.unary_unary_rpc_method_handler(
|
|
503
|
+
servicer.StopVm,
|
|
504
|
+
request_deserializer=api__pb2.StopVmRequest.FromString,
|
|
505
|
+
response_serializer=api__pb2.StopVmResponse.SerializeToString,
|
|
506
|
+
),
|
|
507
|
+
'RebootVm': grpc.unary_unary_rpc_method_handler(
|
|
508
|
+
servicer.RebootVm,
|
|
509
|
+
request_deserializer=api__pb2.RebootVmRequest.FromString,
|
|
510
|
+
response_serializer=api__pb2.RebootVmResponse.SerializeToString,
|
|
511
|
+
),
|
|
512
|
+
'GetVm': grpc.unary_unary_rpc_method_handler(
|
|
513
|
+
servicer.GetVm,
|
|
514
|
+
request_deserializer=api__pb2.GetVmRequest.FromString,
|
|
515
|
+
response_serializer=api__pb2.GetVmResponse.SerializeToString,
|
|
516
|
+
),
|
|
517
|
+
'ListVms': grpc.unary_unary_rpc_method_handler(
|
|
518
|
+
servicer.ListVms,
|
|
519
|
+
request_deserializer=api__pb2.ListVmsRequest.FromString,
|
|
520
|
+
response_serializer=api__pb2.ListVmsResponse.SerializeToString,
|
|
521
|
+
),
|
|
522
|
+
'StreamLogs': grpc.unary_stream_rpc_method_handler(
|
|
523
|
+
servicer.StreamLogs,
|
|
524
|
+
request_deserializer=api__pb2.StreamLogsRequest.FromString,
|
|
525
|
+
response_serializer=api__pb2.LogChunk.SerializeToString,
|
|
526
|
+
),
|
|
527
|
+
'Exec': grpc.stream_stream_rpc_method_handler(
|
|
528
|
+
servicer.Exec,
|
|
529
|
+
request_deserializer=api__pb2.ExecChunk.FromString,
|
|
530
|
+
response_serializer=api__pb2.ExecChunk.SerializeToString,
|
|
531
|
+
),
|
|
532
|
+
'CreateNetwork': grpc.unary_unary_rpc_method_handler(
|
|
533
|
+
servicer.CreateNetwork,
|
|
534
|
+
request_deserializer=api__pb2.CreateNetworkRequest.FromString,
|
|
535
|
+
response_serializer=api__pb2.CreateNetworkResponse.SerializeToString,
|
|
536
|
+
),
|
|
537
|
+
'ListNetworks': grpc.unary_unary_rpc_method_handler(
|
|
538
|
+
servicer.ListNetworks,
|
|
539
|
+
request_deserializer=api__pb2.ListNetworksRequest.FromString,
|
|
540
|
+
response_serializer=api__pb2.ListNetworksResponse.SerializeToString,
|
|
541
|
+
),
|
|
542
|
+
'BindDomain': grpc.unary_unary_rpc_method_handler(
|
|
543
|
+
servicer.BindDomain,
|
|
544
|
+
request_deserializer=api__pb2.BindDomainRequest.FromString,
|
|
545
|
+
response_serializer=api__pb2.BindDomainResponse.SerializeToString,
|
|
546
|
+
),
|
|
547
|
+
'UnbindDomain': grpc.unary_unary_rpc_method_handler(
|
|
548
|
+
servicer.UnbindDomain,
|
|
549
|
+
request_deserializer=api__pb2.UnbindDomainRequest.FromString,
|
|
550
|
+
response_serializer=api__pb2.UnbindDomainResponse.SerializeToString,
|
|
551
|
+
),
|
|
552
|
+
'ListDomains': grpc.unary_unary_rpc_method_handler(
|
|
553
|
+
servicer.ListDomains,
|
|
554
|
+
request_deserializer=api__pb2.ListDomainsRequest.FromString,
|
|
555
|
+
response_serializer=api__pb2.ListDomainsResponse.SerializeToString,
|
|
556
|
+
),
|
|
557
|
+
'Whoami': grpc.unary_unary_rpc_method_handler(
|
|
558
|
+
servicer.Whoami,
|
|
559
|
+
request_deserializer=api__pb2.WhoamiRequest.FromString,
|
|
560
|
+
response_serializer=api__pb2.WhoamiResponse.SerializeToString,
|
|
561
|
+
),
|
|
562
|
+
'CreateToken': grpc.unary_unary_rpc_method_handler(
|
|
563
|
+
servicer.CreateToken,
|
|
564
|
+
request_deserializer=api__pb2.CreateTokenRequest.FromString,
|
|
565
|
+
response_serializer=api__pb2.CreateTokenResponse.SerializeToString,
|
|
566
|
+
),
|
|
567
|
+
'ListTokens': grpc.unary_unary_rpc_method_handler(
|
|
568
|
+
servicer.ListTokens,
|
|
569
|
+
request_deserializer=api__pb2.ListTokensRequest.FromString,
|
|
570
|
+
response_serializer=api__pb2.ListTokensResponse.SerializeToString,
|
|
571
|
+
),
|
|
572
|
+
'RevokeToken': grpc.unary_unary_rpc_method_handler(
|
|
573
|
+
servicer.RevokeToken,
|
|
574
|
+
request_deserializer=api__pb2.RevokeTokenRequest.FromString,
|
|
575
|
+
response_serializer=api__pb2.RevokeTokenResponse.SerializeToString,
|
|
576
|
+
),
|
|
577
|
+
'GetConfig': grpc.unary_unary_rpc_method_handler(
|
|
578
|
+
servicer.GetConfig,
|
|
579
|
+
request_deserializer=api__pb2.GetConfigRequest.FromString,
|
|
580
|
+
response_serializer=api__pb2.GetConfigResponse.SerializeToString,
|
|
581
|
+
),
|
|
582
|
+
'ForkVm': grpc.unary_unary_rpc_method_handler(
|
|
583
|
+
servicer.ForkVm,
|
|
584
|
+
request_deserializer=api__pb2.ForkVmRequest.FromString,
|
|
585
|
+
response_serializer=api__pb2.ForkVmResponse.SerializeToString,
|
|
586
|
+
),
|
|
587
|
+
'ListProxies': grpc.unary_unary_rpc_method_handler(
|
|
588
|
+
servicer.ListProxies,
|
|
589
|
+
request_deserializer=api__pb2.ListProxiesRequest.FromString,
|
|
590
|
+
response_serializer=api__pb2.ListProxiesResponse.SerializeToString,
|
|
591
|
+
),
|
|
592
|
+
'CreateProxy': grpc.unary_unary_rpc_method_handler(
|
|
593
|
+
servicer.CreateProxy,
|
|
594
|
+
request_deserializer=api__pb2.CreateProxyRequest.FromString,
|
|
595
|
+
response_serializer=api__pb2.CreateProxyResponse.SerializeToString,
|
|
596
|
+
),
|
|
597
|
+
'DeleteProxy': grpc.unary_unary_rpc_method_handler(
|
|
598
|
+
servicer.DeleteProxy,
|
|
599
|
+
request_deserializer=api__pb2.DeleteProxyRequest.FromString,
|
|
600
|
+
response_serializer=api__pb2.DeleteProxyResponse.SerializeToString,
|
|
601
|
+
),
|
|
602
|
+
'SetProxyPort': grpc.unary_unary_rpc_method_handler(
|
|
603
|
+
servicer.SetProxyPort,
|
|
604
|
+
request_deserializer=api__pb2.SetProxyPortRequest.FromString,
|
|
605
|
+
response_serializer=api__pb2.SetProxyPortResponse.SerializeToString,
|
|
606
|
+
),
|
|
607
|
+
'UploadFile': grpc.unary_unary_rpc_method_handler(
|
|
608
|
+
servicer.UploadFile,
|
|
609
|
+
request_deserializer=api__pb2.UploadFileRequest.FromString,
|
|
610
|
+
response_serializer=api__pb2.UploadFileResponse.SerializeToString,
|
|
611
|
+
),
|
|
612
|
+
'DownloadFile': grpc.unary_unary_rpc_method_handler(
|
|
613
|
+
servicer.DownloadFile,
|
|
614
|
+
request_deserializer=api__pb2.DownloadFileRequest.FromString,
|
|
615
|
+
response_serializer=api__pb2.DownloadFileResponse.SerializeToString,
|
|
616
|
+
),
|
|
617
|
+
'SuspendVm': grpc.unary_unary_rpc_method_handler(
|
|
618
|
+
servicer.SuspendVm,
|
|
619
|
+
request_deserializer=api__pb2.SuspendVmRequest.FromString,
|
|
620
|
+
response_serializer=api__pb2.SuspendVmResponse.SerializeToString,
|
|
621
|
+
),
|
|
622
|
+
'ResumeVm': grpc.unary_unary_rpc_method_handler(
|
|
623
|
+
servicer.ResumeVm,
|
|
624
|
+
request_deserializer=api__pb2.ResumeVmRequest.FromString,
|
|
625
|
+
response_serializer=api__pb2.ResumeVmResponse.SerializeToString,
|
|
626
|
+
),
|
|
627
|
+
'CreateTemplate': grpc.unary_unary_rpc_method_handler(
|
|
628
|
+
servicer.CreateTemplate,
|
|
629
|
+
request_deserializer=api__pb2.CreateTemplateRequest.FromString,
|
|
630
|
+
response_serializer=api__pb2.CreateTemplateResponse.SerializeToString,
|
|
631
|
+
),
|
|
632
|
+
'ListTemplates': grpc.unary_unary_rpc_method_handler(
|
|
633
|
+
servicer.ListTemplates,
|
|
634
|
+
request_deserializer=api__pb2.ListTemplatesRequest.FromString,
|
|
635
|
+
response_serializer=api__pb2.ListTemplatesResponse.SerializeToString,
|
|
636
|
+
),
|
|
637
|
+
'DeleteTemplate': grpc.unary_unary_rpc_method_handler(
|
|
638
|
+
servicer.DeleteTemplate,
|
|
639
|
+
request_deserializer=api__pb2.DeleteTemplateRequest.FromString,
|
|
640
|
+
response_serializer=api__pb2.DeleteTemplateResponse.SerializeToString,
|
|
641
|
+
),
|
|
642
|
+
'CreateVmFromTemplate': grpc.unary_unary_rpc_method_handler(
|
|
643
|
+
servicer.CreateVmFromTemplate,
|
|
644
|
+
request_deserializer=api__pb2.CreateVmFromTemplateRequest.FromString,
|
|
645
|
+
response_serializer=api__pb2.CreateVmFromTemplateResponse.SerializeToString,
|
|
646
|
+
),
|
|
647
|
+
'CreateDisk': grpc.unary_unary_rpc_method_handler(
|
|
648
|
+
servicer.CreateDisk,
|
|
649
|
+
request_deserializer=api__pb2.CreateDiskRequest.FromString,
|
|
650
|
+
response_serializer=api__pb2.CreateDiskResponse.SerializeToString,
|
|
651
|
+
),
|
|
652
|
+
'ListDisks': grpc.unary_unary_rpc_method_handler(
|
|
653
|
+
servicer.ListDisks,
|
|
654
|
+
request_deserializer=api__pb2.ListDisksRequest.FromString,
|
|
655
|
+
response_serializer=api__pb2.ListDisksResponse.SerializeToString,
|
|
656
|
+
),
|
|
657
|
+
'AttachDisk': grpc.unary_unary_rpc_method_handler(
|
|
658
|
+
servicer.AttachDisk,
|
|
659
|
+
request_deserializer=api__pb2.AttachDiskRequest.FromString,
|
|
660
|
+
response_serializer=api__pb2.AttachDiskResponse.SerializeToString,
|
|
661
|
+
),
|
|
662
|
+
'DetachDisk': grpc.unary_unary_rpc_method_handler(
|
|
663
|
+
servicer.DetachDisk,
|
|
664
|
+
request_deserializer=api__pb2.DetachDiskRequest.FromString,
|
|
665
|
+
response_serializer=api__pb2.DetachDiskResponse.SerializeToString,
|
|
666
|
+
),
|
|
667
|
+
'DestroyDisk': grpc.unary_unary_rpc_method_handler(
|
|
668
|
+
servicer.DestroyDisk,
|
|
669
|
+
request_deserializer=api__pb2.DestroyDiskRequest.FromString,
|
|
670
|
+
response_serializer=api__pb2.DestroyDiskResponse.SerializeToString,
|
|
671
|
+
),
|
|
672
|
+
'CreateApiKey': grpc.unary_unary_rpc_method_handler(
|
|
673
|
+
servicer.CreateApiKey,
|
|
674
|
+
request_deserializer=api__pb2.CreateApiKeyRequest.FromString,
|
|
675
|
+
response_serializer=api__pb2.CreateApiKeyResponse.SerializeToString,
|
|
676
|
+
),
|
|
677
|
+
'ListApiKeys': grpc.unary_unary_rpc_method_handler(
|
|
678
|
+
servicer.ListApiKeys,
|
|
679
|
+
request_deserializer=api__pb2.ListApiKeysRequest.FromString,
|
|
680
|
+
response_serializer=api__pb2.ListApiKeysResponse.SerializeToString,
|
|
681
|
+
),
|
|
682
|
+
'DeleteApiKey': grpc.unary_unary_rpc_method_handler(
|
|
683
|
+
servicer.DeleteApiKey,
|
|
684
|
+
request_deserializer=api__pb2.DeleteApiKeyRequest.FromString,
|
|
685
|
+
response_serializer=api__pb2.DeleteApiKeyResponse.SerializeToString,
|
|
686
|
+
),
|
|
687
|
+
}
|
|
688
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
689
|
+
'boxd.api.v1.BoxdApi', rpc_method_handlers)
|
|
690
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
691
|
+
server.add_registered_method_handlers('boxd.api.v1.BoxdApi', rpc_method_handlers)
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
# This class is part of an EXPERIMENTAL API.
|
|
695
|
+
class BoxdApi(object):
|
|
696
|
+
"""Missing associated documentation comment in .proto file."""
|
|
697
|
+
|
|
698
|
+
@staticmethod
|
|
699
|
+
def CreateVm(request,
|
|
700
|
+
target,
|
|
701
|
+
options=(),
|
|
702
|
+
channel_credentials=None,
|
|
703
|
+
call_credentials=None,
|
|
704
|
+
insecure=False,
|
|
705
|
+
compression=None,
|
|
706
|
+
wait_for_ready=None,
|
|
707
|
+
timeout=None,
|
|
708
|
+
metadata=None):
|
|
709
|
+
return grpc.experimental.unary_unary(
|
|
710
|
+
request,
|
|
711
|
+
target,
|
|
712
|
+
'/boxd.api.v1.BoxdApi/CreateVm',
|
|
713
|
+
api__pb2.CreateVmRequest.SerializeToString,
|
|
714
|
+
api__pb2.CreateVmResponse.FromString,
|
|
715
|
+
options,
|
|
716
|
+
channel_credentials,
|
|
717
|
+
insecure,
|
|
718
|
+
call_credentials,
|
|
719
|
+
compression,
|
|
720
|
+
wait_for_ready,
|
|
721
|
+
timeout,
|
|
722
|
+
metadata,
|
|
723
|
+
_registered_method=True)
|
|
724
|
+
|
|
725
|
+
@staticmethod
|
|
726
|
+
def DestroyVm(request,
|
|
727
|
+
target,
|
|
728
|
+
options=(),
|
|
729
|
+
channel_credentials=None,
|
|
730
|
+
call_credentials=None,
|
|
731
|
+
insecure=False,
|
|
732
|
+
compression=None,
|
|
733
|
+
wait_for_ready=None,
|
|
734
|
+
timeout=None,
|
|
735
|
+
metadata=None):
|
|
736
|
+
return grpc.experimental.unary_unary(
|
|
737
|
+
request,
|
|
738
|
+
target,
|
|
739
|
+
'/boxd.api.v1.BoxdApi/DestroyVm',
|
|
740
|
+
api__pb2.DestroyVmRequest.SerializeToString,
|
|
741
|
+
api__pb2.DestroyVmResponse.FromString,
|
|
742
|
+
options,
|
|
743
|
+
channel_credentials,
|
|
744
|
+
insecure,
|
|
745
|
+
call_credentials,
|
|
746
|
+
compression,
|
|
747
|
+
wait_for_ready,
|
|
748
|
+
timeout,
|
|
749
|
+
metadata,
|
|
750
|
+
_registered_method=True)
|
|
751
|
+
|
|
752
|
+
@staticmethod
|
|
753
|
+
def StartVm(request,
|
|
754
|
+
target,
|
|
755
|
+
options=(),
|
|
756
|
+
channel_credentials=None,
|
|
757
|
+
call_credentials=None,
|
|
758
|
+
insecure=False,
|
|
759
|
+
compression=None,
|
|
760
|
+
wait_for_ready=None,
|
|
761
|
+
timeout=None,
|
|
762
|
+
metadata=None):
|
|
763
|
+
return grpc.experimental.unary_unary(
|
|
764
|
+
request,
|
|
765
|
+
target,
|
|
766
|
+
'/boxd.api.v1.BoxdApi/StartVm',
|
|
767
|
+
api__pb2.StartVmRequest.SerializeToString,
|
|
768
|
+
api__pb2.StartVmResponse.FromString,
|
|
769
|
+
options,
|
|
770
|
+
channel_credentials,
|
|
771
|
+
insecure,
|
|
772
|
+
call_credentials,
|
|
773
|
+
compression,
|
|
774
|
+
wait_for_ready,
|
|
775
|
+
timeout,
|
|
776
|
+
metadata,
|
|
777
|
+
_registered_method=True)
|
|
778
|
+
|
|
779
|
+
@staticmethod
|
|
780
|
+
def StopVm(request,
|
|
781
|
+
target,
|
|
782
|
+
options=(),
|
|
783
|
+
channel_credentials=None,
|
|
784
|
+
call_credentials=None,
|
|
785
|
+
insecure=False,
|
|
786
|
+
compression=None,
|
|
787
|
+
wait_for_ready=None,
|
|
788
|
+
timeout=None,
|
|
789
|
+
metadata=None):
|
|
790
|
+
return grpc.experimental.unary_unary(
|
|
791
|
+
request,
|
|
792
|
+
target,
|
|
793
|
+
'/boxd.api.v1.BoxdApi/StopVm',
|
|
794
|
+
api__pb2.StopVmRequest.SerializeToString,
|
|
795
|
+
api__pb2.StopVmResponse.FromString,
|
|
796
|
+
options,
|
|
797
|
+
channel_credentials,
|
|
798
|
+
insecure,
|
|
799
|
+
call_credentials,
|
|
800
|
+
compression,
|
|
801
|
+
wait_for_ready,
|
|
802
|
+
timeout,
|
|
803
|
+
metadata,
|
|
804
|
+
_registered_method=True)
|
|
805
|
+
|
|
806
|
+
@staticmethod
|
|
807
|
+
def RebootVm(request,
|
|
808
|
+
target,
|
|
809
|
+
options=(),
|
|
810
|
+
channel_credentials=None,
|
|
811
|
+
call_credentials=None,
|
|
812
|
+
insecure=False,
|
|
813
|
+
compression=None,
|
|
814
|
+
wait_for_ready=None,
|
|
815
|
+
timeout=None,
|
|
816
|
+
metadata=None):
|
|
817
|
+
return grpc.experimental.unary_unary(
|
|
818
|
+
request,
|
|
819
|
+
target,
|
|
820
|
+
'/boxd.api.v1.BoxdApi/RebootVm',
|
|
821
|
+
api__pb2.RebootVmRequest.SerializeToString,
|
|
822
|
+
api__pb2.RebootVmResponse.FromString,
|
|
823
|
+
options,
|
|
824
|
+
channel_credentials,
|
|
825
|
+
insecure,
|
|
826
|
+
call_credentials,
|
|
827
|
+
compression,
|
|
828
|
+
wait_for_ready,
|
|
829
|
+
timeout,
|
|
830
|
+
metadata,
|
|
831
|
+
_registered_method=True)
|
|
832
|
+
|
|
833
|
+
@staticmethod
|
|
834
|
+
def GetVm(request,
|
|
835
|
+
target,
|
|
836
|
+
options=(),
|
|
837
|
+
channel_credentials=None,
|
|
838
|
+
call_credentials=None,
|
|
839
|
+
insecure=False,
|
|
840
|
+
compression=None,
|
|
841
|
+
wait_for_ready=None,
|
|
842
|
+
timeout=None,
|
|
843
|
+
metadata=None):
|
|
844
|
+
return grpc.experimental.unary_unary(
|
|
845
|
+
request,
|
|
846
|
+
target,
|
|
847
|
+
'/boxd.api.v1.BoxdApi/GetVm',
|
|
848
|
+
api__pb2.GetVmRequest.SerializeToString,
|
|
849
|
+
api__pb2.GetVmResponse.FromString,
|
|
850
|
+
options,
|
|
851
|
+
channel_credentials,
|
|
852
|
+
insecure,
|
|
853
|
+
call_credentials,
|
|
854
|
+
compression,
|
|
855
|
+
wait_for_ready,
|
|
856
|
+
timeout,
|
|
857
|
+
metadata,
|
|
858
|
+
_registered_method=True)
|
|
859
|
+
|
|
860
|
+
@staticmethod
|
|
861
|
+
def ListVms(request,
|
|
862
|
+
target,
|
|
863
|
+
options=(),
|
|
864
|
+
channel_credentials=None,
|
|
865
|
+
call_credentials=None,
|
|
866
|
+
insecure=False,
|
|
867
|
+
compression=None,
|
|
868
|
+
wait_for_ready=None,
|
|
869
|
+
timeout=None,
|
|
870
|
+
metadata=None):
|
|
871
|
+
return grpc.experimental.unary_unary(
|
|
872
|
+
request,
|
|
873
|
+
target,
|
|
874
|
+
'/boxd.api.v1.BoxdApi/ListVms',
|
|
875
|
+
api__pb2.ListVmsRequest.SerializeToString,
|
|
876
|
+
api__pb2.ListVmsResponse.FromString,
|
|
877
|
+
options,
|
|
878
|
+
channel_credentials,
|
|
879
|
+
insecure,
|
|
880
|
+
call_credentials,
|
|
881
|
+
compression,
|
|
882
|
+
wait_for_ready,
|
|
883
|
+
timeout,
|
|
884
|
+
metadata,
|
|
885
|
+
_registered_method=True)
|
|
886
|
+
|
|
887
|
+
@staticmethod
|
|
888
|
+
def StreamLogs(request,
|
|
889
|
+
target,
|
|
890
|
+
options=(),
|
|
891
|
+
channel_credentials=None,
|
|
892
|
+
call_credentials=None,
|
|
893
|
+
insecure=False,
|
|
894
|
+
compression=None,
|
|
895
|
+
wait_for_ready=None,
|
|
896
|
+
timeout=None,
|
|
897
|
+
metadata=None):
|
|
898
|
+
return grpc.experimental.unary_stream(
|
|
899
|
+
request,
|
|
900
|
+
target,
|
|
901
|
+
'/boxd.api.v1.BoxdApi/StreamLogs',
|
|
902
|
+
api__pb2.StreamLogsRequest.SerializeToString,
|
|
903
|
+
api__pb2.LogChunk.FromString,
|
|
904
|
+
options,
|
|
905
|
+
channel_credentials,
|
|
906
|
+
insecure,
|
|
907
|
+
call_credentials,
|
|
908
|
+
compression,
|
|
909
|
+
wait_for_ready,
|
|
910
|
+
timeout,
|
|
911
|
+
metadata,
|
|
912
|
+
_registered_method=True)
|
|
913
|
+
|
|
914
|
+
@staticmethod
|
|
915
|
+
def Exec(request_iterator,
|
|
916
|
+
target,
|
|
917
|
+
options=(),
|
|
918
|
+
channel_credentials=None,
|
|
919
|
+
call_credentials=None,
|
|
920
|
+
insecure=False,
|
|
921
|
+
compression=None,
|
|
922
|
+
wait_for_ready=None,
|
|
923
|
+
timeout=None,
|
|
924
|
+
metadata=None):
|
|
925
|
+
return grpc.experimental.stream_stream(
|
|
926
|
+
request_iterator,
|
|
927
|
+
target,
|
|
928
|
+
'/boxd.api.v1.BoxdApi/Exec',
|
|
929
|
+
api__pb2.ExecChunk.SerializeToString,
|
|
930
|
+
api__pb2.ExecChunk.FromString,
|
|
931
|
+
options,
|
|
932
|
+
channel_credentials,
|
|
933
|
+
insecure,
|
|
934
|
+
call_credentials,
|
|
935
|
+
compression,
|
|
936
|
+
wait_for_ready,
|
|
937
|
+
timeout,
|
|
938
|
+
metadata,
|
|
939
|
+
_registered_method=True)
|
|
940
|
+
|
|
941
|
+
@staticmethod
|
|
942
|
+
def CreateNetwork(request,
|
|
943
|
+
target,
|
|
944
|
+
options=(),
|
|
945
|
+
channel_credentials=None,
|
|
946
|
+
call_credentials=None,
|
|
947
|
+
insecure=False,
|
|
948
|
+
compression=None,
|
|
949
|
+
wait_for_ready=None,
|
|
950
|
+
timeout=None,
|
|
951
|
+
metadata=None):
|
|
952
|
+
return grpc.experimental.unary_unary(
|
|
953
|
+
request,
|
|
954
|
+
target,
|
|
955
|
+
'/boxd.api.v1.BoxdApi/CreateNetwork',
|
|
956
|
+
api__pb2.CreateNetworkRequest.SerializeToString,
|
|
957
|
+
api__pb2.CreateNetworkResponse.FromString,
|
|
958
|
+
options,
|
|
959
|
+
channel_credentials,
|
|
960
|
+
insecure,
|
|
961
|
+
call_credentials,
|
|
962
|
+
compression,
|
|
963
|
+
wait_for_ready,
|
|
964
|
+
timeout,
|
|
965
|
+
metadata,
|
|
966
|
+
_registered_method=True)
|
|
967
|
+
|
|
968
|
+
@staticmethod
|
|
969
|
+
def ListNetworks(request,
|
|
970
|
+
target,
|
|
971
|
+
options=(),
|
|
972
|
+
channel_credentials=None,
|
|
973
|
+
call_credentials=None,
|
|
974
|
+
insecure=False,
|
|
975
|
+
compression=None,
|
|
976
|
+
wait_for_ready=None,
|
|
977
|
+
timeout=None,
|
|
978
|
+
metadata=None):
|
|
979
|
+
return grpc.experimental.unary_unary(
|
|
980
|
+
request,
|
|
981
|
+
target,
|
|
982
|
+
'/boxd.api.v1.BoxdApi/ListNetworks',
|
|
983
|
+
api__pb2.ListNetworksRequest.SerializeToString,
|
|
984
|
+
api__pb2.ListNetworksResponse.FromString,
|
|
985
|
+
options,
|
|
986
|
+
channel_credentials,
|
|
987
|
+
insecure,
|
|
988
|
+
call_credentials,
|
|
989
|
+
compression,
|
|
990
|
+
wait_for_ready,
|
|
991
|
+
timeout,
|
|
992
|
+
metadata,
|
|
993
|
+
_registered_method=True)
|
|
994
|
+
|
|
995
|
+
@staticmethod
|
|
996
|
+
def BindDomain(request,
|
|
997
|
+
target,
|
|
998
|
+
options=(),
|
|
999
|
+
channel_credentials=None,
|
|
1000
|
+
call_credentials=None,
|
|
1001
|
+
insecure=False,
|
|
1002
|
+
compression=None,
|
|
1003
|
+
wait_for_ready=None,
|
|
1004
|
+
timeout=None,
|
|
1005
|
+
metadata=None):
|
|
1006
|
+
return grpc.experimental.unary_unary(
|
|
1007
|
+
request,
|
|
1008
|
+
target,
|
|
1009
|
+
'/boxd.api.v1.BoxdApi/BindDomain',
|
|
1010
|
+
api__pb2.BindDomainRequest.SerializeToString,
|
|
1011
|
+
api__pb2.BindDomainResponse.FromString,
|
|
1012
|
+
options,
|
|
1013
|
+
channel_credentials,
|
|
1014
|
+
insecure,
|
|
1015
|
+
call_credentials,
|
|
1016
|
+
compression,
|
|
1017
|
+
wait_for_ready,
|
|
1018
|
+
timeout,
|
|
1019
|
+
metadata,
|
|
1020
|
+
_registered_method=True)
|
|
1021
|
+
|
|
1022
|
+
@staticmethod
|
|
1023
|
+
def UnbindDomain(request,
|
|
1024
|
+
target,
|
|
1025
|
+
options=(),
|
|
1026
|
+
channel_credentials=None,
|
|
1027
|
+
call_credentials=None,
|
|
1028
|
+
insecure=False,
|
|
1029
|
+
compression=None,
|
|
1030
|
+
wait_for_ready=None,
|
|
1031
|
+
timeout=None,
|
|
1032
|
+
metadata=None):
|
|
1033
|
+
return grpc.experimental.unary_unary(
|
|
1034
|
+
request,
|
|
1035
|
+
target,
|
|
1036
|
+
'/boxd.api.v1.BoxdApi/UnbindDomain',
|
|
1037
|
+
api__pb2.UnbindDomainRequest.SerializeToString,
|
|
1038
|
+
api__pb2.UnbindDomainResponse.FromString,
|
|
1039
|
+
options,
|
|
1040
|
+
channel_credentials,
|
|
1041
|
+
insecure,
|
|
1042
|
+
call_credentials,
|
|
1043
|
+
compression,
|
|
1044
|
+
wait_for_ready,
|
|
1045
|
+
timeout,
|
|
1046
|
+
metadata,
|
|
1047
|
+
_registered_method=True)
|
|
1048
|
+
|
|
1049
|
+
@staticmethod
|
|
1050
|
+
def ListDomains(request,
|
|
1051
|
+
target,
|
|
1052
|
+
options=(),
|
|
1053
|
+
channel_credentials=None,
|
|
1054
|
+
call_credentials=None,
|
|
1055
|
+
insecure=False,
|
|
1056
|
+
compression=None,
|
|
1057
|
+
wait_for_ready=None,
|
|
1058
|
+
timeout=None,
|
|
1059
|
+
metadata=None):
|
|
1060
|
+
return grpc.experimental.unary_unary(
|
|
1061
|
+
request,
|
|
1062
|
+
target,
|
|
1063
|
+
'/boxd.api.v1.BoxdApi/ListDomains',
|
|
1064
|
+
api__pb2.ListDomainsRequest.SerializeToString,
|
|
1065
|
+
api__pb2.ListDomainsResponse.FromString,
|
|
1066
|
+
options,
|
|
1067
|
+
channel_credentials,
|
|
1068
|
+
insecure,
|
|
1069
|
+
call_credentials,
|
|
1070
|
+
compression,
|
|
1071
|
+
wait_for_ready,
|
|
1072
|
+
timeout,
|
|
1073
|
+
metadata,
|
|
1074
|
+
_registered_method=True)
|
|
1075
|
+
|
|
1076
|
+
@staticmethod
|
|
1077
|
+
def Whoami(request,
|
|
1078
|
+
target,
|
|
1079
|
+
options=(),
|
|
1080
|
+
channel_credentials=None,
|
|
1081
|
+
call_credentials=None,
|
|
1082
|
+
insecure=False,
|
|
1083
|
+
compression=None,
|
|
1084
|
+
wait_for_ready=None,
|
|
1085
|
+
timeout=None,
|
|
1086
|
+
metadata=None):
|
|
1087
|
+
return grpc.experimental.unary_unary(
|
|
1088
|
+
request,
|
|
1089
|
+
target,
|
|
1090
|
+
'/boxd.api.v1.BoxdApi/Whoami',
|
|
1091
|
+
api__pb2.WhoamiRequest.SerializeToString,
|
|
1092
|
+
api__pb2.WhoamiResponse.FromString,
|
|
1093
|
+
options,
|
|
1094
|
+
channel_credentials,
|
|
1095
|
+
insecure,
|
|
1096
|
+
call_credentials,
|
|
1097
|
+
compression,
|
|
1098
|
+
wait_for_ready,
|
|
1099
|
+
timeout,
|
|
1100
|
+
metadata,
|
|
1101
|
+
_registered_method=True)
|
|
1102
|
+
|
|
1103
|
+
@staticmethod
|
|
1104
|
+
def CreateToken(request,
|
|
1105
|
+
target,
|
|
1106
|
+
options=(),
|
|
1107
|
+
channel_credentials=None,
|
|
1108
|
+
call_credentials=None,
|
|
1109
|
+
insecure=False,
|
|
1110
|
+
compression=None,
|
|
1111
|
+
wait_for_ready=None,
|
|
1112
|
+
timeout=None,
|
|
1113
|
+
metadata=None):
|
|
1114
|
+
return grpc.experimental.unary_unary(
|
|
1115
|
+
request,
|
|
1116
|
+
target,
|
|
1117
|
+
'/boxd.api.v1.BoxdApi/CreateToken',
|
|
1118
|
+
api__pb2.CreateTokenRequest.SerializeToString,
|
|
1119
|
+
api__pb2.CreateTokenResponse.FromString,
|
|
1120
|
+
options,
|
|
1121
|
+
channel_credentials,
|
|
1122
|
+
insecure,
|
|
1123
|
+
call_credentials,
|
|
1124
|
+
compression,
|
|
1125
|
+
wait_for_ready,
|
|
1126
|
+
timeout,
|
|
1127
|
+
metadata,
|
|
1128
|
+
_registered_method=True)
|
|
1129
|
+
|
|
1130
|
+
@staticmethod
|
|
1131
|
+
def ListTokens(request,
|
|
1132
|
+
target,
|
|
1133
|
+
options=(),
|
|
1134
|
+
channel_credentials=None,
|
|
1135
|
+
call_credentials=None,
|
|
1136
|
+
insecure=False,
|
|
1137
|
+
compression=None,
|
|
1138
|
+
wait_for_ready=None,
|
|
1139
|
+
timeout=None,
|
|
1140
|
+
metadata=None):
|
|
1141
|
+
return grpc.experimental.unary_unary(
|
|
1142
|
+
request,
|
|
1143
|
+
target,
|
|
1144
|
+
'/boxd.api.v1.BoxdApi/ListTokens',
|
|
1145
|
+
api__pb2.ListTokensRequest.SerializeToString,
|
|
1146
|
+
api__pb2.ListTokensResponse.FromString,
|
|
1147
|
+
options,
|
|
1148
|
+
channel_credentials,
|
|
1149
|
+
insecure,
|
|
1150
|
+
call_credentials,
|
|
1151
|
+
compression,
|
|
1152
|
+
wait_for_ready,
|
|
1153
|
+
timeout,
|
|
1154
|
+
metadata,
|
|
1155
|
+
_registered_method=True)
|
|
1156
|
+
|
|
1157
|
+
@staticmethod
|
|
1158
|
+
def RevokeToken(request,
|
|
1159
|
+
target,
|
|
1160
|
+
options=(),
|
|
1161
|
+
channel_credentials=None,
|
|
1162
|
+
call_credentials=None,
|
|
1163
|
+
insecure=False,
|
|
1164
|
+
compression=None,
|
|
1165
|
+
wait_for_ready=None,
|
|
1166
|
+
timeout=None,
|
|
1167
|
+
metadata=None):
|
|
1168
|
+
return grpc.experimental.unary_unary(
|
|
1169
|
+
request,
|
|
1170
|
+
target,
|
|
1171
|
+
'/boxd.api.v1.BoxdApi/RevokeToken',
|
|
1172
|
+
api__pb2.RevokeTokenRequest.SerializeToString,
|
|
1173
|
+
api__pb2.RevokeTokenResponse.FromString,
|
|
1174
|
+
options,
|
|
1175
|
+
channel_credentials,
|
|
1176
|
+
insecure,
|
|
1177
|
+
call_credentials,
|
|
1178
|
+
compression,
|
|
1179
|
+
wait_for_ready,
|
|
1180
|
+
timeout,
|
|
1181
|
+
metadata,
|
|
1182
|
+
_registered_method=True)
|
|
1183
|
+
|
|
1184
|
+
@staticmethod
|
|
1185
|
+
def GetConfig(request,
|
|
1186
|
+
target,
|
|
1187
|
+
options=(),
|
|
1188
|
+
channel_credentials=None,
|
|
1189
|
+
call_credentials=None,
|
|
1190
|
+
insecure=False,
|
|
1191
|
+
compression=None,
|
|
1192
|
+
wait_for_ready=None,
|
|
1193
|
+
timeout=None,
|
|
1194
|
+
metadata=None):
|
|
1195
|
+
return grpc.experimental.unary_unary(
|
|
1196
|
+
request,
|
|
1197
|
+
target,
|
|
1198
|
+
'/boxd.api.v1.BoxdApi/GetConfig',
|
|
1199
|
+
api__pb2.GetConfigRequest.SerializeToString,
|
|
1200
|
+
api__pb2.GetConfigResponse.FromString,
|
|
1201
|
+
options,
|
|
1202
|
+
channel_credentials,
|
|
1203
|
+
insecure,
|
|
1204
|
+
call_credentials,
|
|
1205
|
+
compression,
|
|
1206
|
+
wait_for_ready,
|
|
1207
|
+
timeout,
|
|
1208
|
+
metadata,
|
|
1209
|
+
_registered_method=True)
|
|
1210
|
+
|
|
1211
|
+
@staticmethod
|
|
1212
|
+
def ForkVm(request,
|
|
1213
|
+
target,
|
|
1214
|
+
options=(),
|
|
1215
|
+
channel_credentials=None,
|
|
1216
|
+
call_credentials=None,
|
|
1217
|
+
insecure=False,
|
|
1218
|
+
compression=None,
|
|
1219
|
+
wait_for_ready=None,
|
|
1220
|
+
timeout=None,
|
|
1221
|
+
metadata=None):
|
|
1222
|
+
return grpc.experimental.unary_unary(
|
|
1223
|
+
request,
|
|
1224
|
+
target,
|
|
1225
|
+
'/boxd.api.v1.BoxdApi/ForkVm',
|
|
1226
|
+
api__pb2.ForkVmRequest.SerializeToString,
|
|
1227
|
+
api__pb2.ForkVmResponse.FromString,
|
|
1228
|
+
options,
|
|
1229
|
+
channel_credentials,
|
|
1230
|
+
insecure,
|
|
1231
|
+
call_credentials,
|
|
1232
|
+
compression,
|
|
1233
|
+
wait_for_ready,
|
|
1234
|
+
timeout,
|
|
1235
|
+
metadata,
|
|
1236
|
+
_registered_method=True)
|
|
1237
|
+
|
|
1238
|
+
@staticmethod
|
|
1239
|
+
def ListProxies(request,
|
|
1240
|
+
target,
|
|
1241
|
+
options=(),
|
|
1242
|
+
channel_credentials=None,
|
|
1243
|
+
call_credentials=None,
|
|
1244
|
+
insecure=False,
|
|
1245
|
+
compression=None,
|
|
1246
|
+
wait_for_ready=None,
|
|
1247
|
+
timeout=None,
|
|
1248
|
+
metadata=None):
|
|
1249
|
+
return grpc.experimental.unary_unary(
|
|
1250
|
+
request,
|
|
1251
|
+
target,
|
|
1252
|
+
'/boxd.api.v1.BoxdApi/ListProxies',
|
|
1253
|
+
api__pb2.ListProxiesRequest.SerializeToString,
|
|
1254
|
+
api__pb2.ListProxiesResponse.FromString,
|
|
1255
|
+
options,
|
|
1256
|
+
channel_credentials,
|
|
1257
|
+
insecure,
|
|
1258
|
+
call_credentials,
|
|
1259
|
+
compression,
|
|
1260
|
+
wait_for_ready,
|
|
1261
|
+
timeout,
|
|
1262
|
+
metadata,
|
|
1263
|
+
_registered_method=True)
|
|
1264
|
+
|
|
1265
|
+
@staticmethod
|
|
1266
|
+
def CreateProxy(request,
|
|
1267
|
+
target,
|
|
1268
|
+
options=(),
|
|
1269
|
+
channel_credentials=None,
|
|
1270
|
+
call_credentials=None,
|
|
1271
|
+
insecure=False,
|
|
1272
|
+
compression=None,
|
|
1273
|
+
wait_for_ready=None,
|
|
1274
|
+
timeout=None,
|
|
1275
|
+
metadata=None):
|
|
1276
|
+
return grpc.experimental.unary_unary(
|
|
1277
|
+
request,
|
|
1278
|
+
target,
|
|
1279
|
+
'/boxd.api.v1.BoxdApi/CreateProxy',
|
|
1280
|
+
api__pb2.CreateProxyRequest.SerializeToString,
|
|
1281
|
+
api__pb2.CreateProxyResponse.FromString,
|
|
1282
|
+
options,
|
|
1283
|
+
channel_credentials,
|
|
1284
|
+
insecure,
|
|
1285
|
+
call_credentials,
|
|
1286
|
+
compression,
|
|
1287
|
+
wait_for_ready,
|
|
1288
|
+
timeout,
|
|
1289
|
+
metadata,
|
|
1290
|
+
_registered_method=True)
|
|
1291
|
+
|
|
1292
|
+
@staticmethod
|
|
1293
|
+
def DeleteProxy(request,
|
|
1294
|
+
target,
|
|
1295
|
+
options=(),
|
|
1296
|
+
channel_credentials=None,
|
|
1297
|
+
call_credentials=None,
|
|
1298
|
+
insecure=False,
|
|
1299
|
+
compression=None,
|
|
1300
|
+
wait_for_ready=None,
|
|
1301
|
+
timeout=None,
|
|
1302
|
+
metadata=None):
|
|
1303
|
+
return grpc.experimental.unary_unary(
|
|
1304
|
+
request,
|
|
1305
|
+
target,
|
|
1306
|
+
'/boxd.api.v1.BoxdApi/DeleteProxy',
|
|
1307
|
+
api__pb2.DeleteProxyRequest.SerializeToString,
|
|
1308
|
+
api__pb2.DeleteProxyResponse.FromString,
|
|
1309
|
+
options,
|
|
1310
|
+
channel_credentials,
|
|
1311
|
+
insecure,
|
|
1312
|
+
call_credentials,
|
|
1313
|
+
compression,
|
|
1314
|
+
wait_for_ready,
|
|
1315
|
+
timeout,
|
|
1316
|
+
metadata,
|
|
1317
|
+
_registered_method=True)
|
|
1318
|
+
|
|
1319
|
+
@staticmethod
|
|
1320
|
+
def SetProxyPort(request,
|
|
1321
|
+
target,
|
|
1322
|
+
options=(),
|
|
1323
|
+
channel_credentials=None,
|
|
1324
|
+
call_credentials=None,
|
|
1325
|
+
insecure=False,
|
|
1326
|
+
compression=None,
|
|
1327
|
+
wait_for_ready=None,
|
|
1328
|
+
timeout=None,
|
|
1329
|
+
metadata=None):
|
|
1330
|
+
return grpc.experimental.unary_unary(
|
|
1331
|
+
request,
|
|
1332
|
+
target,
|
|
1333
|
+
'/boxd.api.v1.BoxdApi/SetProxyPort',
|
|
1334
|
+
api__pb2.SetProxyPortRequest.SerializeToString,
|
|
1335
|
+
api__pb2.SetProxyPortResponse.FromString,
|
|
1336
|
+
options,
|
|
1337
|
+
channel_credentials,
|
|
1338
|
+
insecure,
|
|
1339
|
+
call_credentials,
|
|
1340
|
+
compression,
|
|
1341
|
+
wait_for_ready,
|
|
1342
|
+
timeout,
|
|
1343
|
+
metadata,
|
|
1344
|
+
_registered_method=True)
|
|
1345
|
+
|
|
1346
|
+
@staticmethod
|
|
1347
|
+
def UploadFile(request,
|
|
1348
|
+
target,
|
|
1349
|
+
options=(),
|
|
1350
|
+
channel_credentials=None,
|
|
1351
|
+
call_credentials=None,
|
|
1352
|
+
insecure=False,
|
|
1353
|
+
compression=None,
|
|
1354
|
+
wait_for_ready=None,
|
|
1355
|
+
timeout=None,
|
|
1356
|
+
metadata=None):
|
|
1357
|
+
return grpc.experimental.unary_unary(
|
|
1358
|
+
request,
|
|
1359
|
+
target,
|
|
1360
|
+
'/boxd.api.v1.BoxdApi/UploadFile',
|
|
1361
|
+
api__pb2.UploadFileRequest.SerializeToString,
|
|
1362
|
+
api__pb2.UploadFileResponse.FromString,
|
|
1363
|
+
options,
|
|
1364
|
+
channel_credentials,
|
|
1365
|
+
insecure,
|
|
1366
|
+
call_credentials,
|
|
1367
|
+
compression,
|
|
1368
|
+
wait_for_ready,
|
|
1369
|
+
timeout,
|
|
1370
|
+
metadata,
|
|
1371
|
+
_registered_method=True)
|
|
1372
|
+
|
|
1373
|
+
@staticmethod
|
|
1374
|
+
def DownloadFile(request,
|
|
1375
|
+
target,
|
|
1376
|
+
options=(),
|
|
1377
|
+
channel_credentials=None,
|
|
1378
|
+
call_credentials=None,
|
|
1379
|
+
insecure=False,
|
|
1380
|
+
compression=None,
|
|
1381
|
+
wait_for_ready=None,
|
|
1382
|
+
timeout=None,
|
|
1383
|
+
metadata=None):
|
|
1384
|
+
return grpc.experimental.unary_unary(
|
|
1385
|
+
request,
|
|
1386
|
+
target,
|
|
1387
|
+
'/boxd.api.v1.BoxdApi/DownloadFile',
|
|
1388
|
+
api__pb2.DownloadFileRequest.SerializeToString,
|
|
1389
|
+
api__pb2.DownloadFileResponse.FromString,
|
|
1390
|
+
options,
|
|
1391
|
+
channel_credentials,
|
|
1392
|
+
insecure,
|
|
1393
|
+
call_credentials,
|
|
1394
|
+
compression,
|
|
1395
|
+
wait_for_ready,
|
|
1396
|
+
timeout,
|
|
1397
|
+
metadata,
|
|
1398
|
+
_registered_method=True)
|
|
1399
|
+
|
|
1400
|
+
@staticmethod
|
|
1401
|
+
def SuspendVm(request,
|
|
1402
|
+
target,
|
|
1403
|
+
options=(),
|
|
1404
|
+
channel_credentials=None,
|
|
1405
|
+
call_credentials=None,
|
|
1406
|
+
insecure=False,
|
|
1407
|
+
compression=None,
|
|
1408
|
+
wait_for_ready=None,
|
|
1409
|
+
timeout=None,
|
|
1410
|
+
metadata=None):
|
|
1411
|
+
return grpc.experimental.unary_unary(
|
|
1412
|
+
request,
|
|
1413
|
+
target,
|
|
1414
|
+
'/boxd.api.v1.BoxdApi/SuspendVm',
|
|
1415
|
+
api__pb2.SuspendVmRequest.SerializeToString,
|
|
1416
|
+
api__pb2.SuspendVmResponse.FromString,
|
|
1417
|
+
options,
|
|
1418
|
+
channel_credentials,
|
|
1419
|
+
insecure,
|
|
1420
|
+
call_credentials,
|
|
1421
|
+
compression,
|
|
1422
|
+
wait_for_ready,
|
|
1423
|
+
timeout,
|
|
1424
|
+
metadata,
|
|
1425
|
+
_registered_method=True)
|
|
1426
|
+
|
|
1427
|
+
@staticmethod
|
|
1428
|
+
def ResumeVm(request,
|
|
1429
|
+
target,
|
|
1430
|
+
options=(),
|
|
1431
|
+
channel_credentials=None,
|
|
1432
|
+
call_credentials=None,
|
|
1433
|
+
insecure=False,
|
|
1434
|
+
compression=None,
|
|
1435
|
+
wait_for_ready=None,
|
|
1436
|
+
timeout=None,
|
|
1437
|
+
metadata=None):
|
|
1438
|
+
return grpc.experimental.unary_unary(
|
|
1439
|
+
request,
|
|
1440
|
+
target,
|
|
1441
|
+
'/boxd.api.v1.BoxdApi/ResumeVm',
|
|
1442
|
+
api__pb2.ResumeVmRequest.SerializeToString,
|
|
1443
|
+
api__pb2.ResumeVmResponse.FromString,
|
|
1444
|
+
options,
|
|
1445
|
+
channel_credentials,
|
|
1446
|
+
insecure,
|
|
1447
|
+
call_credentials,
|
|
1448
|
+
compression,
|
|
1449
|
+
wait_for_ready,
|
|
1450
|
+
timeout,
|
|
1451
|
+
metadata,
|
|
1452
|
+
_registered_method=True)
|
|
1453
|
+
|
|
1454
|
+
@staticmethod
|
|
1455
|
+
def CreateTemplate(request,
|
|
1456
|
+
target,
|
|
1457
|
+
options=(),
|
|
1458
|
+
channel_credentials=None,
|
|
1459
|
+
call_credentials=None,
|
|
1460
|
+
insecure=False,
|
|
1461
|
+
compression=None,
|
|
1462
|
+
wait_for_ready=None,
|
|
1463
|
+
timeout=None,
|
|
1464
|
+
metadata=None):
|
|
1465
|
+
return grpc.experimental.unary_unary(
|
|
1466
|
+
request,
|
|
1467
|
+
target,
|
|
1468
|
+
'/boxd.api.v1.BoxdApi/CreateTemplate',
|
|
1469
|
+
api__pb2.CreateTemplateRequest.SerializeToString,
|
|
1470
|
+
api__pb2.CreateTemplateResponse.FromString,
|
|
1471
|
+
options,
|
|
1472
|
+
channel_credentials,
|
|
1473
|
+
insecure,
|
|
1474
|
+
call_credentials,
|
|
1475
|
+
compression,
|
|
1476
|
+
wait_for_ready,
|
|
1477
|
+
timeout,
|
|
1478
|
+
metadata,
|
|
1479
|
+
_registered_method=True)
|
|
1480
|
+
|
|
1481
|
+
@staticmethod
|
|
1482
|
+
def ListTemplates(request,
|
|
1483
|
+
target,
|
|
1484
|
+
options=(),
|
|
1485
|
+
channel_credentials=None,
|
|
1486
|
+
call_credentials=None,
|
|
1487
|
+
insecure=False,
|
|
1488
|
+
compression=None,
|
|
1489
|
+
wait_for_ready=None,
|
|
1490
|
+
timeout=None,
|
|
1491
|
+
metadata=None):
|
|
1492
|
+
return grpc.experimental.unary_unary(
|
|
1493
|
+
request,
|
|
1494
|
+
target,
|
|
1495
|
+
'/boxd.api.v1.BoxdApi/ListTemplates',
|
|
1496
|
+
api__pb2.ListTemplatesRequest.SerializeToString,
|
|
1497
|
+
api__pb2.ListTemplatesResponse.FromString,
|
|
1498
|
+
options,
|
|
1499
|
+
channel_credentials,
|
|
1500
|
+
insecure,
|
|
1501
|
+
call_credentials,
|
|
1502
|
+
compression,
|
|
1503
|
+
wait_for_ready,
|
|
1504
|
+
timeout,
|
|
1505
|
+
metadata,
|
|
1506
|
+
_registered_method=True)
|
|
1507
|
+
|
|
1508
|
+
@staticmethod
|
|
1509
|
+
def DeleteTemplate(request,
|
|
1510
|
+
target,
|
|
1511
|
+
options=(),
|
|
1512
|
+
channel_credentials=None,
|
|
1513
|
+
call_credentials=None,
|
|
1514
|
+
insecure=False,
|
|
1515
|
+
compression=None,
|
|
1516
|
+
wait_for_ready=None,
|
|
1517
|
+
timeout=None,
|
|
1518
|
+
metadata=None):
|
|
1519
|
+
return grpc.experimental.unary_unary(
|
|
1520
|
+
request,
|
|
1521
|
+
target,
|
|
1522
|
+
'/boxd.api.v1.BoxdApi/DeleteTemplate',
|
|
1523
|
+
api__pb2.DeleteTemplateRequest.SerializeToString,
|
|
1524
|
+
api__pb2.DeleteTemplateResponse.FromString,
|
|
1525
|
+
options,
|
|
1526
|
+
channel_credentials,
|
|
1527
|
+
insecure,
|
|
1528
|
+
call_credentials,
|
|
1529
|
+
compression,
|
|
1530
|
+
wait_for_ready,
|
|
1531
|
+
timeout,
|
|
1532
|
+
metadata,
|
|
1533
|
+
_registered_method=True)
|
|
1534
|
+
|
|
1535
|
+
@staticmethod
|
|
1536
|
+
def CreateVmFromTemplate(request,
|
|
1537
|
+
target,
|
|
1538
|
+
options=(),
|
|
1539
|
+
channel_credentials=None,
|
|
1540
|
+
call_credentials=None,
|
|
1541
|
+
insecure=False,
|
|
1542
|
+
compression=None,
|
|
1543
|
+
wait_for_ready=None,
|
|
1544
|
+
timeout=None,
|
|
1545
|
+
metadata=None):
|
|
1546
|
+
return grpc.experimental.unary_unary(
|
|
1547
|
+
request,
|
|
1548
|
+
target,
|
|
1549
|
+
'/boxd.api.v1.BoxdApi/CreateVmFromTemplate',
|
|
1550
|
+
api__pb2.CreateVmFromTemplateRequest.SerializeToString,
|
|
1551
|
+
api__pb2.CreateVmFromTemplateResponse.FromString,
|
|
1552
|
+
options,
|
|
1553
|
+
channel_credentials,
|
|
1554
|
+
insecure,
|
|
1555
|
+
call_credentials,
|
|
1556
|
+
compression,
|
|
1557
|
+
wait_for_ready,
|
|
1558
|
+
timeout,
|
|
1559
|
+
metadata,
|
|
1560
|
+
_registered_method=True)
|
|
1561
|
+
|
|
1562
|
+
@staticmethod
|
|
1563
|
+
def CreateDisk(request,
|
|
1564
|
+
target,
|
|
1565
|
+
options=(),
|
|
1566
|
+
channel_credentials=None,
|
|
1567
|
+
call_credentials=None,
|
|
1568
|
+
insecure=False,
|
|
1569
|
+
compression=None,
|
|
1570
|
+
wait_for_ready=None,
|
|
1571
|
+
timeout=None,
|
|
1572
|
+
metadata=None):
|
|
1573
|
+
return grpc.experimental.unary_unary(
|
|
1574
|
+
request,
|
|
1575
|
+
target,
|
|
1576
|
+
'/boxd.api.v1.BoxdApi/CreateDisk',
|
|
1577
|
+
api__pb2.CreateDiskRequest.SerializeToString,
|
|
1578
|
+
api__pb2.CreateDiskResponse.FromString,
|
|
1579
|
+
options,
|
|
1580
|
+
channel_credentials,
|
|
1581
|
+
insecure,
|
|
1582
|
+
call_credentials,
|
|
1583
|
+
compression,
|
|
1584
|
+
wait_for_ready,
|
|
1585
|
+
timeout,
|
|
1586
|
+
metadata,
|
|
1587
|
+
_registered_method=True)
|
|
1588
|
+
|
|
1589
|
+
@staticmethod
|
|
1590
|
+
def ListDisks(request,
|
|
1591
|
+
target,
|
|
1592
|
+
options=(),
|
|
1593
|
+
channel_credentials=None,
|
|
1594
|
+
call_credentials=None,
|
|
1595
|
+
insecure=False,
|
|
1596
|
+
compression=None,
|
|
1597
|
+
wait_for_ready=None,
|
|
1598
|
+
timeout=None,
|
|
1599
|
+
metadata=None):
|
|
1600
|
+
return grpc.experimental.unary_unary(
|
|
1601
|
+
request,
|
|
1602
|
+
target,
|
|
1603
|
+
'/boxd.api.v1.BoxdApi/ListDisks',
|
|
1604
|
+
api__pb2.ListDisksRequest.SerializeToString,
|
|
1605
|
+
api__pb2.ListDisksResponse.FromString,
|
|
1606
|
+
options,
|
|
1607
|
+
channel_credentials,
|
|
1608
|
+
insecure,
|
|
1609
|
+
call_credentials,
|
|
1610
|
+
compression,
|
|
1611
|
+
wait_for_ready,
|
|
1612
|
+
timeout,
|
|
1613
|
+
metadata,
|
|
1614
|
+
_registered_method=True)
|
|
1615
|
+
|
|
1616
|
+
@staticmethod
|
|
1617
|
+
def AttachDisk(request,
|
|
1618
|
+
target,
|
|
1619
|
+
options=(),
|
|
1620
|
+
channel_credentials=None,
|
|
1621
|
+
call_credentials=None,
|
|
1622
|
+
insecure=False,
|
|
1623
|
+
compression=None,
|
|
1624
|
+
wait_for_ready=None,
|
|
1625
|
+
timeout=None,
|
|
1626
|
+
metadata=None):
|
|
1627
|
+
return grpc.experimental.unary_unary(
|
|
1628
|
+
request,
|
|
1629
|
+
target,
|
|
1630
|
+
'/boxd.api.v1.BoxdApi/AttachDisk',
|
|
1631
|
+
api__pb2.AttachDiskRequest.SerializeToString,
|
|
1632
|
+
api__pb2.AttachDiskResponse.FromString,
|
|
1633
|
+
options,
|
|
1634
|
+
channel_credentials,
|
|
1635
|
+
insecure,
|
|
1636
|
+
call_credentials,
|
|
1637
|
+
compression,
|
|
1638
|
+
wait_for_ready,
|
|
1639
|
+
timeout,
|
|
1640
|
+
metadata,
|
|
1641
|
+
_registered_method=True)
|
|
1642
|
+
|
|
1643
|
+
@staticmethod
|
|
1644
|
+
def DetachDisk(request,
|
|
1645
|
+
target,
|
|
1646
|
+
options=(),
|
|
1647
|
+
channel_credentials=None,
|
|
1648
|
+
call_credentials=None,
|
|
1649
|
+
insecure=False,
|
|
1650
|
+
compression=None,
|
|
1651
|
+
wait_for_ready=None,
|
|
1652
|
+
timeout=None,
|
|
1653
|
+
metadata=None):
|
|
1654
|
+
return grpc.experimental.unary_unary(
|
|
1655
|
+
request,
|
|
1656
|
+
target,
|
|
1657
|
+
'/boxd.api.v1.BoxdApi/DetachDisk',
|
|
1658
|
+
api__pb2.DetachDiskRequest.SerializeToString,
|
|
1659
|
+
api__pb2.DetachDiskResponse.FromString,
|
|
1660
|
+
options,
|
|
1661
|
+
channel_credentials,
|
|
1662
|
+
insecure,
|
|
1663
|
+
call_credentials,
|
|
1664
|
+
compression,
|
|
1665
|
+
wait_for_ready,
|
|
1666
|
+
timeout,
|
|
1667
|
+
metadata,
|
|
1668
|
+
_registered_method=True)
|
|
1669
|
+
|
|
1670
|
+
@staticmethod
|
|
1671
|
+
def DestroyDisk(request,
|
|
1672
|
+
target,
|
|
1673
|
+
options=(),
|
|
1674
|
+
channel_credentials=None,
|
|
1675
|
+
call_credentials=None,
|
|
1676
|
+
insecure=False,
|
|
1677
|
+
compression=None,
|
|
1678
|
+
wait_for_ready=None,
|
|
1679
|
+
timeout=None,
|
|
1680
|
+
metadata=None):
|
|
1681
|
+
return grpc.experimental.unary_unary(
|
|
1682
|
+
request,
|
|
1683
|
+
target,
|
|
1684
|
+
'/boxd.api.v1.BoxdApi/DestroyDisk',
|
|
1685
|
+
api__pb2.DestroyDiskRequest.SerializeToString,
|
|
1686
|
+
api__pb2.DestroyDiskResponse.FromString,
|
|
1687
|
+
options,
|
|
1688
|
+
channel_credentials,
|
|
1689
|
+
insecure,
|
|
1690
|
+
call_credentials,
|
|
1691
|
+
compression,
|
|
1692
|
+
wait_for_ready,
|
|
1693
|
+
timeout,
|
|
1694
|
+
metadata,
|
|
1695
|
+
_registered_method=True)
|
|
1696
|
+
|
|
1697
|
+
@staticmethod
|
|
1698
|
+
def CreateApiKey(request,
|
|
1699
|
+
target,
|
|
1700
|
+
options=(),
|
|
1701
|
+
channel_credentials=None,
|
|
1702
|
+
call_credentials=None,
|
|
1703
|
+
insecure=False,
|
|
1704
|
+
compression=None,
|
|
1705
|
+
wait_for_ready=None,
|
|
1706
|
+
timeout=None,
|
|
1707
|
+
metadata=None):
|
|
1708
|
+
return grpc.experimental.unary_unary(
|
|
1709
|
+
request,
|
|
1710
|
+
target,
|
|
1711
|
+
'/boxd.api.v1.BoxdApi/CreateApiKey',
|
|
1712
|
+
api__pb2.CreateApiKeyRequest.SerializeToString,
|
|
1713
|
+
api__pb2.CreateApiKeyResponse.FromString,
|
|
1714
|
+
options,
|
|
1715
|
+
channel_credentials,
|
|
1716
|
+
insecure,
|
|
1717
|
+
call_credentials,
|
|
1718
|
+
compression,
|
|
1719
|
+
wait_for_ready,
|
|
1720
|
+
timeout,
|
|
1721
|
+
metadata,
|
|
1722
|
+
_registered_method=True)
|
|
1723
|
+
|
|
1724
|
+
@staticmethod
|
|
1725
|
+
def ListApiKeys(request,
|
|
1726
|
+
target,
|
|
1727
|
+
options=(),
|
|
1728
|
+
channel_credentials=None,
|
|
1729
|
+
call_credentials=None,
|
|
1730
|
+
insecure=False,
|
|
1731
|
+
compression=None,
|
|
1732
|
+
wait_for_ready=None,
|
|
1733
|
+
timeout=None,
|
|
1734
|
+
metadata=None):
|
|
1735
|
+
return grpc.experimental.unary_unary(
|
|
1736
|
+
request,
|
|
1737
|
+
target,
|
|
1738
|
+
'/boxd.api.v1.BoxdApi/ListApiKeys',
|
|
1739
|
+
api__pb2.ListApiKeysRequest.SerializeToString,
|
|
1740
|
+
api__pb2.ListApiKeysResponse.FromString,
|
|
1741
|
+
options,
|
|
1742
|
+
channel_credentials,
|
|
1743
|
+
insecure,
|
|
1744
|
+
call_credentials,
|
|
1745
|
+
compression,
|
|
1746
|
+
wait_for_ready,
|
|
1747
|
+
timeout,
|
|
1748
|
+
metadata,
|
|
1749
|
+
_registered_method=True)
|
|
1750
|
+
|
|
1751
|
+
@staticmethod
|
|
1752
|
+
def DeleteApiKey(request,
|
|
1753
|
+
target,
|
|
1754
|
+
options=(),
|
|
1755
|
+
channel_credentials=None,
|
|
1756
|
+
call_credentials=None,
|
|
1757
|
+
insecure=False,
|
|
1758
|
+
compression=None,
|
|
1759
|
+
wait_for_ready=None,
|
|
1760
|
+
timeout=None,
|
|
1761
|
+
metadata=None):
|
|
1762
|
+
return grpc.experimental.unary_unary(
|
|
1763
|
+
request,
|
|
1764
|
+
target,
|
|
1765
|
+
'/boxd.api.v1.BoxdApi/DeleteApiKey',
|
|
1766
|
+
api__pb2.DeleteApiKeyRequest.SerializeToString,
|
|
1767
|
+
api__pb2.DeleteApiKeyResponse.FromString,
|
|
1768
|
+
options,
|
|
1769
|
+
channel_credentials,
|
|
1770
|
+
insecure,
|
|
1771
|
+
call_credentials,
|
|
1772
|
+
compression,
|
|
1773
|
+
wait_for_ready,
|
|
1774
|
+
timeout,
|
|
1775
|
+
metadata,
|
|
1776
|
+
_registered_method=True)
|