@gitpod/supervisor-api-grpcweb 0.1.5-sje-kots-drop-repo.2 → 0.1.5-sje-no-log-envvars.0
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.js +1 -7
- package/lib/info_pb.d.ts +34 -0
- package/lib/info_pb.js +265 -8
- package/lib/notification_pb.js +1 -7
- package/lib/port_pb.js +1 -7
- package/lib/status_pb.d.ts +94 -0
- package/lib/status_pb.js +613 -8
- package/lib/status_pb_service.d.ts +19 -0
- package/lib/status_pb_service.js +40 -0
- package/lib/terminal_pb.js +1 -7
- package/lib/token_pb.js +1 -7
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
package/lib/control_pb.js
CHANGED
|
@@ -13,13 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
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));
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
23
17
|
|
|
24
18
|
goog.exportSymbol('proto.supervisor.CreateSSHKeyPairRequest', null, global);
|
|
25
19
|
goog.exportSymbol('proto.supervisor.CreateSSHKeyPairResponse', null, global);
|
package/lib/info_pb.d.ts
CHANGED
|
@@ -70,6 +70,11 @@ export class WorkspaceInfoResponse extends jspb.Message {
|
|
|
70
70
|
getIdePort(): number;
|
|
71
71
|
setIdePort(value: number): void;
|
|
72
72
|
|
|
73
|
+
hasWorkspaceClass(): boolean;
|
|
74
|
+
clearWorkspaceClass(): void;
|
|
75
|
+
getWorkspaceClass(): WorkspaceInfoResponse.WorkspaceClass | undefined;
|
|
76
|
+
setWorkspaceClass(value?: WorkspaceInfoResponse.WorkspaceClass): void;
|
|
77
|
+
|
|
73
78
|
getWorkspaceLocationCase(): WorkspaceInfoResponse.WorkspaceLocationCase;
|
|
74
79
|
serializeBinary(): Uint8Array;
|
|
75
80
|
toObject(includeInstance?: boolean): WorkspaceInfoResponse.AsObject;
|
|
@@ -97,6 +102,7 @@ export namespace WorkspaceInfoResponse {
|
|
|
97
102
|
workspaceUrl: string,
|
|
98
103
|
ideAlias: string,
|
|
99
104
|
idePort: number,
|
|
105
|
+
workspaceClass?: WorkspaceInfoResponse.WorkspaceClass.AsObject,
|
|
100
106
|
}
|
|
101
107
|
|
|
102
108
|
export class GitpodAPI extends jspb.Message {
|
|
@@ -147,6 +153,34 @@ export namespace WorkspaceInfoResponse {
|
|
|
147
153
|
}
|
|
148
154
|
}
|
|
149
155
|
|
|
156
|
+
export class WorkspaceClass extends jspb.Message {
|
|
157
|
+
getId(): string;
|
|
158
|
+
setId(value: string): void;
|
|
159
|
+
|
|
160
|
+
getDisplayName(): string;
|
|
161
|
+
setDisplayName(value: string): void;
|
|
162
|
+
|
|
163
|
+
getDescription(): string;
|
|
164
|
+
setDescription(value: string): void;
|
|
165
|
+
|
|
166
|
+
serializeBinary(): Uint8Array;
|
|
167
|
+
toObject(includeInstance?: boolean): WorkspaceClass.AsObject;
|
|
168
|
+
static toObject(includeInstance: boolean, msg: WorkspaceClass): WorkspaceClass.AsObject;
|
|
169
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
170
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
171
|
+
static serializeBinaryToWriter(message: WorkspaceClass, writer: jspb.BinaryWriter): void;
|
|
172
|
+
static deserializeBinary(bytes: Uint8Array): WorkspaceClass;
|
|
173
|
+
static deserializeBinaryFromReader(message: WorkspaceClass, reader: jspb.BinaryReader): WorkspaceClass;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export namespace WorkspaceClass {
|
|
177
|
+
export type AsObject = {
|
|
178
|
+
id: string,
|
|
179
|
+
displayName: string,
|
|
180
|
+
description: string,
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
150
184
|
export enum WorkspaceLocationCase {
|
|
151
185
|
WORKSPACE_LOCATION_NOT_SET = 0,
|
|
152
186
|
WORKSPACE_LOCATION_FILE = 4,
|
package/lib/info_pb.js
CHANGED
|
@@ -13,18 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
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));
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
23
17
|
|
|
24
18
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoRequest', null, global);
|
|
25
19
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse', null, global);
|
|
26
20
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.GitpodAPI', null, global);
|
|
27
21
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.Repository', null, global);
|
|
22
|
+
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.WorkspaceClass', null, global);
|
|
28
23
|
goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse.WorkspaceLocationCase', null, global);
|
|
29
24
|
/**
|
|
30
25
|
* Generated by JsPbCodeGenerator.
|
|
@@ -110,6 +105,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
110
105
|
*/
|
|
111
106
|
proto.supervisor.WorkspaceInfoResponse.Repository.displayName = 'proto.supervisor.WorkspaceInfoResponse.Repository';
|
|
112
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Generated by JsPbCodeGenerator.
|
|
110
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
111
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
112
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
113
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
114
|
+
* valid.
|
|
115
|
+
* @extends {jspb.Message}
|
|
116
|
+
* @constructor
|
|
117
|
+
*/
|
|
118
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass = function(opt_data) {
|
|
119
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
120
|
+
};
|
|
121
|
+
goog.inherits(proto.supervisor.WorkspaceInfoResponse.WorkspaceClass, jspb.Message);
|
|
122
|
+
if (goog.DEBUG && !COMPILED) {
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @override
|
|
126
|
+
*/
|
|
127
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.displayName = 'proto.supervisor.WorkspaceInfoResponse.WorkspaceClass';
|
|
128
|
+
}
|
|
113
129
|
|
|
114
130
|
|
|
115
131
|
|
|
@@ -282,7 +298,8 @@ proto.supervisor.WorkspaceInfoResponse.toObject = function(includeInstance, msg)
|
|
|
282
298
|
workspaceClusterHost: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
283
299
|
workspaceUrl: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
284
300
|
ideAlias: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
285
|
-
idePort: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
301
|
+
idePort: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
302
|
+
workspaceClass: (f = msg.getWorkspaceClass()) && proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.toObject(includeInstance, f)
|
|
286
303
|
};
|
|
287
304
|
|
|
288
305
|
if (includeInstance) {
|
|
@@ -377,6 +394,11 @@ proto.supervisor.WorkspaceInfoResponse.deserializeBinaryFromReader = function(ms
|
|
|
377
394
|
var value = /** @type {number} */ (reader.readUint32());
|
|
378
395
|
msg.setIdePort(value);
|
|
379
396
|
break;
|
|
397
|
+
case 15:
|
|
398
|
+
var value = new proto.supervisor.WorkspaceInfoResponse.WorkspaceClass;
|
|
399
|
+
reader.readMessage(value,proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinaryFromReader);
|
|
400
|
+
msg.setWorkspaceClass(value);
|
|
401
|
+
break;
|
|
380
402
|
default:
|
|
381
403
|
reader.skipField();
|
|
382
404
|
break;
|
|
@@ -506,6 +528,14 @@ proto.supervisor.WorkspaceInfoResponse.serializeBinaryToWriter = function(messag
|
|
|
506
528
|
f
|
|
507
529
|
);
|
|
508
530
|
}
|
|
531
|
+
f = message.getWorkspaceClass();
|
|
532
|
+
if (f != null) {
|
|
533
|
+
writer.writeMessage(
|
|
534
|
+
15,
|
|
535
|
+
f,
|
|
536
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.serializeBinaryToWriter
|
|
537
|
+
);
|
|
538
|
+
}
|
|
509
539
|
};
|
|
510
540
|
|
|
511
541
|
|
|
@@ -829,6 +859,196 @@ proto.supervisor.WorkspaceInfoResponse.Repository.prototype.setName = function(v
|
|
|
829
859
|
};
|
|
830
860
|
|
|
831
861
|
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
866
|
+
/**
|
|
867
|
+
* Creates an object representation of this proto.
|
|
868
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
869
|
+
* Optional fields that are not set will be set to undefined.
|
|
870
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
871
|
+
* For the list of reserved names please see:
|
|
872
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
873
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
874
|
+
* JSPB instance for transitional soy proto support:
|
|
875
|
+
* http://goto/soy-param-migration
|
|
876
|
+
* @return {!Object}
|
|
877
|
+
*/
|
|
878
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.toObject = function(opt_includeInstance) {
|
|
879
|
+
return proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.toObject(opt_includeInstance, this);
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Static version of the {@see toObject} method.
|
|
885
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
886
|
+
* the JSPB instance for transitional soy proto support:
|
|
887
|
+
* http://goto/soy-param-migration
|
|
888
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} msg The msg instance to transform.
|
|
889
|
+
* @return {!Object}
|
|
890
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
891
|
+
*/
|
|
892
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.toObject = function(includeInstance, msg) {
|
|
893
|
+
var f, obj = {
|
|
894
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
895
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
896
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
if (includeInstance) {
|
|
900
|
+
obj.$jspbMessageInstance = msg;
|
|
901
|
+
}
|
|
902
|
+
return obj;
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Deserializes binary data (in protobuf wire format).
|
|
909
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
910
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass}
|
|
911
|
+
*/
|
|
912
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinary = function(bytes) {
|
|
913
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
914
|
+
var msg = new proto.supervisor.WorkspaceInfoResponse.WorkspaceClass;
|
|
915
|
+
return proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinaryFromReader(msg, reader);
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
921
|
+
* given reader into the given message object.
|
|
922
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} msg The message object to deserialize into.
|
|
923
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
924
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass}
|
|
925
|
+
*/
|
|
926
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.deserializeBinaryFromReader = function(msg, reader) {
|
|
927
|
+
while (reader.nextField()) {
|
|
928
|
+
if (reader.isEndGroup()) {
|
|
929
|
+
break;
|
|
930
|
+
}
|
|
931
|
+
var field = reader.getFieldNumber();
|
|
932
|
+
switch (field) {
|
|
933
|
+
case 1:
|
|
934
|
+
var value = /** @type {string} */ (reader.readString());
|
|
935
|
+
msg.setId(value);
|
|
936
|
+
break;
|
|
937
|
+
case 2:
|
|
938
|
+
var value = /** @type {string} */ (reader.readString());
|
|
939
|
+
msg.setDisplayName(value);
|
|
940
|
+
break;
|
|
941
|
+
case 3:
|
|
942
|
+
var value = /** @type {string} */ (reader.readString());
|
|
943
|
+
msg.setDescription(value);
|
|
944
|
+
break;
|
|
945
|
+
default:
|
|
946
|
+
reader.skipField();
|
|
947
|
+
break;
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
return msg;
|
|
951
|
+
};
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
956
|
+
* @return {!Uint8Array}
|
|
957
|
+
*/
|
|
958
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.serializeBinary = function() {
|
|
959
|
+
var writer = new jspb.BinaryWriter();
|
|
960
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.serializeBinaryToWriter(this, writer);
|
|
961
|
+
return writer.getResultBuffer();
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
967
|
+
* format), writing to the given BinaryWriter.
|
|
968
|
+
* @param {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} message
|
|
969
|
+
* @param {!jspb.BinaryWriter} writer
|
|
970
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
971
|
+
*/
|
|
972
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.serializeBinaryToWriter = function(message, writer) {
|
|
973
|
+
var f = undefined;
|
|
974
|
+
f = message.getId();
|
|
975
|
+
if (f.length > 0) {
|
|
976
|
+
writer.writeString(
|
|
977
|
+
1,
|
|
978
|
+
f
|
|
979
|
+
);
|
|
980
|
+
}
|
|
981
|
+
f = message.getDisplayName();
|
|
982
|
+
if (f.length > 0) {
|
|
983
|
+
writer.writeString(
|
|
984
|
+
2,
|
|
985
|
+
f
|
|
986
|
+
);
|
|
987
|
+
}
|
|
988
|
+
f = message.getDescription();
|
|
989
|
+
if (f.length > 0) {
|
|
990
|
+
writer.writeString(
|
|
991
|
+
3,
|
|
992
|
+
f
|
|
993
|
+
);
|
|
994
|
+
}
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* optional string id = 1;
|
|
1000
|
+
* @return {string}
|
|
1001
|
+
*/
|
|
1002
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.getId = function() {
|
|
1003
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* @param {string} value
|
|
1009
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} returns this
|
|
1010
|
+
*/
|
|
1011
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.setId = function(value) {
|
|
1012
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* optional string display_name = 2;
|
|
1018
|
+
* @return {string}
|
|
1019
|
+
*/
|
|
1020
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.getDisplayName = function() {
|
|
1021
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* @param {string} value
|
|
1027
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} returns this
|
|
1028
|
+
*/
|
|
1029
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.setDisplayName = function(value) {
|
|
1030
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* optional string description = 3;
|
|
1036
|
+
* @return {string}
|
|
1037
|
+
*/
|
|
1038
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.getDescription = function() {
|
|
1039
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* @param {string} value
|
|
1045
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} returns this
|
|
1046
|
+
*/
|
|
1047
|
+
proto.supervisor.WorkspaceInfoResponse.WorkspaceClass.prototype.setDescription = function(value) {
|
|
1048
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
|
|
832
1052
|
/**
|
|
833
1053
|
* optional string workspace_id = 1;
|
|
834
1054
|
* @return {string}
|
|
@@ -1155,4 +1375,41 @@ proto.supervisor.WorkspaceInfoResponse.prototype.setIdePort = function(value) {
|
|
|
1155
1375
|
};
|
|
1156
1376
|
|
|
1157
1377
|
|
|
1378
|
+
/**
|
|
1379
|
+
* optional WorkspaceClass workspace_class = 15;
|
|
1380
|
+
* @return {?proto.supervisor.WorkspaceInfoResponse.WorkspaceClass}
|
|
1381
|
+
*/
|
|
1382
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.getWorkspaceClass = function() {
|
|
1383
|
+
return /** @type{?proto.supervisor.WorkspaceInfoResponse.WorkspaceClass} */ (
|
|
1384
|
+
jspb.Message.getWrapperField(this, proto.supervisor.WorkspaceInfoResponse.WorkspaceClass, 15));
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* @param {?proto.supervisor.WorkspaceInfoResponse.WorkspaceClass|undefined} value
|
|
1390
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1391
|
+
*/
|
|
1392
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.setWorkspaceClass = function(value) {
|
|
1393
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Clears the message field making it undefined.
|
|
1399
|
+
* @return {!proto.supervisor.WorkspaceInfoResponse} returns this
|
|
1400
|
+
*/
|
|
1401
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.clearWorkspaceClass = function() {
|
|
1402
|
+
return this.setWorkspaceClass(undefined);
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* Returns whether this field is set.
|
|
1408
|
+
* @return {boolean}
|
|
1409
|
+
*/
|
|
1410
|
+
proto.supervisor.WorkspaceInfoResponse.prototype.hasWorkspaceClass = function() {
|
|
1411
|
+
return jspb.Message.getField(this, 15) != null;
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
|
|
1158
1415
|
goog.object.extend(exports, proto.supervisor);
|
package/lib/notification_pb.js
CHANGED
|
@@ -13,13 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
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));
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
23
17
|
|
|
24
18
|
goog.exportSymbol('proto.supervisor.NotifyActiveRequest', null, global);
|
|
25
19
|
goog.exportSymbol('proto.supervisor.NotifyActiveRequest.ActionDataCase', null, global);
|
package/lib/port_pb.js
CHANGED
|
@@ -13,13 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
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));
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
23
17
|
|
|
24
18
|
goog.exportSymbol('proto.supervisor.AutoTunnelRequest', null, global);
|
|
25
19
|
goog.exportSymbol('proto.supervisor.AutoTunnelResponse', null, global);
|
package/lib/status_pb.d.ts
CHANGED
|
@@ -321,6 +321,9 @@ export class PortsStatus extends jspb.Message {
|
|
|
321
321
|
getName(): string;
|
|
322
322
|
setName(value: string): void;
|
|
323
323
|
|
|
324
|
+
getOnOpen(): PortsStatus.OnOpenActionMap[keyof PortsStatus.OnOpenActionMap];
|
|
325
|
+
setOnOpen(value: PortsStatus.OnOpenActionMap[keyof PortsStatus.OnOpenActionMap]): void;
|
|
326
|
+
|
|
324
327
|
serializeBinary(): Uint8Array;
|
|
325
328
|
toObject(includeInstance?: boolean): PortsStatus.AsObject;
|
|
326
329
|
static toObject(includeInstance: boolean, msg: PortsStatus): PortsStatus.AsObject;
|
|
@@ -340,7 +343,18 @@ export namespace PortsStatus {
|
|
|
340
343
|
tunneled?: TunneledPortInfo.AsObject,
|
|
341
344
|
description: string,
|
|
342
345
|
name: string,
|
|
346
|
+
onOpen: PortsStatus.OnOpenActionMap[keyof PortsStatus.OnOpenActionMap],
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export interface OnOpenActionMap {
|
|
350
|
+
IGNORE: 0;
|
|
351
|
+
OPEN_BROWSER: 1;
|
|
352
|
+
OPEN_PREVIEW: 2;
|
|
353
|
+
NOTIFY: 3;
|
|
354
|
+
NOTIFY_PRIVATE: 4;
|
|
343
355
|
}
|
|
356
|
+
|
|
357
|
+
export const OnOpenAction: OnOpenActionMap;
|
|
344
358
|
}
|
|
345
359
|
|
|
346
360
|
export class TasksStatusRequest extends jspb.Message {
|
|
@@ -447,6 +461,78 @@ export namespace TaskPresentation {
|
|
|
447
461
|
}
|
|
448
462
|
}
|
|
449
463
|
|
|
464
|
+
export class ResourcesStatuRequest extends jspb.Message {
|
|
465
|
+
serializeBinary(): Uint8Array;
|
|
466
|
+
toObject(includeInstance?: boolean): ResourcesStatuRequest.AsObject;
|
|
467
|
+
static toObject(includeInstance: boolean, msg: ResourcesStatuRequest): ResourcesStatuRequest.AsObject;
|
|
468
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
469
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
470
|
+
static serializeBinaryToWriter(message: ResourcesStatuRequest, writer: jspb.BinaryWriter): void;
|
|
471
|
+
static deserializeBinary(bytes: Uint8Array): ResourcesStatuRequest;
|
|
472
|
+
static deserializeBinaryFromReader(message: ResourcesStatuRequest, reader: jspb.BinaryReader): ResourcesStatuRequest;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export namespace ResourcesStatuRequest {
|
|
476
|
+
export type AsObject = {
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export class ResourcesStatusResponse extends jspb.Message {
|
|
481
|
+
hasMemory(): boolean;
|
|
482
|
+
clearMemory(): void;
|
|
483
|
+
getMemory(): ResourceStatus | undefined;
|
|
484
|
+
setMemory(value?: ResourceStatus): void;
|
|
485
|
+
|
|
486
|
+
hasCpu(): boolean;
|
|
487
|
+
clearCpu(): void;
|
|
488
|
+
getCpu(): ResourceStatus | undefined;
|
|
489
|
+
setCpu(value?: ResourceStatus): void;
|
|
490
|
+
|
|
491
|
+
serializeBinary(): Uint8Array;
|
|
492
|
+
toObject(includeInstance?: boolean): ResourcesStatusResponse.AsObject;
|
|
493
|
+
static toObject(includeInstance: boolean, msg: ResourcesStatusResponse): ResourcesStatusResponse.AsObject;
|
|
494
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
495
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
496
|
+
static serializeBinaryToWriter(message: ResourcesStatusResponse, writer: jspb.BinaryWriter): void;
|
|
497
|
+
static deserializeBinary(bytes: Uint8Array): ResourcesStatusResponse;
|
|
498
|
+
static deserializeBinaryFromReader(message: ResourcesStatusResponse, reader: jspb.BinaryReader): ResourcesStatusResponse;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export namespace ResourcesStatusResponse {
|
|
502
|
+
export type AsObject = {
|
|
503
|
+
memory?: ResourceStatus.AsObject,
|
|
504
|
+
cpu?: ResourceStatus.AsObject,
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export class ResourceStatus extends jspb.Message {
|
|
509
|
+
getUsed(): number;
|
|
510
|
+
setUsed(value: number): void;
|
|
511
|
+
|
|
512
|
+
getLimit(): number;
|
|
513
|
+
setLimit(value: number): void;
|
|
514
|
+
|
|
515
|
+
getSeverity(): ResourceStatusSeverityMap[keyof ResourceStatusSeverityMap];
|
|
516
|
+
setSeverity(value: ResourceStatusSeverityMap[keyof ResourceStatusSeverityMap]): void;
|
|
517
|
+
|
|
518
|
+
serializeBinary(): Uint8Array;
|
|
519
|
+
toObject(includeInstance?: boolean): ResourceStatus.AsObject;
|
|
520
|
+
static toObject(includeInstance: boolean, msg: ResourceStatus): ResourceStatus.AsObject;
|
|
521
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
522
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
523
|
+
static serializeBinaryToWriter(message: ResourceStatus, writer: jspb.BinaryWriter): void;
|
|
524
|
+
static deserializeBinary(bytes: Uint8Array): ResourceStatus;
|
|
525
|
+
static deserializeBinaryFromReader(message: ResourceStatus, reader: jspb.BinaryReader): ResourceStatus;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export namespace ResourceStatus {
|
|
529
|
+
export type AsObject = {
|
|
530
|
+
used: number,
|
|
531
|
+
limit: number,
|
|
532
|
+
severity: ResourceStatusSeverityMap[keyof ResourceStatusSeverityMap],
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
450
536
|
export interface ContentSourceMap {
|
|
451
537
|
FROM_OTHER: 0;
|
|
452
538
|
FROM_BACKUP: 1;
|
|
@@ -488,3 +574,11 @@ export interface TaskStateMap {
|
|
|
488
574
|
|
|
489
575
|
export const TaskState: TaskStateMap;
|
|
490
576
|
|
|
577
|
+
export interface ResourceStatusSeverityMap {
|
|
578
|
+
NORMAL: 0;
|
|
579
|
+
WARNING: 1;
|
|
580
|
+
DANGER: 2;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export const ResourceStatusSeverity: ResourceStatusSeverityMap;
|
|
584
|
+
|