@gitpod/supervisor-api-grpcweb 0.1.5-main.998 → 0.1.5-pd-test.35
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_pb.d.ts +0 -4
- package/lib/control_pb.js +8 -32
- package/lib/info_pb.d.ts +16 -0
- package/lib/info_pb.js +128 -2
- package/lib/notification_pb.js +7 -1
- package/lib/port_pb.d.ts +36 -0
- package/lib/port_pb.js +282 -1
- package/lib/port_pb_service.d.ts +19 -0
- package/lib/port_pb_service.js +40 -0
- package/lib/sshkey_pb.d.ts +41 -0
- package/lib/sshkey_pb.js +299 -0
- package/lib/sshkey_pb_service.d.ts +63 -0
- package/lib/sshkey_pb_service.js +61 -0
- package/lib/status_pb.d.ts +50 -4
- package/lib/status_pb.js +342 -33
- package/lib/terminal_pb.js +7 -1
- package/lib/token_pb.js +7 -1
- package/package.json +6 -3
- package/pkg-yarn.lock +3 -1
package/lib/status_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
|
var port_pb = require('./port_pb.js');
|
|
19
25
|
goog.object.extend(proto, port_pb);
|
|
@@ -25,7 +31,9 @@ goog.exportSymbol('proto.supervisor.ContentStatusResponse', null, global);
|
|
|
25
31
|
goog.exportSymbol('proto.supervisor.ExposedPortInfo', null, global);
|
|
26
32
|
goog.exportSymbol('proto.supervisor.IDEStatusRequest', null, global);
|
|
27
33
|
goog.exportSymbol('proto.supervisor.IDEStatusResponse', null, global);
|
|
34
|
+
goog.exportSymbol('proto.supervisor.IDEStatusResponse.DesktopStatus', null, global);
|
|
28
35
|
goog.exportSymbol('proto.supervisor.OnPortExposedAction', null, global);
|
|
36
|
+
goog.exportSymbol('proto.supervisor.PortAutoExposure', null, global);
|
|
29
37
|
goog.exportSymbol('proto.supervisor.PortVisibility', null, global);
|
|
30
38
|
goog.exportSymbol('proto.supervisor.PortsStatus', null, global);
|
|
31
39
|
goog.exportSymbol('proto.supervisor.PortsStatusRequest', null, global);
|
|
@@ -122,6 +130,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
122
130
|
*/
|
|
123
131
|
proto.supervisor.IDEStatusResponse.displayName = 'proto.supervisor.IDEStatusResponse';
|
|
124
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* Generated by JsPbCodeGenerator.
|
|
135
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
136
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
137
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
138
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
139
|
+
* valid.
|
|
140
|
+
* @extends {jspb.Message}
|
|
141
|
+
* @constructor
|
|
142
|
+
*/
|
|
143
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus = function(opt_data) {
|
|
144
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
145
|
+
};
|
|
146
|
+
goog.inherits(proto.supervisor.IDEStatusResponse.DesktopStatus, jspb.Message);
|
|
147
|
+
if (goog.DEBUG && !COMPILED) {
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
* @override
|
|
151
|
+
*/
|
|
152
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.displayName = 'proto.supervisor.IDEStatusResponse.DesktopStatus';
|
|
153
|
+
}
|
|
125
154
|
/**
|
|
126
155
|
* Generated by JsPbCodeGenerator.
|
|
127
156
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -788,7 +817,8 @@ proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInst
|
|
|
788
817
|
*/
|
|
789
818
|
proto.supervisor.IDEStatusResponse.toObject = function(includeInstance, msg) {
|
|
790
819
|
var f, obj = {
|
|
791
|
-
ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
820
|
+
ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
821
|
+
desktop: (f = msg.getDesktop()) && proto.supervisor.IDEStatusResponse.DesktopStatus.toObject(includeInstance, f)
|
|
792
822
|
};
|
|
793
823
|
|
|
794
824
|
if (includeInstance) {
|
|
@@ -829,6 +859,11 @@ proto.supervisor.IDEStatusResponse.deserializeBinaryFromReader = function(msg, r
|
|
|
829
859
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
830
860
|
msg.setOk(value);
|
|
831
861
|
break;
|
|
862
|
+
case 2:
|
|
863
|
+
var value = new proto.supervisor.IDEStatusResponse.DesktopStatus;
|
|
864
|
+
reader.readMessage(value,proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader);
|
|
865
|
+
msg.setDesktop(value);
|
|
866
|
+
break;
|
|
832
867
|
default:
|
|
833
868
|
reader.skipField();
|
|
834
869
|
break;
|
|
@@ -865,6 +900,174 @@ proto.supervisor.IDEStatusResponse.serializeBinaryToWriter = function(message, w
|
|
|
865
900
|
f
|
|
866
901
|
);
|
|
867
902
|
}
|
|
903
|
+
f = message.getDesktop();
|
|
904
|
+
if (f != null) {
|
|
905
|
+
writer.writeMessage(
|
|
906
|
+
2,
|
|
907
|
+
f,
|
|
908
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter
|
|
909
|
+
);
|
|
910
|
+
}
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
918
|
+
/**
|
|
919
|
+
* Creates an object representation of this proto.
|
|
920
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
921
|
+
* Optional fields that are not set will be set to undefined.
|
|
922
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
923
|
+
* For the list of reserved names please see:
|
|
924
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
925
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
926
|
+
* JSPB instance for transitional soy proto support:
|
|
927
|
+
* http://goto/soy-param-migration
|
|
928
|
+
* @return {!Object}
|
|
929
|
+
*/
|
|
930
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.toObject = function(opt_includeInstance) {
|
|
931
|
+
return proto.supervisor.IDEStatusResponse.DesktopStatus.toObject(opt_includeInstance, this);
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Static version of the {@see toObject} method.
|
|
937
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
938
|
+
* the JSPB instance for transitional soy proto support:
|
|
939
|
+
* http://goto/soy-param-migration
|
|
940
|
+
* @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} msg The msg instance to transform.
|
|
941
|
+
* @return {!Object}
|
|
942
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
943
|
+
*/
|
|
944
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.toObject = function(includeInstance, msg) {
|
|
945
|
+
var f, obj = {
|
|
946
|
+
link: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
947
|
+
label: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
948
|
+
};
|
|
949
|
+
|
|
950
|
+
if (includeInstance) {
|
|
951
|
+
obj.$jspbMessageInstance = msg;
|
|
952
|
+
}
|
|
953
|
+
return obj;
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* Deserializes binary data (in protobuf wire format).
|
|
960
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
961
|
+
* @return {!proto.supervisor.IDEStatusResponse.DesktopStatus}
|
|
962
|
+
*/
|
|
963
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinary = function(bytes) {
|
|
964
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
965
|
+
var msg = new proto.supervisor.IDEStatusResponse.DesktopStatus;
|
|
966
|
+
return proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader(msg, reader);
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
972
|
+
* given reader into the given message object.
|
|
973
|
+
* @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} msg The message object to deserialize into.
|
|
974
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
975
|
+
* @return {!proto.supervisor.IDEStatusResponse.DesktopStatus}
|
|
976
|
+
*/
|
|
977
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader = function(msg, reader) {
|
|
978
|
+
while (reader.nextField()) {
|
|
979
|
+
if (reader.isEndGroup()) {
|
|
980
|
+
break;
|
|
981
|
+
}
|
|
982
|
+
var field = reader.getFieldNumber();
|
|
983
|
+
switch (field) {
|
|
984
|
+
case 1:
|
|
985
|
+
var value = /** @type {string} */ (reader.readString());
|
|
986
|
+
msg.setLink(value);
|
|
987
|
+
break;
|
|
988
|
+
case 2:
|
|
989
|
+
var value = /** @type {string} */ (reader.readString());
|
|
990
|
+
msg.setLabel(value);
|
|
991
|
+
break;
|
|
992
|
+
default:
|
|
993
|
+
reader.skipField();
|
|
994
|
+
break;
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
return msg;
|
|
998
|
+
};
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1003
|
+
* @return {!Uint8Array}
|
|
1004
|
+
*/
|
|
1005
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.serializeBinary = function() {
|
|
1006
|
+
var writer = new jspb.BinaryWriter();
|
|
1007
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter(this, writer);
|
|
1008
|
+
return writer.getResultBuffer();
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1014
|
+
* format), writing to the given BinaryWriter.
|
|
1015
|
+
* @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} message
|
|
1016
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1017
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1018
|
+
*/
|
|
1019
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter = function(message, writer) {
|
|
1020
|
+
var f = undefined;
|
|
1021
|
+
f = message.getLink();
|
|
1022
|
+
if (f.length > 0) {
|
|
1023
|
+
writer.writeString(
|
|
1024
|
+
1,
|
|
1025
|
+
f
|
|
1026
|
+
);
|
|
1027
|
+
}
|
|
1028
|
+
f = message.getLabel();
|
|
1029
|
+
if (f.length > 0) {
|
|
1030
|
+
writer.writeString(
|
|
1031
|
+
2,
|
|
1032
|
+
f
|
|
1033
|
+
);
|
|
1034
|
+
}
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* optional string link = 1;
|
|
1040
|
+
* @return {string}
|
|
1041
|
+
*/
|
|
1042
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getLink = function() {
|
|
1043
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* @param {string} value
|
|
1049
|
+
* @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
|
|
1050
|
+
*/
|
|
1051
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setLink = function(value) {
|
|
1052
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* optional string label = 2;
|
|
1058
|
+
* @return {string}
|
|
1059
|
+
*/
|
|
1060
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getLabel = function() {
|
|
1061
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* @param {string} value
|
|
1067
|
+
* @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
|
|
1068
|
+
*/
|
|
1069
|
+
proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setLabel = function(value) {
|
|
1070
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
868
1071
|
};
|
|
869
1072
|
|
|
870
1073
|
|
|
@@ -886,6 +1089,43 @@ proto.supervisor.IDEStatusResponse.prototype.setOk = function(value) {
|
|
|
886
1089
|
};
|
|
887
1090
|
|
|
888
1091
|
|
|
1092
|
+
/**
|
|
1093
|
+
* optional DesktopStatus desktop = 2;
|
|
1094
|
+
* @return {?proto.supervisor.IDEStatusResponse.DesktopStatus}
|
|
1095
|
+
*/
|
|
1096
|
+
proto.supervisor.IDEStatusResponse.prototype.getDesktop = function() {
|
|
1097
|
+
return /** @type{?proto.supervisor.IDEStatusResponse.DesktopStatus} */ (
|
|
1098
|
+
jspb.Message.getWrapperField(this, proto.supervisor.IDEStatusResponse.DesktopStatus, 2));
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* @param {?proto.supervisor.IDEStatusResponse.DesktopStatus|undefined} value
|
|
1104
|
+
* @return {!proto.supervisor.IDEStatusResponse} returns this
|
|
1105
|
+
*/
|
|
1106
|
+
proto.supervisor.IDEStatusResponse.prototype.setDesktop = function(value) {
|
|
1107
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Clears the message field making it undefined.
|
|
1113
|
+
* @return {!proto.supervisor.IDEStatusResponse} returns this
|
|
1114
|
+
*/
|
|
1115
|
+
proto.supervisor.IDEStatusResponse.prototype.clearDesktop = function() {
|
|
1116
|
+
return this.setDesktop(undefined);
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Returns whether this field is set.
|
|
1122
|
+
* @return {boolean}
|
|
1123
|
+
*/
|
|
1124
|
+
proto.supervisor.IDEStatusResponse.prototype.hasDesktop = function() {
|
|
1125
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
|
|
889
1129
|
|
|
890
1130
|
|
|
891
1131
|
|
|
@@ -2113,10 +2353,12 @@ proto.supervisor.PortsStatus.prototype.toObject = function(opt_includeInstance)
|
|
|
2113
2353
|
proto.supervisor.PortsStatus.toObject = function(includeInstance, msg) {
|
|
2114
2354
|
var f, obj = {
|
|
2115
2355
|
localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2116
|
-
globalPort: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2117
2356
|
served: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
2118
2357
|
exposed: (f = msg.getExposed()) && proto.supervisor.ExposedPortInfo.toObject(includeInstance, f),
|
|
2119
|
-
|
|
2358
|
+
autoExposure: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
2359
|
+
tunneled: (f = msg.getTunneled()) && proto.supervisor.TunneledPortInfo.toObject(includeInstance, f),
|
|
2360
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2361
|
+
name: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
2120
2362
|
};
|
|
2121
2363
|
|
|
2122
2364
|
if (includeInstance) {
|
|
@@ -2157,10 +2399,6 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2157
2399
|
var value = /** @type {number} */ (reader.readUint32());
|
|
2158
2400
|
msg.setLocalPort(value);
|
|
2159
2401
|
break;
|
|
2160
|
-
case 2:
|
|
2161
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
2162
|
-
msg.setGlobalPort(value);
|
|
2163
|
-
break;
|
|
2164
2402
|
case 4:
|
|
2165
2403
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2166
2404
|
msg.setServed(value);
|
|
@@ -2170,11 +2408,23 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2170
2408
|
reader.readMessage(value,proto.supervisor.ExposedPortInfo.deserializeBinaryFromReader);
|
|
2171
2409
|
msg.setExposed(value);
|
|
2172
2410
|
break;
|
|
2411
|
+
case 7:
|
|
2412
|
+
var value = /** @type {!proto.supervisor.PortAutoExposure} */ (reader.readEnum());
|
|
2413
|
+
msg.setAutoExposure(value);
|
|
2414
|
+
break;
|
|
2173
2415
|
case 6:
|
|
2174
2416
|
var value = new proto.supervisor.TunneledPortInfo;
|
|
2175
2417
|
reader.readMessage(value,proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader);
|
|
2176
2418
|
msg.setTunneled(value);
|
|
2177
2419
|
break;
|
|
2420
|
+
case 8:
|
|
2421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2422
|
+
msg.setDescription(value);
|
|
2423
|
+
break;
|
|
2424
|
+
case 9:
|
|
2425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2426
|
+
msg.setName(value);
|
|
2427
|
+
break;
|
|
2178
2428
|
default:
|
|
2179
2429
|
reader.skipField();
|
|
2180
2430
|
break;
|
|
@@ -2211,13 +2461,6 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
|
|
|
2211
2461
|
f
|
|
2212
2462
|
);
|
|
2213
2463
|
}
|
|
2214
|
-
f = message.getGlobalPort();
|
|
2215
|
-
if (f !== 0) {
|
|
2216
|
-
writer.writeUint32(
|
|
2217
|
-
2,
|
|
2218
|
-
f
|
|
2219
|
-
);
|
|
2220
|
-
}
|
|
2221
2464
|
f = message.getServed();
|
|
2222
2465
|
if (f) {
|
|
2223
2466
|
writer.writeBool(
|
|
@@ -2233,6 +2476,13 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
|
|
|
2233
2476
|
proto.supervisor.ExposedPortInfo.serializeBinaryToWriter
|
|
2234
2477
|
);
|
|
2235
2478
|
}
|
|
2479
|
+
f = message.getAutoExposure();
|
|
2480
|
+
if (f !== 0.0) {
|
|
2481
|
+
writer.writeEnum(
|
|
2482
|
+
7,
|
|
2483
|
+
f
|
|
2484
|
+
);
|
|
2485
|
+
}
|
|
2236
2486
|
f = message.getTunneled();
|
|
2237
2487
|
if (f != null) {
|
|
2238
2488
|
writer.writeMessage(
|
|
@@ -2241,6 +2491,20 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
|
|
|
2241
2491
|
proto.supervisor.TunneledPortInfo.serializeBinaryToWriter
|
|
2242
2492
|
);
|
|
2243
2493
|
}
|
|
2494
|
+
f = message.getDescription();
|
|
2495
|
+
if (f.length > 0) {
|
|
2496
|
+
writer.writeString(
|
|
2497
|
+
8,
|
|
2498
|
+
f
|
|
2499
|
+
);
|
|
2500
|
+
}
|
|
2501
|
+
f = message.getName();
|
|
2502
|
+
if (f.length > 0) {
|
|
2503
|
+
writer.writeString(
|
|
2504
|
+
9,
|
|
2505
|
+
f
|
|
2506
|
+
);
|
|
2507
|
+
}
|
|
2244
2508
|
};
|
|
2245
2509
|
|
|
2246
2510
|
|
|
@@ -2262,24 +2526,6 @@ proto.supervisor.PortsStatus.prototype.setLocalPort = function(value) {
|
|
|
2262
2526
|
};
|
|
2263
2527
|
|
|
2264
2528
|
|
|
2265
|
-
/**
|
|
2266
|
-
* optional uint32 global_port = 2;
|
|
2267
|
-
* @return {number}
|
|
2268
|
-
*/
|
|
2269
|
-
proto.supervisor.PortsStatus.prototype.getGlobalPort = function() {
|
|
2270
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2271
|
-
};
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
/**
|
|
2275
|
-
* @param {number} value
|
|
2276
|
-
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2277
|
-
*/
|
|
2278
|
-
proto.supervisor.PortsStatus.prototype.setGlobalPort = function(value) {
|
|
2279
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2280
|
-
};
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
2529
|
/**
|
|
2284
2530
|
* optional bool served = 4;
|
|
2285
2531
|
* @return {boolean}
|
|
@@ -2335,6 +2581,24 @@ proto.supervisor.PortsStatus.prototype.hasExposed = function() {
|
|
|
2335
2581
|
};
|
|
2336
2582
|
|
|
2337
2583
|
|
|
2584
|
+
/**
|
|
2585
|
+
* optional PortAutoExposure auto_exposure = 7;
|
|
2586
|
+
* @return {!proto.supervisor.PortAutoExposure}
|
|
2587
|
+
*/
|
|
2588
|
+
proto.supervisor.PortsStatus.prototype.getAutoExposure = function() {
|
|
2589
|
+
return /** @type {!proto.supervisor.PortAutoExposure} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* @param {!proto.supervisor.PortAutoExposure} value
|
|
2595
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2596
|
+
*/
|
|
2597
|
+
proto.supervisor.PortsStatus.prototype.setAutoExposure = function(value) {
|
|
2598
|
+
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
|
|
2338
2602
|
/**
|
|
2339
2603
|
* optional TunneledPortInfo tunneled = 6;
|
|
2340
2604
|
* @return {?proto.supervisor.TunneledPortInfo}
|
|
@@ -2372,6 +2636,42 @@ proto.supervisor.PortsStatus.prototype.hasTunneled = function() {
|
|
|
2372
2636
|
};
|
|
2373
2637
|
|
|
2374
2638
|
|
|
2639
|
+
/**
|
|
2640
|
+
* optional string description = 8;
|
|
2641
|
+
* @return {string}
|
|
2642
|
+
*/
|
|
2643
|
+
proto.supervisor.PortsStatus.prototype.getDescription = function() {
|
|
2644
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* @param {string} value
|
|
2650
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2651
|
+
*/
|
|
2652
|
+
proto.supervisor.PortsStatus.prototype.setDescription = function(value) {
|
|
2653
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2654
|
+
};
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* optional string name = 9;
|
|
2659
|
+
* @return {string}
|
|
2660
|
+
*/
|
|
2661
|
+
proto.supervisor.PortsStatus.prototype.getName = function() {
|
|
2662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* @param {string} value
|
|
2668
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2669
|
+
*/
|
|
2670
|
+
proto.supervisor.PortsStatus.prototype.setName = function(value) {
|
|
2671
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
|
|
2375
2675
|
|
|
2376
2676
|
|
|
2377
2677
|
|
|
@@ -3121,6 +3421,15 @@ proto.supervisor.OnPortExposedAction = {
|
|
|
3121
3421
|
NOTIFY_PRIVATE: 4
|
|
3122
3422
|
};
|
|
3123
3423
|
|
|
3424
|
+
/**
|
|
3425
|
+
* @enum {number}
|
|
3426
|
+
*/
|
|
3427
|
+
proto.supervisor.PortAutoExposure = {
|
|
3428
|
+
TRYING: 0,
|
|
3429
|
+
SUCCEEDED: 1,
|
|
3430
|
+
FAILED: 2
|
|
3431
|
+
};
|
|
3432
|
+
|
|
3124
3433
|
/**
|
|
3125
3434
|
* @enum {number}
|
|
3126
3435
|
*/
|
package/lib/terminal_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.GetTerminalRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.supervisor.ListTerminalsRequest', null, global);
|
package/lib/token_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
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"dependencies": {
|
|
2
|
+
"dependencies": {
|
|
3
|
+
"@improbable-eng/grpc-web": "^0.14.0"
|
|
4
|
+
},
|
|
3
5
|
"devDependencies": {
|
|
4
|
-
"ts-protoc-gen": "^0.13.0"
|
|
6
|
+
"ts-protoc-gen": "^0.13.0",
|
|
7
|
+
"typescript": "~4.4.2"
|
|
5
8
|
},
|
|
6
9
|
"files": [
|
|
7
10
|
"lib",
|
|
@@ -12,5 +15,5 @@
|
|
|
12
15
|
"scripts": {
|
|
13
16
|
"build": "sh build.sh"
|
|
14
17
|
},
|
|
15
|
-
"version": "0.1.5-
|
|
18
|
+
"version": "0.1.5-pd-test.35"
|
|
16
19
|
}
|
package/pkg-yarn.lock
CHANGED
|
@@ -4,5 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
"@gitpod/supervisor-api-grpcweb@0.1.5":
|
|
6
6
|
version "0.1.5"
|
|
7
|
-
resolved "file:///tmp/cache/
|
|
7
|
+
resolved "file:///tmp/cache/38328053f66c859b52ebb16fadf1fbfcf5f12e57.tar.gz"
|
|
8
|
+
dependencies:
|
|
9
|
+
"@improbable-eng/grpc-web" "^0.14.0"
|
|
8
10
|
|