@gitpod/supervisor-api-grpc 0.1.5-minor-updates.0 → 0.1.5-mp-configcat-demo.6
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/lib/control_grpc_pb.d.ts +20 -3
- package/lib/control_grpc_pb.js +34 -0
- package/lib/control_pb.d.ts +37 -5
- package/lib/control_pb.js +284 -33
- package/lib/info_grpc_pb.d.ts +3 -3
- package/lib/info_pb.d.ts +42 -15
- package/lib/info_pb.js +361 -2
- package/lib/notification_grpc_pb.d.ts +3 -3
- package/lib/notification_pb.d.ts +0 -8
- package/lib/notification_pb.js +7 -1
- package/lib/port_grpc_pb.d.ts +108 -0
- package/lib/port_grpc_pb.js +187 -0
- package/lib/port_pb.d.ts +232 -0
- package/lib/port_pb.js +1672 -0
- package/lib/status_grpc_pb.d.ts +4 -3
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +86 -27
- package/lib/status_pb.js +671 -34
- package/lib/terminal_grpc_pb.d.ts +37 -3
- package/lib/terminal_grpc_pb.js +68 -0
- package/lib/terminal_pb.d.ts +103 -45
- package/lib/terminal_pb.js +747 -3
- package/lib/token_grpc_pb.d.ts +3 -3
- package/lib/token_pb.d.ts +4 -30
- package/lib/token_pb.js +7 -1
- package/package.json +10 -8
- package/pkg-yarn.lock +3 -3
- package/provenance-bundle.jsonl +4 -0
package/lib/info_pb.js
CHANGED
|
@@ -13,11 +13,18 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse', null, global);
|
|
20
26
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.GitpodAPI', null, global);
|
|
27
|
+
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.Repository', null, global);
|
|
21
28
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.WorkspaceLocationCase', null, global);
|
|
22
29
|
/**
|
|
23
30
|
* Generated by JsPbCodeGenerator.
|
|
@@ -82,6 +89,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
82
89
|
*/
|
|
83
90
|
proto.supervisor.WorkspaceInfoResponse.GitpodAPI.displayName = 'proto.supervisor.WorkspaceInfoResponse.GitpodAPI';
|
|
84
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Generated by JsPbCodeGenerator.
|
|
94
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
95
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
96
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
97
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
98
|
+
* valid.
|
|
99
|
+
* @extends {jspb.Message}
|
|
100
|
+
* @constructor
|
|
101
|
+
*/
|
|
102
|
+
proto.supervisor.WorkspaceInfoResponse.Repository = function(opt_data) {
|
|
103
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
104
|
+
};
|
|
105
|
+
goog.inherits(proto.supervisor.WorkspaceInfoResponse.Repository, jspb.Message);
|
|
106
|
+
if (goog.DEBUG && !COMPILED) {
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @override
|
|
110
|
+
*/
|
|
111
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.displayName = 'proto.supervisor.WorkspaceInfoResponse.Repository';
|
|
112
|
+
}
|
|
85
113
|
|
|
86
114
|
|
|
87
115
|
|
|
@@ -249,7 +277,12 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
|
|
|
249
277
|
userHome: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
250
278
|
gitpodApi: (f = msg.getGitpodApi()) && proto.supervisor.WorkspaceInfoResponse.GitpodAPI.toObject(includeInstance, f),
|
|
251
279
|
gitpodHost: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
252
|
-
workspaceContextUrl: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
280
|
+
workspaceContextUrl: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
281
|
+
repository: (f = msg.getRepository()) && proto.supervisor.WorkspaceInfoResponse.Repository.toObject(includeInstance, f),
|
|
282
|
+
workspaceClusterHost: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
283
|
+
workspaceUrl: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
284
|
+
ideAlias: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
285
|
+
idePort: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
253
286
|
};
|
|
254
287
|
|
|
255
288
|
if (includeInstance) {
|
|
@@ -323,6 +356,27 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
|
|
|
323
356
|
var value = /** @type {string} */ (reader.readString());
|
|
324
357
|
msg.setWorkspaceContextUrl(value);
|
|
325
358
|
break;
|
|
359
|
+
case 10:
|
|
360
|
+
var value = new proto.supervisor.WorkspaceInfoResponse.Repository;
|
|
361
|
+
reader.readMessage(value,proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader);
|
|
362
|
+
msg.setRepository(value);
|
|
363
|
+
break;
|
|
364
|
+
case 11:
|
|
365
|
+
var value = /** @type {string} */ (reader.readString());
|
|
366
|
+
msg.setWorkspaceClusterHost(value);
|
|
367
|
+
break;
|
|
368
|
+
case 12:
|
|
369
|
+
var value = /** @type {string} */ (reader.readString());
|
|
370
|
+
msg.setWorkspaceUrl(value);
|
|
371
|
+
break;
|
|
372
|
+
case 13:
|
|
373
|
+
var value = /** @type {string} */ (reader.readString());
|
|
374
|
+
msg.setIdeAlias(value);
|
|
375
|
+
break;
|
|
376
|
+
case 14:
|
|
377
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
378
|
+
msg.setIdePort(value);
|
|
379
|
+
break;
|
|
326
380
|
default:
|
|
327
381
|
reader.skipField();
|
|
328
382
|
break;
|
|
@@ -416,6 +470,42 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
416
470
|
f
|
|
417
471
|
);
|
|
418
472
|
}
|
|
473
|
+
f = message.getRepository();
|
|
474
|
+
if (f != null) {
|
|
475
|
+
writer.writeMessage(
|
|
476
|
+
10,
|
|
477
|
+
f,
|
|
478
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter
|
|
479
|
+
);
|
|
480
|
+
}
|
|
481
|
+
f = message.getWorkspaceClusterHost();
|
|
482
|
+
if (f.length > 0) {
|
|
483
|
+
writer.writeString(
|
|
484
|
+
11,
|
|
485
|
+
f
|
|
486
|
+
);
|
|
487
|
+
}
|
|
488
|
+
f = message.getWorkspaceUrl();
|
|
489
|
+
if (f.length > 0) {
|
|
490
|
+
writer.writeString(
|
|
491
|
+
12,
|
|
492
|
+
f
|
|
493
|
+
);
|
|
494
|
+
}
|
|
495
|
+
f = message.getIdeAlias();
|
|
496
|
+
if (f.length > 0) {
|
|
497
|
+
writer.writeString(
|
|
498
|
+
13,
|
|
499
|
+
f
|
|
500
|
+
);
|
|
501
|
+
}
|
|
502
|
+
f = message.getIdePort();
|
|
503
|
+
if (f !== 0) {
|
|
504
|
+
writer.writeUint32(
|
|
505
|
+
14,
|
|
506
|
+
f
|
|
507
|
+
);
|
|
508
|
+
}
|
|
419
509
|
};
|
|
420
510
|
|
|
421
511
|
|
|
@@ -579,6 +669,166 @@ proto.supervisor.WorkspaceInfoResponse.GitpodAPI.prototype.setHost = function(va
|
|
|
579
669
|
};
|
|
580
670
|
|
|
581
671
|
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
676
|
+
/**
|
|
677
|
+
* Creates an object representation of this proto.
|
|
678
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
679
|
+
* Optional fields that are not set will be set to undefined.
|
|
680
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
681
|
+
* For the list of reserved names please see:
|
|
682
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
683
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
684
|
+
* JSPB instance for transitional soy proto support:
|
|
685
|
+
* http://goto/soy-param-migration
|
|
686
|
+
* @return {!Object}
|
|
687
|
+
*/
|
|
688
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.toObject = function(opt_includeInstance) {
|
|
689
|
+
return proto.supervisor.WorkspaceInfoResponse.Repository.toObject(opt_includeInstance, this);
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Static version of the {@see toObject} method.
|
|
695
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
696
|
+
* the JSPB instance for transitional soy proto support:
|
|
697
|
+
* http://goto/soy-param-migration
|
|
698
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} msg The msg instance to transform.
|
|
699
|
+
* @return {!Object}
|
|
700
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
701
|
+
*/
|
|
702
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.toObject = function(includeInstance, msg) {
|
|
703
|
+
var f, obj = {
|
|
704
|
+
owner: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
705
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
if (includeInstance) {
|
|
709
|
+
obj.$jspbMessageInstance = msg;
|
|
710
|
+
}
|
|
711
|
+
return obj;
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Deserializes binary data (in protobuf wire format).
|
|
718
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
719
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
720
|
+
*/
|
|
721
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinary = function(bytes) {
|
|
722
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
723
|
+
var msg = new proto.supervisor.WorkspaceInfoResponse.Repository;
|
|
724
|
+
return proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader(msg, reader);
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
730
|
+
* given reader into the given message object.
|
|
731
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} msg The message object to deserialize into.
|
|
732
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
733
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
734
|
+
*/
|
|
735
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.deserializeBinaryFromReader = function(msg, reader) {
|
|
736
|
+
while (reader.nextField()) {
|
|
737
|
+
if (reader.isEndGroup()) {
|
|
738
|
+
break;
|
|
739
|
+
}
|
|
740
|
+
var field = reader.getFieldNumber();
|
|
741
|
+
switch (field) {
|
|
742
|
+
case 1:
|
|
743
|
+
var value = /** @type {string} */ (reader.readString());
|
|
744
|
+
msg.setOwner(value);
|
|
745
|
+
break;
|
|
746
|
+
case 2:
|
|
747
|
+
var value = /** @type {string} */ (reader.readString());
|
|
748
|
+
msg.setName(value);
|
|
749
|
+
break;
|
|
750
|
+
default:
|
|
751
|
+
reader.skipField();
|
|
752
|
+
break;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
return msg;
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
761
|
+
* @return {!Uint8Array}
|
|
762
|
+
*/
|
|
763
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.serializeBinary = function() {
|
|
764
|
+
var writer = new jspb.BinaryWriter();
|
|
765
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter(this, writer);
|
|
766
|
+
return writer.getResultBuffer();
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
772
|
+
* format), writing to the given BinaryWriter.
|
|
773
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.Repository} message
|
|
774
|
+
* @param {!jspb.BinaryWriter} writer
|
|
775
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
776
|
+
*/
|
|
777
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.serializeBinaryToWriter = function(message, writer) {
|
|
778
|
+
var f = undefined;
|
|
779
|
+
f = message.getOwner();
|
|
780
|
+
if (f.length > 0) {
|
|
781
|
+
writer.writeString(
|
|
782
|
+
1,
|
|
783
|
+
f
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
f = message.getName();
|
|
787
|
+
if (f.length > 0) {
|
|
788
|
+
writer.writeString(
|
|
789
|
+
2,
|
|
790
|
+
f
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* optional string owner = 1;
|
|
798
|
+
* @return {string}
|
|
799
|
+
*/
|
|
800
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.getOwner = function() {
|
|
801
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* @param {string} value
|
|
807
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository} returns this
|
|
808
|
+
*/
|
|
809
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setOwner = function(value) {
|
|
810
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* optional string name = 2;
|
|
816
|
+
* @return {string}
|
|
817
|
+
*/
|
|
818
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.getName = function() {
|
|
819
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* @param {string} value
|
|
825
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.Repository} returns this
|
|
826
|
+
*/
|
|
827
|
+
proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setName = function(value) {
|
|
828
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
|
|
582
832
|
/**
|
|
583
833
|
* optional string workspace_id = 1;
|
|
584
834
|
* @return {string}
|
|
@@ -796,4 +1046,113 @@ proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceContextUrl = functi
|
|
|
796
1046
|
};
|
|
797
1047
|
|
|
798
1048
|
|
|
1049
|
+
/**
|
|
1050
|
+
* optional Repository repository = 10;
|
|
1051
|
+
* @return {?proto.supervisor.WorkspaceInfoResponse.Repository}
|
|
1052
|
+
*/
|
|
1053
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getRepository = function() {
|
|
1054
|
+
return /** @type{?proto.supervisor.WorkspaceInfoResponse.Repository} */ (
|
|
1055
|
+
jspb.Message.getWrapperField(this, proto.supervisor.WorkspaceInfoResponse.Repository, 10));
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* @param {?proto.supervisor.WorkspaceInfoResponse.Repository|undefined} value
|
|
1061
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1062
|
+
*/
|
|
1063
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setRepository = function(value) {
|
|
1064
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Clears the message field making it undefined.
|
|
1070
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1071
|
+
*/
|
|
1072
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.clearRepository = function() {
|
|
1073
|
+
return this.setRepository(undefined);
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Returns whether this field is set.
|
|
1079
|
+
* @return {boolean}
|
|
1080
|
+
*/
|
|
1081
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.hasRepository = function() {
|
|
1082
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* optional string workspace_cluster_host = 11;
|
|
1088
|
+
* @return {string}
|
|
1089
|
+
*/
|
|
1090
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceClusterHost = function() {
|
|
1091
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* @param {string} value
|
|
1097
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1098
|
+
*/
|
|
1099
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceClusterHost = function(value) {
|
|
1100
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* optional string workspace_url = 12;
|
|
1106
|
+
* @return {string}
|
|
1107
|
+
*/
|
|
1108
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceUrl = function() {
|
|
1109
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* @param {string} value
|
|
1115
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1116
|
+
*/
|
|
1117
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceUrl = function(value) {
|
|
1118
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* optional string ide_alias = 13;
|
|
1124
|
+
* @return {string}
|
|
1125
|
+
*/
|
|
1126
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getIdeAlias = function() {
|
|
1127
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @param {string} value
|
|
1133
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1134
|
+
*/
|
|
1135
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setIdeAlias = function(value) {
|
|
1136
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* optional uint32 ide_port = 14;
|
|
1142
|
+
* @return {number}
|
|
1143
|
+
*/
|
|
1144
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getIdePort = function() {
|
|
1145
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* @param {number} value
|
|
1151
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1152
|
+
*/
|
|
1153
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setIdePort = function(value) {
|
|
1154
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
|
|
799
1158
|
goog.object.extend(exports, proto.supervisor);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
|
|
7
|
-
import * as grpc from "grpc";
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
8
8
|
import * as notification_pb from "./notification_pb";
|
|
9
9
|
|
|
10
10
|
interface INotificationServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
@@ -43,7 +43,7 @@ interface INotificationServiceService_IRespond extends grpc.MethodDefinition<not
|
|
|
43
43
|
|
|
44
44
|
export const NotificationServiceService: INotificationServiceService;
|
|
45
45
|
|
|
46
|
-
export interface INotificationServiceServer {
|
|
46
|
+
export interface INotificationServiceServer extends grpc.UntypedServiceImplementation {
|
|
47
47
|
notify: grpc.handleUnaryCall<notification_pb.NotifyRequest, notification_pb.NotifyResponse>;
|
|
48
48
|
subscribe: grpc.handleServerStreamingCall<notification_pb.SubscribeRequest, notification_pb.SubscribeResponse>;
|
|
49
49
|
respond: grpc.handleUnaryCall<notification_pb.RespondRequest, notification_pb.RespondResponse>;
|
|
@@ -61,7 +61,7 @@ export interface INotificationServiceClient {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export class NotificationServiceClient extends grpc.Client implements INotificationServiceClient {
|
|
64
|
-
constructor(address: string, credentials: grpc.ChannelCredentials, options?:
|
|
64
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
65
65
|
public notify(request: notification_pb.NotifyRequest, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
66
66
|
public notify(request: notification_pb.NotifyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
67
67
|
public notify(request: notification_pb.NotifyRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
package/lib/notification_pb.d.ts
CHANGED
|
@@ -9,16 +9,13 @@ import * as jspb from "google-protobuf";
|
|
|
9
9
|
export class NotifyRequest extends jspb.Message {
|
|
10
10
|
getLevel(): NotifyRequest.Level;
|
|
11
11
|
setLevel(value: NotifyRequest.Level): NotifyRequest;
|
|
12
|
-
|
|
13
12
|
getMessage(): string;
|
|
14
13
|
setMessage(value: string): NotifyRequest;
|
|
15
|
-
|
|
16
14
|
clearActionsList(): void;
|
|
17
15
|
getActionsList(): Array<string>;
|
|
18
16
|
setActionsList(value: Array<string>): NotifyRequest;
|
|
19
17
|
addActions(value: string, index?: number): string;
|
|
20
18
|
|
|
21
|
-
|
|
22
19
|
serializeBinary(): Uint8Array;
|
|
23
20
|
toObject(includeInstance?: boolean): NotifyRequest.AsObject;
|
|
24
21
|
static toObject(includeInstance: boolean, msg: NotifyRequest): NotifyRequest.AsObject;
|
|
@@ -48,7 +45,6 @@ export class NotifyResponse extends jspb.Message {
|
|
|
48
45
|
getAction(): string;
|
|
49
46
|
setAction(value: string): NotifyResponse;
|
|
50
47
|
|
|
51
|
-
|
|
52
48
|
serializeBinary(): Uint8Array;
|
|
53
49
|
toObject(includeInstance?: boolean): NotifyResponse.AsObject;
|
|
54
50
|
static toObject(includeInstance: boolean, msg: NotifyResponse): NotifyResponse.AsObject;
|
|
@@ -86,13 +82,11 @@ export class SubscribeResponse extends jspb.Message {
|
|
|
86
82
|
getRequestid(): number;
|
|
87
83
|
setRequestid(value: number): SubscribeResponse;
|
|
88
84
|
|
|
89
|
-
|
|
90
85
|
hasRequest(): boolean;
|
|
91
86
|
clearRequest(): void;
|
|
92
87
|
getRequest(): NotifyRequest | undefined;
|
|
93
88
|
setRequest(value?: NotifyRequest): SubscribeResponse;
|
|
94
89
|
|
|
95
|
-
|
|
96
90
|
serializeBinary(): Uint8Array;
|
|
97
91
|
toObject(includeInstance?: boolean): SubscribeResponse.AsObject;
|
|
98
92
|
static toObject(includeInstance: boolean, msg: SubscribeResponse): SubscribeResponse.AsObject;
|
|
@@ -114,13 +108,11 @@ export class RespondRequest extends jspb.Message {
|
|
|
114
108
|
getRequestid(): number;
|
|
115
109
|
setRequestid(value: number): RespondRequest;
|
|
116
110
|
|
|
117
|
-
|
|
118
111
|
hasResponse(): boolean;
|
|
119
112
|
clearResponse(): void;
|
|
120
113
|
getResponse(): NotifyResponse | undefined;
|
|
121
114
|
setResponse(value?: NotifyResponse): RespondRequest;
|
|
122
115
|
|
|
123
|
-
|
|
124
116
|
serializeBinary(): Uint8Array;
|
|
125
117
|
toObject(includeInstance?: boolean): RespondRequest.AsObject;
|
|
126
118
|
static toObject(includeInstance: boolean, msg: RespondRequest): RespondRequest.AsObject;
|
package/lib/notification_pb.js
CHANGED
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
goog.exportSymbol('proto.supervisor.NotifyRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.supervisor.NotifyRequest.Level', null, global);
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// package: supervisor
|
|
2
|
+
// file: port.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
8
|
+
import * as port_pb from "./port_pb";
|
|
9
|
+
|
|
10
|
+
interface IPortServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
|
+
tunnel: IPortServiceService_ITunnel;
|
|
12
|
+
closeTunnel: IPortServiceService_ICloseTunnel;
|
|
13
|
+
establishTunnel: IPortServiceService_IEstablishTunnel;
|
|
14
|
+
autoTunnel: IPortServiceService_IAutoTunnel;
|
|
15
|
+
retryAutoExpose: IPortServiceService_IRetryAutoExpose;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface IPortServiceService_ITunnel extends grpc.MethodDefinition<port_pb.TunnelPortRequest, port_pb.TunnelPortResponse> {
|
|
19
|
+
path: "/supervisor.PortService/Tunnel";
|
|
20
|
+
requestStream: false;
|
|
21
|
+
responseStream: false;
|
|
22
|
+
requestSerialize: grpc.serialize<port_pb.TunnelPortRequest>;
|
|
23
|
+
requestDeserialize: grpc.deserialize<port_pb.TunnelPortRequest>;
|
|
24
|
+
responseSerialize: grpc.serialize<port_pb.TunnelPortResponse>;
|
|
25
|
+
responseDeserialize: grpc.deserialize<port_pb.TunnelPortResponse>;
|
|
26
|
+
}
|
|
27
|
+
interface IPortServiceService_ICloseTunnel extends grpc.MethodDefinition<port_pb.CloseTunnelRequest, port_pb.CloseTunnelResponse> {
|
|
28
|
+
path: "/supervisor.PortService/CloseTunnel";
|
|
29
|
+
requestStream: false;
|
|
30
|
+
responseStream: false;
|
|
31
|
+
requestSerialize: grpc.serialize<port_pb.CloseTunnelRequest>;
|
|
32
|
+
requestDeserialize: grpc.deserialize<port_pb.CloseTunnelRequest>;
|
|
33
|
+
responseSerialize: grpc.serialize<port_pb.CloseTunnelResponse>;
|
|
34
|
+
responseDeserialize: grpc.deserialize<port_pb.CloseTunnelResponse>;
|
|
35
|
+
}
|
|
36
|
+
interface IPortServiceService_IEstablishTunnel extends grpc.MethodDefinition<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse> {
|
|
37
|
+
path: "/supervisor.PortService/EstablishTunnel";
|
|
38
|
+
requestStream: true;
|
|
39
|
+
responseStream: true;
|
|
40
|
+
requestSerialize: grpc.serialize<port_pb.EstablishTunnelRequest>;
|
|
41
|
+
requestDeserialize: grpc.deserialize<port_pb.EstablishTunnelRequest>;
|
|
42
|
+
responseSerialize: grpc.serialize<port_pb.EstablishTunnelResponse>;
|
|
43
|
+
responseDeserialize: grpc.deserialize<port_pb.EstablishTunnelResponse>;
|
|
44
|
+
}
|
|
45
|
+
interface IPortServiceService_IAutoTunnel extends grpc.MethodDefinition<port_pb.AutoTunnelRequest, port_pb.AutoTunnelResponse> {
|
|
46
|
+
path: "/supervisor.PortService/AutoTunnel";
|
|
47
|
+
requestStream: false;
|
|
48
|
+
responseStream: false;
|
|
49
|
+
requestSerialize: grpc.serialize<port_pb.AutoTunnelRequest>;
|
|
50
|
+
requestDeserialize: grpc.deserialize<port_pb.AutoTunnelRequest>;
|
|
51
|
+
responseSerialize: grpc.serialize<port_pb.AutoTunnelResponse>;
|
|
52
|
+
responseDeserialize: grpc.deserialize<port_pb.AutoTunnelResponse>;
|
|
53
|
+
}
|
|
54
|
+
interface IPortServiceService_IRetryAutoExpose extends grpc.MethodDefinition<port_pb.RetryAutoExposeRequest, port_pb.RetryAutoExposeResponse> {
|
|
55
|
+
path: "/supervisor.PortService/RetryAutoExpose";
|
|
56
|
+
requestStream: false;
|
|
57
|
+
responseStream: false;
|
|
58
|
+
requestSerialize: grpc.serialize<port_pb.RetryAutoExposeRequest>;
|
|
59
|
+
requestDeserialize: grpc.deserialize<port_pb.RetryAutoExposeRequest>;
|
|
60
|
+
responseSerialize: grpc.serialize<port_pb.RetryAutoExposeResponse>;
|
|
61
|
+
responseDeserialize: grpc.deserialize<port_pb.RetryAutoExposeResponse>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export const PortServiceService: IPortServiceService;
|
|
65
|
+
|
|
66
|
+
export interface IPortServiceServer extends grpc.UntypedServiceImplementation {
|
|
67
|
+
tunnel: grpc.handleUnaryCall<port_pb.TunnelPortRequest, port_pb.TunnelPortResponse>;
|
|
68
|
+
closeTunnel: grpc.handleUnaryCall<port_pb.CloseTunnelRequest, port_pb.CloseTunnelResponse>;
|
|
69
|
+
establishTunnel: grpc.handleBidiStreamingCall<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
70
|
+
autoTunnel: grpc.handleUnaryCall<port_pb.AutoTunnelRequest, port_pb.AutoTunnelResponse>;
|
|
71
|
+
retryAutoExpose: grpc.handleUnaryCall<port_pb.RetryAutoExposeRequest, port_pb.RetryAutoExposeResponse>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface IPortServiceClient {
|
|
75
|
+
tunnel(request: port_pb.TunnelPortRequest, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
76
|
+
tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
77
|
+
tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
78
|
+
closeTunnel(request: port_pb.CloseTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
79
|
+
closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
80
|
+
closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
81
|
+
establishTunnel(): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
82
|
+
establishTunnel(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
83
|
+
establishTunnel(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
84
|
+
autoTunnel(request: port_pb.AutoTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
85
|
+
autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
86
|
+
autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
87
|
+
retryAutoExpose(request: port_pb.RetryAutoExposeRequest, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
88
|
+
retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
89
|
+
retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class PortServiceClient extends grpc.Client implements IPortServiceClient {
|
|
93
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
94
|
+
public tunnel(request: port_pb.TunnelPortRequest, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
95
|
+
public tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
96
|
+
public tunnel(request: port_pb.TunnelPortRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.TunnelPortResponse) => void): grpc.ClientUnaryCall;
|
|
97
|
+
public closeTunnel(request: port_pb.CloseTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
98
|
+
public closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
99
|
+
public closeTunnel(request: port_pb.CloseTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.CloseTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
100
|
+
public establishTunnel(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
101
|
+
public establishTunnel(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<port_pb.EstablishTunnelRequest, port_pb.EstablishTunnelResponse>;
|
|
102
|
+
public autoTunnel(request: port_pb.AutoTunnelRequest, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
103
|
+
public autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
104
|
+
public autoTunnel(request: port_pb.AutoTunnelRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.AutoTunnelResponse) => void): grpc.ClientUnaryCall;
|
|
105
|
+
public retryAutoExpose(request: port_pb.RetryAutoExposeRequest, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
106
|
+
public retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
107
|
+
public retryAutoExpose(request: port_pb.RetryAutoExposeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: port_pb.RetryAutoExposeResponse) => void): grpc.ClientUnaryCall;
|
|
108
|
+
}
|