@gitpod/public-api 0.1.5-vn-fix-undefined-context-ref-on-jb-gateway.2 → 0.1.5-wv-add-image-builds-to-dashboard.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts +38 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js +45 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +68 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js +122 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/index.d.ts +9 -0
- package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/index.js +21 -0
- package/lib/gitpod/experimental/v1/index.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +71 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js +78 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts +467 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js +658 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts +36 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js +53 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
- package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +104 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js +111 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +433 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.js +671 -0
- package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts +285 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js +422 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts +80 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js +87 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts +343 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.js +534 -0
- package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +107 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +114 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +874 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js +1235 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/package.json +9 -11
- package/pkg-yarn.lock +5 -5
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
- package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
- package/lib/gitpod/v1/pagination_pb.js +0 -206
- package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
- package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
- package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
- package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
- package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
- package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
- package/lib/gitpod/v1/workspaces_pb.d.ts +0 -809
- package/lib/gitpod/v1/workspaces_pb.js +0 -5975
@@ -1,36 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
3
|
-
* Licensed under the GNU Affero General Public License (AGPL).
|
4
|
-
* See License-AGPL.txt in the project root for license information.
|
5
|
-
*/
|
6
|
-
|
7
|
-
// package: gitpod.v1
|
8
|
-
// file: gitpod/v1/pagination.proto
|
9
|
-
|
10
|
-
/* tslint:disable */
|
11
|
-
/* eslint-disable */
|
12
|
-
|
13
|
-
import * as jspb from "google-protobuf";
|
14
|
-
|
15
|
-
export class Pagination extends jspb.Message {
|
16
|
-
getPageSize(): number;
|
17
|
-
setPageSize(value: number): Pagination;
|
18
|
-
getPageToken(): string;
|
19
|
-
setPageToken(value: string): Pagination;
|
20
|
-
|
21
|
-
serializeBinary(): Uint8Array;
|
22
|
-
toObject(includeInstance?: boolean): Pagination.AsObject;
|
23
|
-
static toObject(includeInstance: boolean, msg: Pagination): Pagination.AsObject;
|
24
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
25
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
26
|
-
static serializeBinaryToWriter(message: Pagination, writer: jspb.BinaryWriter): void;
|
27
|
-
static deserializeBinary(bytes: Uint8Array): Pagination;
|
28
|
-
static deserializeBinaryFromReader(message: Pagination, reader: jspb.BinaryReader): Pagination;
|
29
|
-
}
|
30
|
-
|
31
|
-
export namespace Pagination {
|
32
|
-
export type AsObject = {
|
33
|
-
pageSize: number,
|
34
|
-
pageToken: string,
|
35
|
-
}
|
36
|
-
}
|
@@ -1,206 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
3
|
-
* Licensed under the GNU Affero General Public License (AGPL).
|
4
|
-
* See License-AGPL.txt in the project root for license information.
|
5
|
-
*/
|
6
|
-
|
7
|
-
// source: gitpod/v1/pagination.proto
|
8
|
-
/**
|
9
|
-
* @fileoverview
|
10
|
-
* @enhanceable
|
11
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
12
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
13
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
14
|
-
* @public
|
15
|
-
*/
|
16
|
-
// GENERATED CODE -- DO NOT EDIT!
|
17
|
-
/* eslint-disable */
|
18
|
-
// @ts-nocheck
|
19
|
-
|
20
|
-
var jspb = require('google-protobuf');
|
21
|
-
var goog = jspb;
|
22
|
-
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
23
|
-
|
24
|
-
goog.exportSymbol('proto.gitpod.v1.Pagination', null, global);
|
25
|
-
/**
|
26
|
-
* Generated by JsPbCodeGenerator.
|
27
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
28
|
-
* server response, or constructed directly in Javascript. The array is used
|
29
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
30
|
-
* If no data is provided, the constructed object will be empty, but still
|
31
|
-
* valid.
|
32
|
-
* @extends {jspb.Message}
|
33
|
-
* @constructor
|
34
|
-
*/
|
35
|
-
proto.gitpod.v1.Pagination = function(opt_data) {
|
36
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
37
|
-
};
|
38
|
-
goog.inherits(proto.gitpod.v1.Pagination, jspb.Message);
|
39
|
-
if (goog.DEBUG && !COMPILED) {
|
40
|
-
/**
|
41
|
-
* @public
|
42
|
-
* @override
|
43
|
-
*/
|
44
|
-
proto.gitpod.v1.Pagination.displayName = 'proto.gitpod.v1.Pagination';
|
45
|
-
}
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
50
|
-
/**
|
51
|
-
* Creates an object representation of this proto.
|
52
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
53
|
-
* Optional fields that are not set will be set to undefined.
|
54
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
55
|
-
* For the list of reserved names please see:
|
56
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
57
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
58
|
-
* JSPB instance for transitional soy proto support:
|
59
|
-
* http://goto/soy-param-migration
|
60
|
-
* @return {!Object}
|
61
|
-
*/
|
62
|
-
proto.gitpod.v1.Pagination.prototype.toObject = function(opt_includeInstance) {
|
63
|
-
return proto.gitpod.v1.Pagination.toObject(opt_includeInstance, this);
|
64
|
-
};
|
65
|
-
|
66
|
-
|
67
|
-
/**
|
68
|
-
* Static version of the {@see toObject} method.
|
69
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
70
|
-
* the JSPB instance for transitional soy proto support:
|
71
|
-
* http://goto/soy-param-migration
|
72
|
-
* @param {!proto.gitpod.v1.Pagination} msg The msg instance to transform.
|
73
|
-
* @return {!Object}
|
74
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
75
|
-
*/
|
76
|
-
proto.gitpod.v1.Pagination.toObject = function(includeInstance, msg) {
|
77
|
-
var f, obj = {
|
78
|
-
pageSize: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
79
|
-
pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
80
|
-
};
|
81
|
-
|
82
|
-
if (includeInstance) {
|
83
|
-
obj.$jspbMessageInstance = msg;
|
84
|
-
}
|
85
|
-
return obj;
|
86
|
-
};
|
87
|
-
}
|
88
|
-
|
89
|
-
|
90
|
-
/**
|
91
|
-
* Deserializes binary data (in protobuf wire format).
|
92
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
93
|
-
* @return {!proto.gitpod.v1.Pagination}
|
94
|
-
*/
|
95
|
-
proto.gitpod.v1.Pagination.deserializeBinary = function(bytes) {
|
96
|
-
var reader = new jspb.BinaryReader(bytes);
|
97
|
-
var msg = new proto.gitpod.v1.Pagination;
|
98
|
-
return proto.gitpod.v1.Pagination.deserializeBinaryFromReader(msg, reader);
|
99
|
-
};
|
100
|
-
|
101
|
-
|
102
|
-
/**
|
103
|
-
* Deserializes binary data (in protobuf wire format) from the
|
104
|
-
* given reader into the given message object.
|
105
|
-
* @param {!proto.gitpod.v1.Pagination} msg The message object to deserialize into.
|
106
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
107
|
-
* @return {!proto.gitpod.v1.Pagination}
|
108
|
-
*/
|
109
|
-
proto.gitpod.v1.Pagination.deserializeBinaryFromReader = function(msg, reader) {
|
110
|
-
while (reader.nextField()) {
|
111
|
-
if (reader.isEndGroup()) {
|
112
|
-
break;
|
113
|
-
}
|
114
|
-
var field = reader.getFieldNumber();
|
115
|
-
switch (field) {
|
116
|
-
case 1:
|
117
|
-
var value = /** @type {number} */ (reader.readInt32());
|
118
|
-
msg.setPageSize(value);
|
119
|
-
break;
|
120
|
-
case 2:
|
121
|
-
var value = /** @type {string} */ (reader.readString());
|
122
|
-
msg.setPageToken(value);
|
123
|
-
break;
|
124
|
-
default:
|
125
|
-
reader.skipField();
|
126
|
-
break;
|
127
|
-
}
|
128
|
-
}
|
129
|
-
return msg;
|
130
|
-
};
|
131
|
-
|
132
|
-
|
133
|
-
/**
|
134
|
-
* Serializes the message to binary data (in protobuf wire format).
|
135
|
-
* @return {!Uint8Array}
|
136
|
-
*/
|
137
|
-
proto.gitpod.v1.Pagination.prototype.serializeBinary = function() {
|
138
|
-
var writer = new jspb.BinaryWriter();
|
139
|
-
proto.gitpod.v1.Pagination.serializeBinaryToWriter(this, writer);
|
140
|
-
return writer.getResultBuffer();
|
141
|
-
};
|
142
|
-
|
143
|
-
|
144
|
-
/**
|
145
|
-
* Serializes the given message to binary data (in protobuf wire
|
146
|
-
* format), writing to the given BinaryWriter.
|
147
|
-
* @param {!proto.gitpod.v1.Pagination} message
|
148
|
-
* @param {!jspb.BinaryWriter} writer
|
149
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
150
|
-
*/
|
151
|
-
proto.gitpod.v1.Pagination.serializeBinaryToWriter = function(message, writer) {
|
152
|
-
var f = undefined;
|
153
|
-
f = message.getPageSize();
|
154
|
-
if (f !== 0) {
|
155
|
-
writer.writeInt32(
|
156
|
-
1,
|
157
|
-
f
|
158
|
-
);
|
159
|
-
}
|
160
|
-
f = message.getPageToken();
|
161
|
-
if (f.length > 0) {
|
162
|
-
writer.writeString(
|
163
|
-
2,
|
164
|
-
f
|
165
|
-
);
|
166
|
-
}
|
167
|
-
};
|
168
|
-
|
169
|
-
|
170
|
-
/**
|
171
|
-
* optional int32 page_size = 1;
|
172
|
-
* @return {number}
|
173
|
-
*/
|
174
|
-
proto.gitpod.v1.Pagination.prototype.getPageSize = function() {
|
175
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
176
|
-
};
|
177
|
-
|
178
|
-
|
179
|
-
/**
|
180
|
-
* @param {number} value
|
181
|
-
* @return {!proto.gitpod.v1.Pagination} returns this
|
182
|
-
*/
|
183
|
-
proto.gitpod.v1.Pagination.prototype.setPageSize = function(value) {
|
184
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
185
|
-
};
|
186
|
-
|
187
|
-
|
188
|
-
/**
|
189
|
-
* optional string page_token = 2;
|
190
|
-
* @return {string}
|
191
|
-
*/
|
192
|
-
proto.gitpod.v1.Pagination.prototype.getPageToken = function() {
|
193
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
194
|
-
};
|
195
|
-
|
196
|
-
|
197
|
-
/**
|
198
|
-
* @param {string} value
|
199
|
-
* @return {!proto.gitpod.v1.Pagination} returns this
|
200
|
-
*/
|
201
|
-
proto.gitpod.v1.Pagination.prototype.setPageToken = function(value) {
|
202
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
203
|
-
};
|
204
|
-
|
205
|
-
|
206
|
-
goog.object.extend(exports, proto.gitpod.v1);
|
@@ -1,95 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
3
|
-
* Licensed under the GNU Affero General Public License (AGPL).
|
4
|
-
* See License-AGPL.txt in the project root for license information.
|
5
|
-
*/
|
6
|
-
|
7
|
-
// package: gitpod.v1
|
8
|
-
// file: gitpod/v1/prebuilds.proto
|
9
|
-
|
10
|
-
/* tslint:disable */
|
11
|
-
/* eslint-disable */
|
12
|
-
|
13
|
-
import * as grpc from "@grpc/grpc-js";
|
14
|
-
import * as gitpod_v1_prebuilds_pb from "../../gitpod/v1/prebuilds_pb";
|
15
|
-
import * as gitpod_v1_workspaces_pb from "../../gitpod/v1/workspaces_pb";
|
16
|
-
|
17
|
-
interface IPrebuildsServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
18
|
-
getPrebuild: IPrebuildsServiceService_IGetPrebuild;
|
19
|
-
getRunningPrebuild: IPrebuildsServiceService_IGetRunningPrebuild;
|
20
|
-
listenToPrebuildStatus: IPrebuildsServiceService_IListenToPrebuildStatus;
|
21
|
-
listenToPrebuildLogs: IPrebuildsServiceService_IListenToPrebuildLogs;
|
22
|
-
}
|
23
|
-
|
24
|
-
interface IPrebuildsServiceService_IGetPrebuild extends grpc.MethodDefinition<gitpod_v1_prebuilds_pb.GetPrebuildRequest, gitpod_v1_prebuilds_pb.GetPrebuildResponse> {
|
25
|
-
path: "/gitpod.v1.PrebuildsService/GetPrebuild";
|
26
|
-
requestStream: false;
|
27
|
-
responseStream: false;
|
28
|
-
requestSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.GetPrebuildRequest>;
|
29
|
-
requestDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.GetPrebuildRequest>;
|
30
|
-
responseSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.GetPrebuildResponse>;
|
31
|
-
responseDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.GetPrebuildResponse>;
|
32
|
-
}
|
33
|
-
interface IPrebuildsServiceService_IGetRunningPrebuild extends grpc.MethodDefinition<gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse> {
|
34
|
-
path: "/gitpod.v1.PrebuildsService/GetRunningPrebuild";
|
35
|
-
requestStream: false;
|
36
|
-
responseStream: false;
|
37
|
-
requestSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest>;
|
38
|
-
requestDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest>;
|
39
|
-
responseSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse>;
|
40
|
-
responseDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse>;
|
41
|
-
}
|
42
|
-
interface IPrebuildsServiceService_IListenToPrebuildStatus extends grpc.MethodDefinition<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest, gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse> {
|
43
|
-
path: "/gitpod.v1.PrebuildsService/ListenToPrebuildStatus";
|
44
|
-
requestStream: false;
|
45
|
-
responseStream: true;
|
46
|
-
requestSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest>;
|
47
|
-
requestDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest>;
|
48
|
-
responseSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse>;
|
49
|
-
responseDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse>;
|
50
|
-
}
|
51
|
-
interface IPrebuildsServiceService_IListenToPrebuildLogs extends grpc.MethodDefinition<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest, gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse> {
|
52
|
-
path: "/gitpod.v1.PrebuildsService/ListenToPrebuildLogs";
|
53
|
-
requestStream: false;
|
54
|
-
responseStream: true;
|
55
|
-
requestSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest>;
|
56
|
-
requestDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest>;
|
57
|
-
responseSerialize: grpc.serialize<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse>;
|
58
|
-
responseDeserialize: grpc.deserialize<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse>;
|
59
|
-
}
|
60
|
-
|
61
|
-
export const PrebuildsServiceService: IPrebuildsServiceService;
|
62
|
-
|
63
|
-
export interface IPrebuildsServiceServer extends grpc.UntypedServiceImplementation {
|
64
|
-
getPrebuild: grpc.handleUnaryCall<gitpod_v1_prebuilds_pb.GetPrebuildRequest, gitpod_v1_prebuilds_pb.GetPrebuildResponse>;
|
65
|
-
getRunningPrebuild: grpc.handleUnaryCall<gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse>;
|
66
|
-
listenToPrebuildStatus: grpc.handleServerStreamingCall<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest, gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse>;
|
67
|
-
listenToPrebuildLogs: grpc.handleServerStreamingCall<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest, gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse>;
|
68
|
-
}
|
69
|
-
|
70
|
-
export interface IPrebuildsServiceClient {
|
71
|
-
getPrebuild(request: gitpod_v1_prebuilds_pb.GetPrebuildRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetPrebuildResponse) => void): grpc.ClientUnaryCall;
|
72
|
-
getPrebuild(request: gitpod_v1_prebuilds_pb.GetPrebuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetPrebuildResponse) => void): grpc.ClientUnaryCall;
|
73
|
-
getPrebuild(request: gitpod_v1_prebuilds_pb.GetPrebuildRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetPrebuildResponse) => void): grpc.ClientUnaryCall;
|
74
|
-
getRunningPrebuild(request: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse) => void): grpc.ClientUnaryCall;
|
75
|
-
getRunningPrebuild(request: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse) => void): grpc.ClientUnaryCall;
|
76
|
-
getRunningPrebuild(request: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse) => void): grpc.ClientUnaryCall;
|
77
|
-
listenToPrebuildStatus(request: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse>;
|
78
|
-
listenToPrebuildStatus(request: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse>;
|
79
|
-
listenToPrebuildLogs(request: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse>;
|
80
|
-
listenToPrebuildLogs(request: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse>;
|
81
|
-
}
|
82
|
-
|
83
|
-
export class PrebuildsServiceClient extends grpc.Client implements IPrebuildsServiceClient {
|
84
|
-
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
85
|
-
public getPrebuild(request: gitpod_v1_prebuilds_pb.GetPrebuildRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetPrebuildResponse) => void): grpc.ClientUnaryCall;
|
86
|
-
public getPrebuild(request: gitpod_v1_prebuilds_pb.GetPrebuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetPrebuildResponse) => void): grpc.ClientUnaryCall;
|
87
|
-
public getPrebuild(request: gitpod_v1_prebuilds_pb.GetPrebuildRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetPrebuildResponse) => void): grpc.ClientUnaryCall;
|
88
|
-
public getRunningPrebuild(request: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse) => void): grpc.ClientUnaryCall;
|
89
|
-
public getRunningPrebuild(request: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse) => void): grpc.ClientUnaryCall;
|
90
|
-
public getRunningPrebuild(request: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse) => void): grpc.ClientUnaryCall;
|
91
|
-
public listenToPrebuildStatus(request: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse>;
|
92
|
-
public listenToPrebuildStatus(request: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse>;
|
93
|
-
public listenToPrebuildLogs(request: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse>;
|
94
|
-
public listenToPrebuildLogs(request: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse>;
|
95
|
-
}
|
@@ -1,161 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
3
|
-
* Licensed under the GNU Affero General Public License (AGPL).
|
4
|
-
* See License-AGPL.txt in the project root for license information.
|
5
|
-
*/
|
6
|
-
|
7
|
-
// GENERATED CODE -- DO NOT EDIT!
|
8
|
-
|
9
|
-
'use strict';
|
10
|
-
var grpc = require('@grpc/grpc-js');
|
11
|
-
var gitpod_v1_prebuilds_pb = require('../../gitpod/v1/prebuilds_pb.js');
|
12
|
-
var gitpod_v1_workspaces_pb = require('../../gitpod/v1/workspaces_pb.js');
|
13
|
-
|
14
|
-
function serialize_gitpod_v1_GetPrebuildRequest(arg) {
|
15
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.GetPrebuildRequest)) {
|
16
|
-
throw new Error('Expected argument of type gitpod.v1.GetPrebuildRequest');
|
17
|
-
}
|
18
|
-
return Buffer.from(arg.serializeBinary());
|
19
|
-
}
|
20
|
-
|
21
|
-
function deserialize_gitpod_v1_GetPrebuildRequest(buffer_arg) {
|
22
|
-
return gitpod_v1_prebuilds_pb.GetPrebuildRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
23
|
-
}
|
24
|
-
|
25
|
-
function serialize_gitpod_v1_GetPrebuildResponse(arg) {
|
26
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.GetPrebuildResponse)) {
|
27
|
-
throw new Error('Expected argument of type gitpod.v1.GetPrebuildResponse');
|
28
|
-
}
|
29
|
-
return Buffer.from(arg.serializeBinary());
|
30
|
-
}
|
31
|
-
|
32
|
-
function deserialize_gitpod_v1_GetPrebuildResponse(buffer_arg) {
|
33
|
-
return gitpod_v1_prebuilds_pb.GetPrebuildResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
34
|
-
}
|
35
|
-
|
36
|
-
function serialize_gitpod_v1_GetRunningPrebuildRequest(arg) {
|
37
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest)) {
|
38
|
-
throw new Error('Expected argument of type gitpod.v1.GetRunningPrebuildRequest');
|
39
|
-
}
|
40
|
-
return Buffer.from(arg.serializeBinary());
|
41
|
-
}
|
42
|
-
|
43
|
-
function deserialize_gitpod_v1_GetRunningPrebuildRequest(buffer_arg) {
|
44
|
-
return gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
45
|
-
}
|
46
|
-
|
47
|
-
function serialize_gitpod_v1_GetRunningPrebuildResponse(arg) {
|
48
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse)) {
|
49
|
-
throw new Error('Expected argument of type gitpod.v1.GetRunningPrebuildResponse');
|
50
|
-
}
|
51
|
-
return Buffer.from(arg.serializeBinary());
|
52
|
-
}
|
53
|
-
|
54
|
-
function deserialize_gitpod_v1_GetRunningPrebuildResponse(buffer_arg) {
|
55
|
-
return gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
56
|
-
}
|
57
|
-
|
58
|
-
function serialize_gitpod_v1_ListenToPrebuildLogsRequest(arg) {
|
59
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest)) {
|
60
|
-
throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildLogsRequest');
|
61
|
-
}
|
62
|
-
return Buffer.from(arg.serializeBinary());
|
63
|
-
}
|
64
|
-
|
65
|
-
function deserialize_gitpod_v1_ListenToPrebuildLogsRequest(buffer_arg) {
|
66
|
-
return gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
67
|
-
}
|
68
|
-
|
69
|
-
function serialize_gitpod_v1_ListenToPrebuildLogsResponse(arg) {
|
70
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse)) {
|
71
|
-
throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildLogsResponse');
|
72
|
-
}
|
73
|
-
return Buffer.from(arg.serializeBinary());
|
74
|
-
}
|
75
|
-
|
76
|
-
function deserialize_gitpod_v1_ListenToPrebuildLogsResponse(buffer_arg) {
|
77
|
-
return gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
78
|
-
}
|
79
|
-
|
80
|
-
function serialize_gitpod_v1_ListenToPrebuildStatusRequest(arg) {
|
81
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest)) {
|
82
|
-
throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildStatusRequest');
|
83
|
-
}
|
84
|
-
return Buffer.from(arg.serializeBinary());
|
85
|
-
}
|
86
|
-
|
87
|
-
function deserialize_gitpod_v1_ListenToPrebuildStatusRequest(buffer_arg) {
|
88
|
-
return gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
89
|
-
}
|
90
|
-
|
91
|
-
function serialize_gitpod_v1_ListenToPrebuildStatusResponse(arg) {
|
92
|
-
if (!(arg instanceof gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse)) {
|
93
|
-
throw new Error('Expected argument of type gitpod.v1.ListenToPrebuildStatusResponse');
|
94
|
-
}
|
95
|
-
return Buffer.from(arg.serializeBinary());
|
96
|
-
}
|
97
|
-
|
98
|
-
function deserialize_gitpod_v1_ListenToPrebuildStatusResponse(buffer_arg) {
|
99
|
-
return gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
100
|
-
}
|
101
|
-
|
102
|
-
|
103
|
-
// import "gitpod/v1/pagination.proto";
|
104
|
-
//
|
105
|
-
var PrebuildsServiceService = exports.PrebuildsServiceService = {
|
106
|
-
// GetPrebuild retrieves a single rebuild.
|
107
|
-
// Errors:
|
108
|
-
// NOT_FOUND if the prebuild_id does not exist
|
109
|
-
getPrebuild: {
|
110
|
-
path: '/gitpod.v1.PrebuildsService/GetPrebuild',
|
111
|
-
requestStream: false,
|
112
|
-
responseStream: false,
|
113
|
-
requestType: gitpod_v1_prebuilds_pb.GetPrebuildRequest,
|
114
|
-
responseType: gitpod_v1_prebuilds_pb.GetPrebuildResponse,
|
115
|
-
requestSerialize: serialize_gitpod_v1_GetPrebuildRequest,
|
116
|
-
requestDeserialize: deserialize_gitpod_v1_GetPrebuildRequest,
|
117
|
-
responseSerialize: serialize_gitpod_v1_GetPrebuildResponse,
|
118
|
-
responseDeserialize: deserialize_gitpod_v1_GetPrebuildResponse,
|
119
|
-
},
|
120
|
-
// GetRunningPrebuild returns the prebuild ID of a running prebuild,
|
121
|
-
// or NOT_FOUND if there is no prebuild running for the content_url.
|
122
|
-
getRunningPrebuild: {
|
123
|
-
path: '/gitpod.v1.PrebuildsService/GetRunningPrebuild',
|
124
|
-
requestStream: false,
|
125
|
-
responseStream: false,
|
126
|
-
requestType: gitpod_v1_prebuilds_pb.GetRunningPrebuildRequest,
|
127
|
-
responseType: gitpod_v1_prebuilds_pb.GetRunningPrebuildResponse,
|
128
|
-
requestSerialize: serialize_gitpod_v1_GetRunningPrebuildRequest,
|
129
|
-
requestDeserialize: deserialize_gitpod_v1_GetRunningPrebuildRequest,
|
130
|
-
responseSerialize: serialize_gitpod_v1_GetRunningPrebuildResponse,
|
131
|
-
responseDeserialize: deserialize_gitpod_v1_GetRunningPrebuildResponse,
|
132
|
-
},
|
133
|
-
// ListenToPrebuildStatus streams status updates for a prebuild. If the prebuild is already
|
134
|
-
// in the Done phase, only that single status is streamed.
|
135
|
-
listenToPrebuildStatus: {
|
136
|
-
path: '/gitpod.v1.PrebuildsService/ListenToPrebuildStatus',
|
137
|
-
requestStream: false,
|
138
|
-
responseStream: true,
|
139
|
-
requestType: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusRequest,
|
140
|
-
responseType: gitpod_v1_prebuilds_pb.ListenToPrebuildStatusResponse,
|
141
|
-
requestSerialize: serialize_gitpod_v1_ListenToPrebuildStatusRequest,
|
142
|
-
requestDeserialize: deserialize_gitpod_v1_ListenToPrebuildStatusRequest,
|
143
|
-
responseSerialize: serialize_gitpod_v1_ListenToPrebuildStatusResponse,
|
144
|
-
responseDeserialize: deserialize_gitpod_v1_ListenToPrebuildStatusResponse,
|
145
|
-
},
|
146
|
-
// ListenToPrebuildLogs returns the log output of a prebuild.
|
147
|
-
// This does NOT include an image build if one happened.
|
148
|
-
listenToPrebuildLogs: {
|
149
|
-
path: '/gitpod.v1.PrebuildsService/ListenToPrebuildLogs',
|
150
|
-
requestStream: false,
|
151
|
-
responseStream: true,
|
152
|
-
requestType: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsRequest,
|
153
|
-
responseType: gitpod_v1_prebuilds_pb.ListenToPrebuildLogsResponse,
|
154
|
-
requestSerialize: serialize_gitpod_v1_ListenToPrebuildLogsRequest,
|
155
|
-
requestDeserialize: deserialize_gitpod_v1_ListenToPrebuildLogsRequest,
|
156
|
-
responseSerialize: serialize_gitpod_v1_ListenToPrebuildLogsResponse,
|
157
|
-
responseDeserialize: deserialize_gitpod_v1_ListenToPrebuildLogsResponse,
|
158
|
-
},
|
159
|
-
};
|
160
|
-
|
161
|
-
exports.PrebuildsServiceClient = grpc.makeGenericClientConstructor(PrebuildsServiceService);
|