@gitpod/supervisor-api-grpc 0.1.5-patch-2-fork.0 → 0.1.5-port-description-3059-fork.2
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 +0 -1
- package/lib/control_pb.d.ts +0 -5
- package/lib/control_pb.js +32 -42
- package/lib/info_grpc_pb.d.ts +0 -1
- package/lib/info_pb.d.ts +42 -15
- package/lib/info_pb.js +451 -45
- package/lib/notification_grpc_pb.d.ts +0 -1
- package/lib/notification_grpc_pb.js +1 -1
- package/lib/notification_pb.d.ts +0 -8
- package/lib/notification_pb.js +108 -58
- 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 +1 -1
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +80 -27
- package/lib/status_pb.js +887 -213
- package/lib/terminal_grpc_pb.d.ts +34 -1
- package/lib/terminal_grpc_pb.js +68 -0
- package/lib/terminal_pb.d.ts +103 -45
- package/lib/terminal_pb.js +1061 -177
- package/lib/token_grpc_pb.d.ts +0 -1
- package/lib/token_pb.d.ts +4 -30
- package/lib/token_pb.js +214 -114
- package/package.json +8 -7
- package/pkg-yarn.lock +3 -3
package/lib/control_grpc_pb.d.ts
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
|
|
7
7
|
import * as grpc from "@grpc/grpc-js";
|
|
8
|
-
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
|
9
8
|
import * as control_pb from "./control_pb";
|
|
10
9
|
|
|
11
10
|
interface IControlServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
package/lib/control_pb.d.ts
CHANGED
|
@@ -10,10 +10,6 @@ export class ExposePortRequest extends jspb.Message {
|
|
|
10
10
|
getPort(): number;
|
|
11
11
|
setPort(value: number): ExposePortRequest;
|
|
12
12
|
|
|
13
|
-
getTargetPort(): number;
|
|
14
|
-
setTargetPort(value: number): ExposePortRequest;
|
|
15
|
-
|
|
16
|
-
|
|
17
13
|
serializeBinary(): Uint8Array;
|
|
18
14
|
toObject(includeInstance?: boolean): ExposePortRequest.AsObject;
|
|
19
15
|
static toObject(includeInstance: boolean, msg: ExposePortRequest): ExposePortRequest.AsObject;
|
|
@@ -27,7 +23,6 @@ export class ExposePortRequest extends jspb.Message {
|
|
|
27
23
|
export namespace ExposePortRequest {
|
|
28
24
|
export type AsObject = {
|
|
29
25
|
port: number,
|
|
30
|
-
targetPort: number,
|
|
31
26
|
}
|
|
32
27
|
}
|
|
33
28
|
|
package/lib/control_pb.js
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
+
// source: control.proto
|
|
1
2
|
/**
|
|
2
3
|
* @fileoverview
|
|
3
4
|
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
4
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
5
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
6
8
|
* @public
|
|
7
9
|
*/
|
|
8
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
9
13
|
|
|
10
14
|
var jspb = require('google-protobuf');
|
|
11
15
|
var goog = jspb;
|
|
12
|
-
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));
|
|
13
23
|
|
|
14
24
|
goog.exportSymbol('proto.supervisor.ExposePortRequest', null, global);
|
|
15
25
|
goog.exportSymbol('proto.supervisor.ExposePortResponse', null, global);
|
|
@@ -60,13 +70,15 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
60
70
|
|
|
61
71
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62
72
|
/**
|
|
63
|
-
* Creates an object representation of this proto
|
|
73
|
+
* Creates an object representation of this proto.
|
|
64
74
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75
|
+
* Optional fields that are not set will be set to undefined.
|
|
65
76
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
66
77
|
* For the list of reserved names please see:
|
|
67
|
-
*
|
|
68
|
-
* @param {boolean=} opt_includeInstance
|
|
69
|
-
* for transitional soy proto support:
|
|
78
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
79
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
80
|
+
* JSPB instance for transitional soy proto support:
|
|
81
|
+
* http://goto/soy-param-migration
|
|
70
82
|
* @return {!Object}
|
|
71
83
|
*/
|
|
72
84
|
proto.supervisor.ExposePortRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -76,8 +88,8 @@ proto.supervisor.ExposePortRequest.prototype.toObject = function(opt_includeInst
|
|
|
76
88
|
|
|
77
89
|
/**
|
|
78
90
|
* Static version of the {@see toObject} method.
|
|
79
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
80
|
-
* instance for transitional soy proto support:
|
|
91
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
92
|
+
* the JSPB instance for transitional soy proto support:
|
|
81
93
|
* http://goto/soy-param-migration
|
|
82
94
|
* @param {!proto.supervisor.ExposePortRequest} msg The msg instance to transform.
|
|
83
95
|
* @return {!Object}
|
|
@@ -85,8 +97,7 @@ proto.supervisor.ExposePortRequest.prototype.toObject = function(opt_includeInst
|
|
|
85
97
|
*/
|
|
86
98
|
proto.supervisor.ExposePortRequest.toObject = function(includeInstance, msg) {
|
|
87
99
|
var f, obj = {
|
|
88
|
-
port: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
89
|
-
targetPort: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
100
|
+
port: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
90
101
|
};
|
|
91
102
|
|
|
92
103
|
if (includeInstance) {
|
|
@@ -127,10 +138,6 @@ proto.supervisor.ExposePortRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
127
138
|
var value = /** @type {number} */ (reader.readUint32());
|
|
128
139
|
msg.setPort(value);
|
|
129
140
|
break;
|
|
130
|
-
case 2:
|
|
131
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
132
|
-
msg.setTargetPort(value);
|
|
133
|
-
break;
|
|
134
141
|
default:
|
|
135
142
|
reader.skipField();
|
|
136
143
|
break;
|
|
@@ -167,13 +174,6 @@ proto.supervisor.ExposePortRequest.serializeBinaryToWriter = function(message, w
|
|
|
167
174
|
f
|
|
168
175
|
);
|
|
169
176
|
}
|
|
170
|
-
f = message.getTargetPort();
|
|
171
|
-
if (f !== 0) {
|
|
172
|
-
writer.writeUint32(
|
|
173
|
-
2,
|
|
174
|
-
f
|
|
175
|
-
);
|
|
176
|
-
}
|
|
177
177
|
};
|
|
178
178
|
|
|
179
179
|
|
|
@@ -186,24 +186,12 @@ proto.supervisor.ExposePortRequest.prototype.getPort = function() {
|
|
|
186
186
|
};
|
|
187
187
|
|
|
188
188
|
|
|
189
|
-
/** @param {number} value */
|
|
190
|
-
proto.supervisor.ExposePortRequest.prototype.setPort = function(value) {
|
|
191
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
|
|
195
189
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @return {
|
|
190
|
+
* @param {number} value
|
|
191
|
+
* @return {!proto.supervisor.ExposePortRequest} returns this
|
|
198
192
|
*/
|
|
199
|
-
proto.supervisor.ExposePortRequest.prototype.
|
|
200
|
-
return
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
/** @param {number} value */
|
|
205
|
-
proto.supervisor.ExposePortRequest.prototype.setTargetPort = function(value) {
|
|
206
|
-
jspb.Message.setProto3IntField(this, 2, value);
|
|
193
|
+
proto.supervisor.ExposePortRequest.prototype.setPort = function(value) {
|
|
194
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
207
195
|
};
|
|
208
196
|
|
|
209
197
|
|
|
@@ -212,13 +200,15 @@ proto.supervisor.ExposePortRequest.prototype.setTargetPort = function(value) {
|
|
|
212
200
|
|
|
213
201
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
214
202
|
/**
|
|
215
|
-
* Creates an object representation of this proto
|
|
203
|
+
* Creates an object representation of this proto.
|
|
216
204
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
205
|
+
* Optional fields that are not set will be set to undefined.
|
|
217
206
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
218
207
|
* For the list of reserved names please see:
|
|
219
|
-
*
|
|
220
|
-
* @param {boolean=} opt_includeInstance
|
|
221
|
-
* for transitional soy proto support:
|
|
208
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
209
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
210
|
+
* JSPB instance for transitional soy proto support:
|
|
211
|
+
* http://goto/soy-param-migration
|
|
222
212
|
* @return {!Object}
|
|
223
213
|
*/
|
|
224
214
|
proto.supervisor.ExposePortResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -228,8 +218,8 @@ proto.supervisor.ExposePortResponse.prototype.toObject = function(opt_includeIns
|
|
|
228
218
|
|
|
229
219
|
/**
|
|
230
220
|
* Static version of the {@see toObject} method.
|
|
231
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
232
|
-
* instance for transitional soy proto support:
|
|
221
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
222
|
+
* the JSPB instance for transitional soy proto support:
|
|
233
223
|
* http://goto/soy-param-migration
|
|
234
224
|
* @param {!proto.supervisor.ExposePortResponse} msg The msg instance to transform.
|
|
235
225
|
* @return {!Object}
|
package/lib/info_grpc_pb.d.ts
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
|
|
7
7
|
import * as grpc from "@grpc/grpc-js";
|
|
8
|
-
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
|
9
8
|
import * as info_pb from "./info_pb";
|
|
10
9
|
|
|
11
10
|
interface IInfoServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
package/lib/info_pb.d.ts
CHANGED
|
@@ -26,40 +26,44 @@ export namespace WorkspaceInfoRequest {
|
|
|
26
26
|
export class WorkspaceInfoResponse extends jspb.Message {
|
|
27
27
|
getWorkspaceId(): string;
|
|
28
28
|
setWorkspaceId(value: string): WorkspaceInfoResponse;
|
|
29
|
-
|
|
30
29
|
getInstanceId(): string;
|
|
31
30
|
setInstanceId(value: string): WorkspaceInfoResponse;
|
|
32
|
-
|
|
33
31
|
getCheckoutLocation(): string;
|
|
34
32
|
setCheckoutLocation(value: string): WorkspaceInfoResponse;
|
|
35
33
|
|
|
36
|
-
|
|
37
34
|
hasWorkspaceLocationFile(): boolean;
|
|
38
35
|
clearWorkspaceLocationFile(): void;
|
|
39
36
|
getWorkspaceLocationFile(): string;
|
|
40
37
|
setWorkspaceLocationFile(value: string): WorkspaceInfoResponse;
|
|
41
38
|
|
|
42
|
-
|
|
43
39
|
hasWorkspaceLocationFolder(): boolean;
|
|
44
40
|
clearWorkspaceLocationFolder(): void;
|
|
45
41
|
getWorkspaceLocationFolder(): string;
|
|
46
42
|
setWorkspaceLocationFolder(value: string): WorkspaceInfoResponse;
|
|
47
|
-
|
|
48
43
|
getUserHome(): string;
|
|
49
44
|
setUserHome(value: string): WorkspaceInfoResponse;
|
|
50
45
|
|
|
51
|
-
|
|
52
46
|
hasGitpodApi(): boolean;
|
|
53
47
|
clearGitpodApi(): void;
|
|
54
48
|
getGitpodApi(): WorkspaceInfoResponse.GitpodAPI | undefined;
|
|
55
49
|
setGitpodApi(value?: WorkspaceInfoResponse.GitpodAPI): WorkspaceInfoResponse;
|
|
56
|
-
|
|
57
50
|
getGitpodHost(): string;
|
|
58
51
|
setGitpodHost(value: string): WorkspaceInfoResponse;
|
|
59
|
-
|
|
60
52
|
getWorkspaceContextUrl(): string;
|
|
61
53
|
setWorkspaceContextUrl(value: string): WorkspaceInfoResponse;
|
|
62
54
|
|
|
55
|
+
hasRepository(): boolean;
|
|
56
|
+
clearRepository(): void;
|
|
57
|
+
getRepository(): WorkspaceInfoResponse.Repository | undefined;
|
|
58
|
+
setRepository(value?: WorkspaceInfoResponse.Repository): WorkspaceInfoResponse;
|
|
59
|
+
getWorkspaceClusterHost(): string;
|
|
60
|
+
setWorkspaceClusterHost(value: string): WorkspaceInfoResponse;
|
|
61
|
+
getWorkspaceUrl(): string;
|
|
62
|
+
setWorkspaceUrl(value: string): WorkspaceInfoResponse;
|
|
63
|
+
getIdeAlias(): string;
|
|
64
|
+
setIdeAlias(value: string): WorkspaceInfoResponse;
|
|
65
|
+
getIdePort(): number;
|
|
66
|
+
setIdePort(value: number): WorkspaceInfoResponse;
|
|
63
67
|
|
|
64
68
|
getWorkspaceLocationCase(): WorkspaceInfoResponse.WorkspaceLocationCase;
|
|
65
69
|
|
|
@@ -84,17 +88,20 @@ export namespace WorkspaceInfoResponse {
|
|
|
84
88
|
gitpodApi?: WorkspaceInfoResponse.GitpodAPI.AsObject,
|
|
85
89
|
gitpodHost: string,
|
|
86
90
|
workspaceContextUrl: string,
|
|
91
|
+
repository?: WorkspaceInfoResponse.Repository.AsObject,
|
|
92
|
+
workspaceClusterHost: string,
|
|
93
|
+
workspaceUrl: string,
|
|
94
|
+
ideAlias: string,
|
|
95
|
+
idePort: number,
|
|
87
96
|
}
|
|
88
97
|
|
|
89
98
|
|
|
90
99
|
export class GitpodAPI extends jspb.Message {
|
|
91
100
|
getEndpoint(): string;
|
|
92
101
|
setEndpoint(value: string): GitpodAPI;
|
|
93
|
-
|
|
94
102
|
getHost(): string;
|
|
95
103
|
setHost(value: string): GitpodAPI;
|
|
96
104
|
|
|
97
|
-
|
|
98
105
|
serializeBinary(): Uint8Array;
|
|
99
106
|
toObject(includeInstance?: boolean): GitpodAPI.AsObject;
|
|
100
107
|
static toObject(includeInstance: boolean, msg: GitpodAPI): GitpodAPI.AsObject;
|
|
@@ -112,14 +119,34 @@ export namespace WorkspaceInfoResponse {
|
|
|
112
119
|
}
|
|
113
120
|
}
|
|
114
121
|
|
|
122
|
+
export class Repository extends jspb.Message {
|
|
123
|
+
getOwner(): string;
|
|
124
|
+
setOwner(value: string): Repository;
|
|
125
|
+
getName(): string;
|
|
126
|
+
setName(value: string): Repository;
|
|
115
127
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
128
|
+
serializeBinary(): Uint8Array;
|
|
129
|
+
toObject(includeInstance?: boolean): Repository.AsObject;
|
|
130
|
+
static toObject(includeInstance: boolean, msg: Repository): Repository.AsObject;
|
|
131
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
132
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
133
|
+
static serializeBinaryToWriter(message: Repository, writer: jspb.BinaryWriter): void;
|
|
134
|
+
static deserializeBinary(bytes: Uint8Array): Repository;
|
|
135
|
+
static deserializeBinaryFromReader(message: Repository, reader: jspb.BinaryReader): Repository;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export namespace Repository {
|
|
139
|
+
export type AsObject = {
|
|
140
|
+
owner: string,
|
|
141
|
+
name: string,
|
|
142
|
+
}
|
|
143
|
+
}
|
|
120
144
|
|
|
121
|
-
WORKSPACE_LOCATION_FOLDER = 5,
|
|
122
145
|
|
|
146
|
+
export enum WorkspaceLocationCase {
|
|
147
|
+
WORKSPACE_LOCATION_NOT_SET = 0,
|
|
148
|
+
WORKSPACE_LOCATION_FILE = 4,
|
|
149
|
+
WORKSPACE_LOCATION_FOLDER = 5,
|
|
123
150
|
}
|
|
124
151
|
|
|
125
152
|
}
|