@gitpod/supervisor-api-grpc 0.1.5-sefftinge-remove-recursive-chown-2899.67 → 0.1.5-server-vscode-oauth2.11
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 +7 -6
- package/lib/control_pb.d.ts +3 -4
- package/lib/control_pb.js +30 -16
- package/lib/info_grpc_pb.d.ts +7 -6
- package/lib/info_pb.d.ts +61 -29
- package/lib/info_pb.js +469 -42
- package/lib/notification_grpc_pb.d.ts +73 -0
- package/lib/notification_grpc_pb.js +121 -0
- package/lib/notification_pb.d.ts +148 -0
- package/lib/notification_pb.js +1070 -0
- 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 +1666 -0
- package/lib/status_grpc_pb.d.ts +23 -21
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +69 -49
- package/lib/status_pb.js +592 -187
- package/lib/terminal_grpc_pb.d.ts +86 -34
- package/lib/terminal_grpc_pb.js +127 -25
- package/lib/terminal_pb.d.ts +263 -134
- package/lib/terminal_pb.js +2245 -887
- package/lib/token_grpc_pb.d.ts +16 -15
- package/lib/token_pb.d.ts +31 -50
- package/lib/token_pb.js +255 -110
- package/package.json +7 -7
- package/pkg-yarn.lock +3 -3
package/lib/control_grpc_pb.d.ts
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// file: control.proto
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
5
6
|
|
|
6
|
-
import * as grpc from "grpc";
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
7
8
|
import * as control_pb from "./control_pb";
|
|
8
9
|
|
|
9
10
|
interface IControlServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
@@ -11,9 +12,9 @@ interface IControlServiceService extends grpc.ServiceDefinition<grpc.UntypedServ
|
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
interface IControlServiceService_IExposePort extends grpc.MethodDefinition<control_pb.ExposePortRequest, control_pb.ExposePortResponse> {
|
|
14
|
-
path:
|
|
15
|
-
requestStream:
|
|
16
|
-
responseStream:
|
|
15
|
+
path: "/supervisor.ControlService/ExposePort";
|
|
16
|
+
requestStream: false;
|
|
17
|
+
responseStream: false;
|
|
17
18
|
requestSerialize: grpc.serialize<control_pb.ExposePortRequest>;
|
|
18
19
|
requestDeserialize: grpc.deserialize<control_pb.ExposePortRequest>;
|
|
19
20
|
responseSerialize: grpc.serialize<control_pb.ExposePortResponse>;
|
|
@@ -22,7 +23,7 @@ interface IControlServiceService_IExposePort extends grpc.MethodDefinition<contr
|
|
|
22
23
|
|
|
23
24
|
export const ControlServiceService: IControlServiceService;
|
|
24
25
|
|
|
25
|
-
export interface IControlServiceServer {
|
|
26
|
+
export interface IControlServiceServer extends grpc.UntypedServiceImplementation {
|
|
26
27
|
exposePort: grpc.handleUnaryCall<control_pb.ExposePortRequest, control_pb.ExposePortResponse>;
|
|
27
28
|
}
|
|
28
29
|
|
|
@@ -33,7 +34,7 @@ export interface IControlServiceClient {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
export class ControlServiceClient extends grpc.Client implements IControlServiceClient {
|
|
36
|
-
constructor(address: string, credentials: grpc.ChannelCredentials, options?:
|
|
37
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
37
38
|
public exposePort(request: control_pb.ExposePortRequest, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
|
|
38
39
|
public exposePort(request: control_pb.ExposePortRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
|
|
39
40
|
public exposePort(request: control_pb.ExposePortRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: control_pb.ExposePortResponse) => void): grpc.ClientUnaryCall;
|
package/lib/control_pb.d.ts
CHANGED
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
// file: control.proto
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
5
6
|
|
|
6
7
|
import * as jspb from "google-protobuf";
|
|
7
8
|
|
|
8
9
|
export class ExposePortRequest extends jspb.Message {
|
|
9
10
|
getPort(): number;
|
|
10
|
-
setPort(value: number):
|
|
11
|
-
|
|
11
|
+
setPort(value: number): ExposePortRequest;
|
|
12
12
|
getTargetPort(): number;
|
|
13
|
-
setTargetPort(value: number):
|
|
14
|
-
|
|
13
|
+
setTargetPort(value: number): ExposePortRequest;
|
|
15
14
|
|
|
16
15
|
serializeBinary(): Uint8Array;
|
|
17
16
|
toObject(includeInstance?: boolean): ExposePortRequest.AsObject;
|
package/lib/control_pb.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
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;
|
|
@@ -60,13 +64,15 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
60
64
|
|
|
61
65
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62
66
|
/**
|
|
63
|
-
* Creates an object representation of this proto
|
|
67
|
+
* Creates an object representation of this proto.
|
|
64
68
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
69
|
+
* Optional fields that are not set will be set to undefined.
|
|
65
70
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
66
71
|
* For the list of reserved names please see:
|
|
67
|
-
*
|
|
68
|
-
* @param {boolean=} opt_includeInstance
|
|
69
|
-
* for transitional soy proto support:
|
|
72
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
74
|
+
* JSPB instance for transitional soy proto support:
|
|
75
|
+
* http://goto/soy-param-migration
|
|
70
76
|
* @return {!Object}
|
|
71
77
|
*/
|
|
72
78
|
proto.supervisor.ExposePortRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -76,8 +82,8 @@ proto.supervisor.ExposePortRequest.prototype.toObject = function(opt_includeInst
|
|
|
76
82
|
|
|
77
83
|
/**
|
|
78
84
|
* Static version of the {@see toObject} method.
|
|
79
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
80
|
-
* instance for transitional soy proto support:
|
|
85
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
86
|
+
* the JSPB instance for transitional soy proto support:
|
|
81
87
|
* http://goto/soy-param-migration
|
|
82
88
|
* @param {!proto.supervisor.ExposePortRequest} msg The msg instance to transform.
|
|
83
89
|
* @return {!Object}
|
|
@@ -186,9 +192,12 @@ proto.supervisor.ExposePortRequest.prototype.getPort = function() {
|
|
|
186
192
|
};
|
|
187
193
|
|
|
188
194
|
|
|
189
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* @param {number} value
|
|
197
|
+
* @return {!proto.supervisor.ExposePortRequest} returns this
|
|
198
|
+
*/
|
|
190
199
|
proto.supervisor.ExposePortRequest.prototype.setPort = function(value) {
|
|
191
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
200
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
192
201
|
};
|
|
193
202
|
|
|
194
203
|
|
|
@@ -201,9 +210,12 @@ proto.supervisor.ExposePortRequest.prototype.getTargetPort = function() {
|
|
|
201
210
|
};
|
|
202
211
|
|
|
203
212
|
|
|
204
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* @param {number} value
|
|
215
|
+
* @return {!proto.supervisor.ExposePortRequest} returns this
|
|
216
|
+
*/
|
|
205
217
|
proto.supervisor.ExposePortRequest.prototype.setTargetPort = function(value) {
|
|
206
|
-
jspb.Message.setProto3IntField(this, 2, value);
|
|
218
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
207
219
|
};
|
|
208
220
|
|
|
209
221
|
|
|
@@ -212,13 +224,15 @@ proto.supervisor.ExposePortRequest.prototype.setTargetPort = function(value) {
|
|
|
212
224
|
|
|
213
225
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
214
226
|
/**
|
|
215
|
-
* Creates an object representation of this proto
|
|
227
|
+
* Creates an object representation of this proto.
|
|
216
228
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
229
|
+
* Optional fields that are not set will be set to undefined.
|
|
217
230
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
218
231
|
* For the list of reserved names please see:
|
|
219
|
-
*
|
|
220
|
-
* @param {boolean=} opt_includeInstance
|
|
221
|
-
* for transitional soy proto support:
|
|
232
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
233
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
234
|
+
* JSPB instance for transitional soy proto support:
|
|
235
|
+
* http://goto/soy-param-migration
|
|
222
236
|
* @return {!Object}
|
|
223
237
|
*/
|
|
224
238
|
proto.supervisor.ExposePortResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -228,8 +242,8 @@ proto.supervisor.ExposePortResponse.prototype.toObject = function(opt_includeIns
|
|
|
228
242
|
|
|
229
243
|
/**
|
|
230
244
|
* Static version of the {@see toObject} method.
|
|
231
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
232
|
-
* instance for transitional soy proto support:
|
|
245
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
246
|
+
* the JSPB instance for transitional soy proto support:
|
|
233
247
|
* http://goto/soy-param-migration
|
|
234
248
|
* @param {!proto.supervisor.ExposePortResponse} msg The msg instance to transform.
|
|
235
249
|
* @return {!Object}
|
package/lib/info_grpc_pb.d.ts
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// file: info.proto
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
5
6
|
|
|
6
|
-
import * as grpc from "grpc";
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
7
8
|
import * as info_pb from "./info_pb";
|
|
8
9
|
|
|
9
10
|
interface IInfoServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
@@ -11,9 +12,9 @@ interface IInfoServiceService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
interface IInfoServiceService_IWorkspaceInfo extends grpc.MethodDefinition<info_pb.WorkspaceInfoRequest, info_pb.WorkspaceInfoResponse> {
|
|
14
|
-
path:
|
|
15
|
-
requestStream:
|
|
16
|
-
responseStream:
|
|
15
|
+
path: "/supervisor.InfoService/WorkspaceInfo";
|
|
16
|
+
requestStream: false;
|
|
17
|
+
responseStream: false;
|
|
17
18
|
requestSerialize: grpc.serialize<info_pb.WorkspaceInfoRequest>;
|
|
18
19
|
requestDeserialize: grpc.deserialize<info_pb.WorkspaceInfoRequest>;
|
|
19
20
|
responseSerialize: grpc.serialize<info_pb.WorkspaceInfoResponse>;
|
|
@@ -22,7 +23,7 @@ interface IInfoServiceService_IWorkspaceInfo extends grpc.MethodDefinition<info_
|
|
|
22
23
|
|
|
23
24
|
export const InfoServiceService: IInfoServiceService;
|
|
24
25
|
|
|
25
|
-
export interface IInfoServiceServer {
|
|
26
|
+
export interface IInfoServiceServer extends grpc.UntypedServiceImplementation {
|
|
26
27
|
workspaceInfo: grpc.handleUnaryCall<info_pb.WorkspaceInfoRequest, info_pb.WorkspaceInfoResponse>;
|
|
27
28
|
}
|
|
28
29
|
|
|
@@ -33,7 +34,7 @@ export interface IInfoServiceClient {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
export class InfoServiceClient extends grpc.Client implements IInfoServiceClient {
|
|
36
|
-
constructor(address: string, credentials: grpc.ChannelCredentials, options?:
|
|
37
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
37
38
|
public workspaceInfo(request: info_pb.WorkspaceInfoRequest, callback: (error: grpc.ServiceError | null, response: info_pb.WorkspaceInfoResponse) => void): grpc.ClientUnaryCall;
|
|
38
39
|
public workspaceInfo(request: info_pb.WorkspaceInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: info_pb.WorkspaceInfoResponse) => void): grpc.ClientUnaryCall;
|
|
39
40
|
public workspaceInfo(request: info_pb.WorkspaceInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: info_pb.WorkspaceInfoResponse) => void): grpc.ClientUnaryCall;
|
package/lib/info_pb.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// file: info.proto
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
5
6
|
|
|
6
7
|
import * as jspb from "google-protobuf";
|
|
7
8
|
|
|
@@ -24,38 +25,45 @@ export namespace WorkspaceInfoRequest {
|
|
|
24
25
|
|
|
25
26
|
export class WorkspaceInfoResponse extends jspb.Message {
|
|
26
27
|
getWorkspaceId(): string;
|
|
27
|
-
setWorkspaceId(value: string):
|
|
28
|
-
|
|
28
|
+
setWorkspaceId(value: string): WorkspaceInfoResponse;
|
|
29
29
|
getInstanceId(): string;
|
|
30
|
-
setInstanceId(value: string):
|
|
31
|
-
|
|
30
|
+
setInstanceId(value: string): WorkspaceInfoResponse;
|
|
32
31
|
getCheckoutLocation(): string;
|
|
33
|
-
setCheckoutLocation(value: string):
|
|
34
|
-
|
|
32
|
+
setCheckoutLocation(value: string): WorkspaceInfoResponse;
|
|
35
33
|
|
|
36
34
|
hasWorkspaceLocationFile(): boolean;
|
|
37
35
|
clearWorkspaceLocationFile(): void;
|
|
38
36
|
getWorkspaceLocationFile(): string;
|
|
39
|
-
setWorkspaceLocationFile(value: string):
|
|
40
|
-
|
|
37
|
+
setWorkspaceLocationFile(value: string): WorkspaceInfoResponse;
|
|
41
38
|
|
|
42
39
|
hasWorkspaceLocationFolder(): boolean;
|
|
43
40
|
clearWorkspaceLocationFolder(): void;
|
|
44
41
|
getWorkspaceLocationFolder(): string;
|
|
45
|
-
setWorkspaceLocationFolder(value: string):
|
|
46
|
-
|
|
42
|
+
setWorkspaceLocationFolder(value: string): WorkspaceInfoResponse;
|
|
47
43
|
getUserHome(): string;
|
|
48
|
-
setUserHome(value: string):
|
|
49
|
-
|
|
44
|
+
setUserHome(value: string): WorkspaceInfoResponse;
|
|
50
45
|
|
|
51
46
|
hasGitpodApi(): boolean;
|
|
52
47
|
clearGitpodApi(): void;
|
|
53
48
|
getGitpodApi(): WorkspaceInfoResponse.GitpodAPI | undefined;
|
|
54
|
-
setGitpodApi(value?: WorkspaceInfoResponse.GitpodAPI):
|
|
55
|
-
|
|
49
|
+
setGitpodApi(value?: WorkspaceInfoResponse.GitpodAPI): WorkspaceInfoResponse;
|
|
56
50
|
getGitpodHost(): string;
|
|
57
|
-
setGitpodHost(value: string):
|
|
58
|
-
|
|
51
|
+
setGitpodHost(value: string): WorkspaceInfoResponse;
|
|
52
|
+
getWorkspaceContextUrl(): string;
|
|
53
|
+
setWorkspaceContextUrl(value: string): WorkspaceInfoResponse;
|
|
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;
|
|
59
67
|
|
|
60
68
|
getWorkspaceLocationCase(): WorkspaceInfoResponse.WorkspaceLocationCase;
|
|
61
69
|
|
|
@@ -79,16 +87,20 @@ export namespace WorkspaceInfoResponse {
|
|
|
79
87
|
userHome: string,
|
|
80
88
|
gitpodApi?: WorkspaceInfoResponse.GitpodAPI.AsObject,
|
|
81
89
|
gitpodHost: string,
|
|
90
|
+
workspaceContextUrl: string,
|
|
91
|
+
repository?: WorkspaceInfoResponse.Repository.AsObject,
|
|
92
|
+
workspaceClusterHost: string,
|
|
93
|
+
workspaceUrl: string,
|
|
94
|
+
ideAlias: string,
|
|
95
|
+
idePort: number,
|
|
82
96
|
}
|
|
83
97
|
|
|
84
98
|
|
|
85
99
|
export class GitpodAPI extends jspb.Message {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
setHost(value: string): void;
|
|
91
|
-
|
|
100
|
+
getEndpoint(): string;
|
|
101
|
+
setEndpoint(value: string): GitpodAPI;
|
|
102
|
+
getHost(): string;
|
|
103
|
+
setHost(value: string): GitpodAPI;
|
|
92
104
|
|
|
93
105
|
serializeBinary(): Uint8Array;
|
|
94
106
|
toObject(includeInstance?: boolean): GitpodAPI.AsObject;
|
|
@@ -102,19 +114,39 @@ export namespace WorkspaceInfoResponse {
|
|
|
102
114
|
|
|
103
115
|
export namespace GitpodAPI {
|
|
104
116
|
export type AsObject = {
|
|
105
|
-
|
|
106
|
-
|
|
117
|
+
endpoint: string,
|
|
118
|
+
host: string,
|
|
107
119
|
}
|
|
108
120
|
}
|
|
109
121
|
|
|
122
|
+
export class Repository extends jspb.Message {
|
|
123
|
+
getOwner(): string;
|
|
124
|
+
setOwner(value: string): Repository;
|
|
125
|
+
getName(): string;
|
|
126
|
+
setName(value: string): Repository;
|
|
110
127
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
+
}
|
|
115
137
|
|
|
116
|
-
|
|
138
|
+
export namespace Repository {
|
|
139
|
+
export type AsObject = {
|
|
140
|
+
owner: string,
|
|
141
|
+
name: string,
|
|
142
|
+
}
|
|
143
|
+
}
|
|
117
144
|
|
|
145
|
+
|
|
146
|
+
export enum WorkspaceLocationCase {
|
|
147
|
+
WORKSPACE_LOCATION_NOT_SET = 0,
|
|
148
|
+
WORKSPACE_LOCATION_FILE = 4,
|
|
149
|
+
WORKSPACE_LOCATION_FOLDER = 5,
|
|
118
150
|
}
|
|
119
151
|
|
|
120
152
|
}
|