@dxos/protocols 0.6.4 → 0.6.5-staging.42fccfe
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.
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +177 -177
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +27 -27
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +177 -177
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +26 -26
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/package.json +6 -6
- package/src/proto/dxos/config.proto +1 -1
- package/src/proto/dxos/echo/timeframe.proto +1 -1
- package/src/proto/dxos/error.proto +1 -1
- package/src/proto/dxos/halo/credentials.proto +1 -1
- package/src/proto/dxos/keys.proto +1 -1
- package/src/proto/dxos/mesh/signal.proto +1 -1
- package/src/proto/dxos/rpc.proto +2 -2
- package/src/proto/dxos/service/agentmanager.proto +1 -1
- package/src/proto/dxos/service/publisher.proto +1 -1
- package/src/proto/dxos/service/supervisor.proto +1 -1
- package/src/proto/dxos/service/tunnel.proto +1 -1
- package/src/proto/example/testing/rpc.proto +2 -2
- package/src/proto/gen/dxos/client/services.ts +177 -177
- package/src/proto/gen/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5-staging.42fccfe",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@effect/schema": "^0.67.16",
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/util": "0.6.
|
|
43
|
+
"@dxos/keys": "0.6.5-staging.42fccfe",
|
|
44
|
+
"@dxos/codec-protobuf": "0.6.5-staging.42fccfe",
|
|
45
|
+
"@dxos/invariant": "0.6.5-staging.42fccfe",
|
|
46
|
+
"@dxos/timeframe": "0.6.5-staging.42fccfe",
|
|
47
|
+
"@dxos/util": "0.6.5-staging.42fccfe"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@bufbuild/buf": "^1.32.2",
|
|
@@ -10,7 +10,7 @@ import "google/protobuf/descriptor.proto";
|
|
|
10
10
|
|
|
11
11
|
package dxos.config;
|
|
12
12
|
|
|
13
|
-
option go_package = "github.com/dxos/
|
|
13
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/config";
|
|
14
14
|
|
|
15
15
|
extend google.protobuf.FieldOptions {
|
|
16
16
|
optional string env_var = 1000;
|
|
@@ -6,7 +6,7 @@ syntax = "proto3";
|
|
|
6
6
|
|
|
7
7
|
package dxos.halo.credentials;
|
|
8
8
|
|
|
9
|
-
option go_package = "github.com/dxos/
|
|
9
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/halo/credentials";
|
|
10
10
|
|
|
11
11
|
import "google/protobuf/any.proto";
|
|
12
12
|
import "google/protobuf/struct.proto";
|
|
@@ -11,7 +11,7 @@ import "google/protobuf/timestamp.proto";
|
|
|
11
11
|
|
|
12
12
|
package dxos.mesh.signal;
|
|
13
13
|
|
|
14
|
-
option go_package = "github.com/dxos/
|
|
14
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/mesh/signal";
|
|
15
15
|
|
|
16
16
|
message JoinRequest {
|
|
17
17
|
bytes swarm = 1;
|
package/src/proto/dxos/rpc.proto
CHANGED
|
@@ -10,7 +10,7 @@ import "dxos/error.proto";
|
|
|
10
10
|
// TODO(burdon): Move to `dxos.mesh.rpc` (reconcile with @dxos/kube repo).
|
|
11
11
|
package dxos.rpc;
|
|
12
12
|
|
|
13
|
-
option go_package = "github.com/dxos/
|
|
13
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/rpc";
|
|
14
14
|
|
|
15
15
|
message RpcMessage {
|
|
16
16
|
oneof content {
|
|
@@ -76,4 +76,4 @@ message MessageTrace {
|
|
|
76
76
|
*/
|
|
77
77
|
message Bye {
|
|
78
78
|
|
|
79
|
-
}
|
|
79
|
+
}
|
|
@@ -12,7 +12,7 @@ import "dxos/keys.proto";
|
|
|
12
12
|
|
|
13
13
|
package dxos.service.agentmanager;
|
|
14
14
|
|
|
15
|
-
option go_package = "github.com/dxos/
|
|
15
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/service/agentmanager";
|
|
16
16
|
|
|
17
17
|
message InitAuthSequenceRequest {
|
|
18
18
|
// Auth token for the agentmanager to validate authorization.
|
|
@@ -10,7 +10,7 @@ import "dxos/config.proto";
|
|
|
10
10
|
|
|
11
11
|
package dxos.service.publisher;
|
|
12
12
|
|
|
13
|
-
option go_package = "github.com/dxos/
|
|
13
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/service/publisher";
|
|
14
14
|
|
|
15
15
|
message PublishRequest {
|
|
16
16
|
dxos.config.Package package = 1;
|
|
@@ -11,7 +11,7 @@ import "dxos/keys.proto";
|
|
|
11
11
|
|
|
12
12
|
package dxos.service.supervisor;
|
|
13
13
|
|
|
14
|
-
option go_package = "github.com/dxos/
|
|
14
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/service/supervisor";
|
|
15
15
|
|
|
16
16
|
//
|
|
17
17
|
// Basic methods to operate with KUBE core, inc. authentication & configuration.
|
|
@@ -8,7 +8,7 @@ import "google/protobuf/empty.proto";
|
|
|
8
8
|
|
|
9
9
|
package dxos.service.tunnel;
|
|
10
10
|
|
|
11
|
-
option go_package = "github.com/dxos/
|
|
11
|
+
option go_package = "github.com/dxos/dxos/proto/def/dxos/service/tunnel";
|
|
12
12
|
|
|
13
13
|
message TunnelRequest {
|
|
14
14
|
string name = 1;
|
|
@@ -9,7 +9,7 @@ import "google/protobuf/empty.proto";
|
|
|
9
9
|
|
|
10
10
|
package example.testing.rpc;
|
|
11
11
|
|
|
12
|
-
option go_package = "github.com/dxos/
|
|
12
|
+
option go_package = "github.com/dxos/dxos/proto/def/example/testing/rpc";
|
|
13
13
|
|
|
14
14
|
message TestRpcRequest {
|
|
15
15
|
string data = 1;
|
|
@@ -66,4 +66,4 @@ message MessageWithAny {
|
|
|
66
66
|
|
|
67
67
|
service TestAnyService {
|
|
68
68
|
rpc TestCall (MessageWithAny) returns (MessageWithAny);
|
|
69
|
-
}
|
|
69
|
+
}
|
|
@@ -247,6 +247,183 @@ export namespace Invitation {
|
|
|
247
247
|
EXPIRED = 9
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* Defined in:
|
|
252
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
253
|
+
*/
|
|
254
|
+
export interface Metrics {
|
|
255
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
256
|
+
values?: Metrics.KeyPair[];
|
|
257
|
+
}
|
|
258
|
+
export namespace Metrics {
|
|
259
|
+
/**
|
|
260
|
+
* Defined in:
|
|
261
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
262
|
+
*/
|
|
263
|
+
export interface KeyPair {
|
|
264
|
+
/**
|
|
265
|
+
* Options:
|
|
266
|
+
* - proto3_optional = true
|
|
267
|
+
*/
|
|
268
|
+
key?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Options:
|
|
271
|
+
* - proto3_optional = true
|
|
272
|
+
*/
|
|
273
|
+
value?: dxos_value.Value;
|
|
274
|
+
/**
|
|
275
|
+
* Options:
|
|
276
|
+
* - proto3_optional = true
|
|
277
|
+
*/
|
|
278
|
+
stats?: dxos_value.Stats;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Defined in:
|
|
283
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
284
|
+
*/
|
|
285
|
+
export interface ControlMetricsRequest {
|
|
286
|
+
/**
|
|
287
|
+
* Options:
|
|
288
|
+
* - proto3_optional = true
|
|
289
|
+
*/
|
|
290
|
+
reset?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Options:
|
|
293
|
+
* - proto3_optional = true
|
|
294
|
+
*/
|
|
295
|
+
record?: boolean;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Defined in:
|
|
299
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
300
|
+
*/
|
|
301
|
+
export interface ControlMetricsResponse {
|
|
302
|
+
/**
|
|
303
|
+
* Options:
|
|
304
|
+
* - proto3_optional = true
|
|
305
|
+
*/
|
|
306
|
+
recording?: boolean;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Defined in:
|
|
310
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
311
|
+
*/
|
|
312
|
+
export interface QueryMetricsRequest {
|
|
313
|
+
/**
|
|
314
|
+
* Options:
|
|
315
|
+
* - proto3_optional = true
|
|
316
|
+
*/
|
|
317
|
+
interval?: number;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Defined in:
|
|
321
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
322
|
+
*/
|
|
323
|
+
export interface QueryMetricsResponse {
|
|
324
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
325
|
+
metrics: Metrics;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Defined in:
|
|
329
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
330
|
+
*/
|
|
331
|
+
export enum LogLevel {
|
|
332
|
+
NONE = 0,
|
|
333
|
+
TRACE = 5,
|
|
334
|
+
DEBUG = 10,
|
|
335
|
+
INFO = 11,
|
|
336
|
+
WARN = 12,
|
|
337
|
+
ERROR = 13
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Defined in:
|
|
341
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
342
|
+
*/
|
|
343
|
+
export interface QueryLogsRequest {
|
|
344
|
+
filters?: QueryLogsRequest.Filter[];
|
|
345
|
+
/**
|
|
346
|
+
* Options:
|
|
347
|
+
* - proto3_optional = true
|
|
348
|
+
*/
|
|
349
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
350
|
+
}
|
|
351
|
+
export namespace QueryLogsRequest {
|
|
352
|
+
/**
|
|
353
|
+
* Defined in:
|
|
354
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
355
|
+
*/
|
|
356
|
+
export enum MatchingOptions {
|
|
357
|
+
NONE = 0,
|
|
358
|
+
INCLUSIVE = 1,
|
|
359
|
+
EXPLICIT = 2
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Defined in:
|
|
363
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
364
|
+
*/
|
|
365
|
+
export interface Filter {
|
|
366
|
+
level: LogLevel;
|
|
367
|
+
/**
|
|
368
|
+
* Options:
|
|
369
|
+
* - proto3_optional = true
|
|
370
|
+
*/
|
|
371
|
+
pattern?: string;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Defined in:
|
|
376
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
377
|
+
*/
|
|
378
|
+
export interface LogEntry {
|
|
379
|
+
level: LogLevel;
|
|
380
|
+
message: string;
|
|
381
|
+
/**
|
|
382
|
+
* Options:
|
|
383
|
+
* - proto3_optional = true
|
|
384
|
+
*/
|
|
385
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
386
|
+
/**
|
|
387
|
+
* Options:
|
|
388
|
+
* - proto3_optional = true
|
|
389
|
+
*/
|
|
390
|
+
meta?: LogEntry.Meta;
|
|
391
|
+
/**
|
|
392
|
+
* Options:
|
|
393
|
+
* - proto3_optional = true
|
|
394
|
+
*/
|
|
395
|
+
error?: dxos_error.Error;
|
|
396
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
397
|
+
}
|
|
398
|
+
export namespace LogEntry {
|
|
399
|
+
/**
|
|
400
|
+
* Defined in:
|
|
401
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
402
|
+
*/
|
|
403
|
+
export interface Meta {
|
|
404
|
+
file: string;
|
|
405
|
+
line: number;
|
|
406
|
+
/**
|
|
407
|
+
* Options:
|
|
408
|
+
* - proto3_optional = true
|
|
409
|
+
*/
|
|
410
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
411
|
+
/**
|
|
412
|
+
* Options:
|
|
413
|
+
* - proto3_optional = true
|
|
414
|
+
*/
|
|
415
|
+
resourceId?: number;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Defined in:
|
|
420
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
421
|
+
*/
|
|
422
|
+
export interface LoggingService {
|
|
423
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
424
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
425
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
426
|
+
}
|
|
250
427
|
/**
|
|
251
428
|
* Defined in:
|
|
252
429
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -1052,180 +1229,3 @@ export interface NetworkService {
|
|
|
1052
1229
|
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
1053
1230
|
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
1054
1231
|
}
|
|
1055
|
-
/**
|
|
1056
|
-
* Defined in:
|
|
1057
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1058
|
-
*/
|
|
1059
|
-
export interface Metrics {
|
|
1060
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1061
|
-
values?: Metrics.KeyPair[];
|
|
1062
|
-
}
|
|
1063
|
-
export namespace Metrics {
|
|
1064
|
-
/**
|
|
1065
|
-
* Defined in:
|
|
1066
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1067
|
-
*/
|
|
1068
|
-
export interface KeyPair {
|
|
1069
|
-
/**
|
|
1070
|
-
* Options:
|
|
1071
|
-
* - proto3_optional = true
|
|
1072
|
-
*/
|
|
1073
|
-
key?: string;
|
|
1074
|
-
/**
|
|
1075
|
-
* Options:
|
|
1076
|
-
* - proto3_optional = true
|
|
1077
|
-
*/
|
|
1078
|
-
value?: dxos_value.Value;
|
|
1079
|
-
/**
|
|
1080
|
-
* Options:
|
|
1081
|
-
* - proto3_optional = true
|
|
1082
|
-
*/
|
|
1083
|
-
stats?: dxos_value.Stats;
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
/**
|
|
1087
|
-
* Defined in:
|
|
1088
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1089
|
-
*/
|
|
1090
|
-
export interface ControlMetricsRequest {
|
|
1091
|
-
/**
|
|
1092
|
-
* Options:
|
|
1093
|
-
* - proto3_optional = true
|
|
1094
|
-
*/
|
|
1095
|
-
reset?: boolean;
|
|
1096
|
-
/**
|
|
1097
|
-
* Options:
|
|
1098
|
-
* - proto3_optional = true
|
|
1099
|
-
*/
|
|
1100
|
-
record?: boolean;
|
|
1101
|
-
}
|
|
1102
|
-
/**
|
|
1103
|
-
* Defined in:
|
|
1104
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1105
|
-
*/
|
|
1106
|
-
export interface ControlMetricsResponse {
|
|
1107
|
-
/**
|
|
1108
|
-
* Options:
|
|
1109
|
-
* - proto3_optional = true
|
|
1110
|
-
*/
|
|
1111
|
-
recording?: boolean;
|
|
1112
|
-
}
|
|
1113
|
-
/**
|
|
1114
|
-
* Defined in:
|
|
1115
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1116
|
-
*/
|
|
1117
|
-
export interface QueryMetricsRequest {
|
|
1118
|
-
/**
|
|
1119
|
-
* Options:
|
|
1120
|
-
* - proto3_optional = true
|
|
1121
|
-
*/
|
|
1122
|
-
interval?: number;
|
|
1123
|
-
}
|
|
1124
|
-
/**
|
|
1125
|
-
* Defined in:
|
|
1126
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1127
|
-
*/
|
|
1128
|
-
export interface QueryMetricsResponse {
|
|
1129
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1130
|
-
metrics: Metrics;
|
|
1131
|
-
}
|
|
1132
|
-
/**
|
|
1133
|
-
* Defined in:
|
|
1134
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1135
|
-
*/
|
|
1136
|
-
export enum LogLevel {
|
|
1137
|
-
NONE = 0,
|
|
1138
|
-
TRACE = 5,
|
|
1139
|
-
DEBUG = 10,
|
|
1140
|
-
INFO = 11,
|
|
1141
|
-
WARN = 12,
|
|
1142
|
-
ERROR = 13
|
|
1143
|
-
}
|
|
1144
|
-
/**
|
|
1145
|
-
* Defined in:
|
|
1146
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1147
|
-
*/
|
|
1148
|
-
export interface QueryLogsRequest {
|
|
1149
|
-
filters?: QueryLogsRequest.Filter[];
|
|
1150
|
-
/**
|
|
1151
|
-
* Options:
|
|
1152
|
-
* - proto3_optional = true
|
|
1153
|
-
*/
|
|
1154
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
1155
|
-
}
|
|
1156
|
-
export namespace QueryLogsRequest {
|
|
1157
|
-
/**
|
|
1158
|
-
* Defined in:
|
|
1159
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1160
|
-
*/
|
|
1161
|
-
export enum MatchingOptions {
|
|
1162
|
-
NONE = 0,
|
|
1163
|
-
INCLUSIVE = 1,
|
|
1164
|
-
EXPLICIT = 2
|
|
1165
|
-
}
|
|
1166
|
-
/**
|
|
1167
|
-
* Defined in:
|
|
1168
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1169
|
-
*/
|
|
1170
|
-
export interface Filter {
|
|
1171
|
-
level: LogLevel;
|
|
1172
|
-
/**
|
|
1173
|
-
* Options:
|
|
1174
|
-
* - proto3_optional = true
|
|
1175
|
-
*/
|
|
1176
|
-
pattern?: string;
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
/**
|
|
1180
|
-
* Defined in:
|
|
1181
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1182
|
-
*/
|
|
1183
|
-
export interface LogEntry {
|
|
1184
|
-
level: LogLevel;
|
|
1185
|
-
message: string;
|
|
1186
|
-
/**
|
|
1187
|
-
* Options:
|
|
1188
|
-
* - proto3_optional = true
|
|
1189
|
-
*/
|
|
1190
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1191
|
-
/**
|
|
1192
|
-
* Options:
|
|
1193
|
-
* - proto3_optional = true
|
|
1194
|
-
*/
|
|
1195
|
-
meta?: LogEntry.Meta;
|
|
1196
|
-
/**
|
|
1197
|
-
* Options:
|
|
1198
|
-
* - proto3_optional = true
|
|
1199
|
-
*/
|
|
1200
|
-
error?: dxos_error.Error;
|
|
1201
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1202
|
-
}
|
|
1203
|
-
export namespace LogEntry {
|
|
1204
|
-
/**
|
|
1205
|
-
* Defined in:
|
|
1206
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1207
|
-
*/
|
|
1208
|
-
export interface Meta {
|
|
1209
|
-
file: string;
|
|
1210
|
-
line: number;
|
|
1211
|
-
/**
|
|
1212
|
-
* Options:
|
|
1213
|
-
* - proto3_optional = true
|
|
1214
|
-
*/
|
|
1215
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1216
|
-
/**
|
|
1217
|
-
* Options:
|
|
1218
|
-
* - proto3_optional = true
|
|
1219
|
-
*/
|
|
1220
|
-
resourceId?: number;
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
/**
|
|
1224
|
-
* Defined in:
|
|
1225
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1226
|
-
*/
|
|
1227
|
-
export interface LoggingService {
|
|
1228
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1229
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1230
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1231
|
-
}
|