Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api/go/experimental/v1/v1connect/workspaces.connect.go
2501 views
1
// Copyright (c) 2025 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-connect-go. DO NOT EDIT.
6
//
7
// Source: gitpod/experimental/v1/workspaces.proto
8
9
package v1connect
10
11
import (
12
context "context"
13
errors "errors"
14
connect_go "github.com/bufbuild/connect-go"
15
v1 "github.com/gitpod-io/gitpod/components/public-api/go/experimental/v1"
16
http "net/http"
17
strings "strings"
18
)
19
20
// This is a compile-time assertion to ensure that this generated file and the connect package are
21
// compatible. If you get a compiler error that this constant is not defined, this code was
22
// generated with a version of connect newer than the one compiled into your binary. You can fix the
23
// problem by either regenerating this code with an older version of connect or updating the connect
24
// version compiled into your binary.
25
const _ = connect_go.IsAtLeastVersion0_1_0
26
27
const (
28
// WorkspacesServiceName is the fully-qualified name of the WorkspacesService service.
29
WorkspacesServiceName = "gitpod.experimental.v1.WorkspacesService"
30
)
31
32
// WorkspacesServiceClient is a client for the gitpod.experimental.v1.WorkspacesService service.
33
type WorkspacesServiceClient interface {
34
// ListWorkspaces enumerates all workspaces belonging to the authenticated user.
35
ListWorkspaces(context.Context, *connect_go.Request[v1.ListWorkspacesRequest]) (*connect_go.Response[v1.ListWorkspacesResponse], error)
36
// GetWorkspace returns a single workspace.
37
GetWorkspace(context.Context, *connect_go.Request[v1.GetWorkspaceRequest]) (*connect_go.Response[v1.GetWorkspaceResponse], error)
38
// StreamWorkspaceStatus returns workspace status once it changed.
39
StreamWorkspaceStatus(context.Context, *connect_go.Request[v1.StreamWorkspaceStatusRequest]) (*connect_go.ServerStreamForClient[v1.StreamWorkspaceStatusResponse], error)
40
// GetOwnerToken returns an owner token.
41
GetOwnerToken(context.Context, *connect_go.Request[v1.GetOwnerTokenRequest]) (*connect_go.Response[v1.GetOwnerTokenResponse], error)
42
// CreateAndStartWorkspace creates a new workspace and starts it.
43
CreateAndStartWorkspace(context.Context, *connect_go.Request[v1.CreateAndStartWorkspaceRequest]) (*connect_go.Response[v1.CreateAndStartWorkspaceResponse], error)
44
// StartWorkspace starts an existing workspace.
45
StartWorkspace(context.Context, *connect_go.Request[v1.StartWorkspaceRequest]) (*connect_go.Response[v1.StartWorkspaceResponse], error)
46
// StopWorkspace stops a running workspace (instance).
47
// Errors:
48
//
49
// NOT_FOUND: the workspace_id is unkown
50
// FAILED_PRECONDITION: if there's no running instance
51
StopWorkspace(context.Context, *connect_go.Request[v1.StopWorkspaceRequest]) (*connect_go.Response[v1.StopWorkspaceResponse], error)
52
// DeleteWorkspace deletes a workspace.
53
// When the workspace is running, it will be stopped as well.
54
// Deleted workspaces cannot be started again.
55
DeleteWorkspace(context.Context, *connect_go.Request[v1.DeleteWorkspaceRequest]) (*connect_go.Response[v1.DeleteWorkspaceResponse], error)
56
UpdatePort(context.Context, *connect_go.Request[v1.UpdatePortRequest]) (*connect_go.Response[v1.UpdatePortResponse], error)
57
// ListWorkspaceClasses enumerates all available workspace classes.
58
ListWorkspaceClasses(context.Context, *connect_go.Request[v1.ListWorkspaceClassesRequest]) (*connect_go.Response[v1.ListWorkspaceClassesResponse], error)
59
// GetDefaultWorkspaceImage returns the default workspace image from different sources.
60
GetDefaultWorkspaceImage(context.Context, *connect_go.Request[v1.GetDefaultWorkspaceImageRequest]) (*connect_go.Response[v1.GetDefaultWorkspaceImageResponse], error)
61
}
62
63
// NewWorkspacesServiceClient constructs a client for the gitpod.experimental.v1.WorkspacesService
64
// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for
65
// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply
66
// the connect.WithGRPC() or connect.WithGRPCWeb() options.
67
//
68
// The URL supplied here should be the base URL for the Connect or gRPC server (for example,
69
// http://api.acme.com or https://acme.com/grpc).
70
func NewWorkspacesServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) WorkspacesServiceClient {
71
baseURL = strings.TrimRight(baseURL, "/")
72
return &workspacesServiceClient{
73
listWorkspaces: connect_go.NewClient[v1.ListWorkspacesRequest, v1.ListWorkspacesResponse](
74
httpClient,
75
baseURL+"/gitpod.experimental.v1.WorkspacesService/ListWorkspaces",
76
opts...,
77
),
78
getWorkspace: connect_go.NewClient[v1.GetWorkspaceRequest, v1.GetWorkspaceResponse](
79
httpClient,
80
baseURL+"/gitpod.experimental.v1.WorkspacesService/GetWorkspace",
81
opts...,
82
),
83
streamWorkspaceStatus: connect_go.NewClient[v1.StreamWorkspaceStatusRequest, v1.StreamWorkspaceStatusResponse](
84
httpClient,
85
baseURL+"/gitpod.experimental.v1.WorkspacesService/StreamWorkspaceStatus",
86
opts...,
87
),
88
getOwnerToken: connect_go.NewClient[v1.GetOwnerTokenRequest, v1.GetOwnerTokenResponse](
89
httpClient,
90
baseURL+"/gitpod.experimental.v1.WorkspacesService/GetOwnerToken",
91
opts...,
92
),
93
createAndStartWorkspace: connect_go.NewClient[v1.CreateAndStartWorkspaceRequest, v1.CreateAndStartWorkspaceResponse](
94
httpClient,
95
baseURL+"/gitpod.experimental.v1.WorkspacesService/CreateAndStartWorkspace",
96
opts...,
97
),
98
startWorkspace: connect_go.NewClient[v1.StartWorkspaceRequest, v1.StartWorkspaceResponse](
99
httpClient,
100
baseURL+"/gitpod.experimental.v1.WorkspacesService/StartWorkspace",
101
opts...,
102
),
103
stopWorkspace: connect_go.NewClient[v1.StopWorkspaceRequest, v1.StopWorkspaceResponse](
104
httpClient,
105
baseURL+"/gitpod.experimental.v1.WorkspacesService/StopWorkspace",
106
opts...,
107
),
108
deleteWorkspace: connect_go.NewClient[v1.DeleteWorkspaceRequest, v1.DeleteWorkspaceResponse](
109
httpClient,
110
baseURL+"/gitpod.experimental.v1.WorkspacesService/DeleteWorkspace",
111
opts...,
112
),
113
updatePort: connect_go.NewClient[v1.UpdatePortRequest, v1.UpdatePortResponse](
114
httpClient,
115
baseURL+"/gitpod.experimental.v1.WorkspacesService/UpdatePort",
116
opts...,
117
),
118
listWorkspaceClasses: connect_go.NewClient[v1.ListWorkspaceClassesRequest, v1.ListWorkspaceClassesResponse](
119
httpClient,
120
baseURL+"/gitpod.experimental.v1.WorkspacesService/ListWorkspaceClasses",
121
opts...,
122
),
123
getDefaultWorkspaceImage: connect_go.NewClient[v1.GetDefaultWorkspaceImageRequest, v1.GetDefaultWorkspaceImageResponse](
124
httpClient,
125
baseURL+"/gitpod.experimental.v1.WorkspacesService/GetDefaultWorkspaceImage",
126
opts...,
127
),
128
}
129
}
130
131
// workspacesServiceClient implements WorkspacesServiceClient.
132
type workspacesServiceClient struct {
133
listWorkspaces *connect_go.Client[v1.ListWorkspacesRequest, v1.ListWorkspacesResponse]
134
getWorkspace *connect_go.Client[v1.GetWorkspaceRequest, v1.GetWorkspaceResponse]
135
streamWorkspaceStatus *connect_go.Client[v1.StreamWorkspaceStatusRequest, v1.StreamWorkspaceStatusResponse]
136
getOwnerToken *connect_go.Client[v1.GetOwnerTokenRequest, v1.GetOwnerTokenResponse]
137
createAndStartWorkspace *connect_go.Client[v1.CreateAndStartWorkspaceRequest, v1.CreateAndStartWorkspaceResponse]
138
startWorkspace *connect_go.Client[v1.StartWorkspaceRequest, v1.StartWorkspaceResponse]
139
stopWorkspace *connect_go.Client[v1.StopWorkspaceRequest, v1.StopWorkspaceResponse]
140
deleteWorkspace *connect_go.Client[v1.DeleteWorkspaceRequest, v1.DeleteWorkspaceResponse]
141
updatePort *connect_go.Client[v1.UpdatePortRequest, v1.UpdatePortResponse]
142
listWorkspaceClasses *connect_go.Client[v1.ListWorkspaceClassesRequest, v1.ListWorkspaceClassesResponse]
143
getDefaultWorkspaceImage *connect_go.Client[v1.GetDefaultWorkspaceImageRequest, v1.GetDefaultWorkspaceImageResponse]
144
}
145
146
// ListWorkspaces calls gitpod.experimental.v1.WorkspacesService.ListWorkspaces.
147
func (c *workspacesServiceClient) ListWorkspaces(ctx context.Context, req *connect_go.Request[v1.ListWorkspacesRequest]) (*connect_go.Response[v1.ListWorkspacesResponse], error) {
148
return c.listWorkspaces.CallUnary(ctx, req)
149
}
150
151
// GetWorkspace calls gitpod.experimental.v1.WorkspacesService.GetWorkspace.
152
func (c *workspacesServiceClient) GetWorkspace(ctx context.Context, req *connect_go.Request[v1.GetWorkspaceRequest]) (*connect_go.Response[v1.GetWorkspaceResponse], error) {
153
return c.getWorkspace.CallUnary(ctx, req)
154
}
155
156
// StreamWorkspaceStatus calls gitpod.experimental.v1.WorkspacesService.StreamWorkspaceStatus.
157
func (c *workspacesServiceClient) StreamWorkspaceStatus(ctx context.Context, req *connect_go.Request[v1.StreamWorkspaceStatusRequest]) (*connect_go.ServerStreamForClient[v1.StreamWorkspaceStatusResponse], error) {
158
return c.streamWorkspaceStatus.CallServerStream(ctx, req)
159
}
160
161
// GetOwnerToken calls gitpod.experimental.v1.WorkspacesService.GetOwnerToken.
162
func (c *workspacesServiceClient) GetOwnerToken(ctx context.Context, req *connect_go.Request[v1.GetOwnerTokenRequest]) (*connect_go.Response[v1.GetOwnerTokenResponse], error) {
163
return c.getOwnerToken.CallUnary(ctx, req)
164
}
165
166
// CreateAndStartWorkspace calls gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace.
167
func (c *workspacesServiceClient) CreateAndStartWorkspace(ctx context.Context, req *connect_go.Request[v1.CreateAndStartWorkspaceRequest]) (*connect_go.Response[v1.CreateAndStartWorkspaceResponse], error) {
168
return c.createAndStartWorkspace.CallUnary(ctx, req)
169
}
170
171
// StartWorkspace calls gitpod.experimental.v1.WorkspacesService.StartWorkspace.
172
func (c *workspacesServiceClient) StartWorkspace(ctx context.Context, req *connect_go.Request[v1.StartWorkspaceRequest]) (*connect_go.Response[v1.StartWorkspaceResponse], error) {
173
return c.startWorkspace.CallUnary(ctx, req)
174
}
175
176
// StopWorkspace calls gitpod.experimental.v1.WorkspacesService.StopWorkspace.
177
func (c *workspacesServiceClient) StopWorkspace(ctx context.Context, req *connect_go.Request[v1.StopWorkspaceRequest]) (*connect_go.Response[v1.StopWorkspaceResponse], error) {
178
return c.stopWorkspace.CallUnary(ctx, req)
179
}
180
181
// DeleteWorkspace calls gitpod.experimental.v1.WorkspacesService.DeleteWorkspace.
182
func (c *workspacesServiceClient) DeleteWorkspace(ctx context.Context, req *connect_go.Request[v1.DeleteWorkspaceRequest]) (*connect_go.Response[v1.DeleteWorkspaceResponse], error) {
183
return c.deleteWorkspace.CallUnary(ctx, req)
184
}
185
186
// UpdatePort calls gitpod.experimental.v1.WorkspacesService.UpdatePort.
187
func (c *workspacesServiceClient) UpdatePort(ctx context.Context, req *connect_go.Request[v1.UpdatePortRequest]) (*connect_go.Response[v1.UpdatePortResponse], error) {
188
return c.updatePort.CallUnary(ctx, req)
189
}
190
191
// ListWorkspaceClasses calls gitpod.experimental.v1.WorkspacesService.ListWorkspaceClasses.
192
func (c *workspacesServiceClient) ListWorkspaceClasses(ctx context.Context, req *connect_go.Request[v1.ListWorkspaceClassesRequest]) (*connect_go.Response[v1.ListWorkspaceClassesResponse], error) {
193
return c.listWorkspaceClasses.CallUnary(ctx, req)
194
}
195
196
// GetDefaultWorkspaceImage calls gitpod.experimental.v1.WorkspacesService.GetDefaultWorkspaceImage.
197
func (c *workspacesServiceClient) GetDefaultWorkspaceImage(ctx context.Context, req *connect_go.Request[v1.GetDefaultWorkspaceImageRequest]) (*connect_go.Response[v1.GetDefaultWorkspaceImageResponse], error) {
198
return c.getDefaultWorkspaceImage.CallUnary(ctx, req)
199
}
200
201
// WorkspacesServiceHandler is an implementation of the gitpod.experimental.v1.WorkspacesService
202
// service.
203
type WorkspacesServiceHandler interface {
204
// ListWorkspaces enumerates all workspaces belonging to the authenticated user.
205
ListWorkspaces(context.Context, *connect_go.Request[v1.ListWorkspacesRequest]) (*connect_go.Response[v1.ListWorkspacesResponse], error)
206
// GetWorkspace returns a single workspace.
207
GetWorkspace(context.Context, *connect_go.Request[v1.GetWorkspaceRequest]) (*connect_go.Response[v1.GetWorkspaceResponse], error)
208
// StreamWorkspaceStatus returns workspace status once it changed.
209
StreamWorkspaceStatus(context.Context, *connect_go.Request[v1.StreamWorkspaceStatusRequest], *connect_go.ServerStream[v1.StreamWorkspaceStatusResponse]) error
210
// GetOwnerToken returns an owner token.
211
GetOwnerToken(context.Context, *connect_go.Request[v1.GetOwnerTokenRequest]) (*connect_go.Response[v1.GetOwnerTokenResponse], error)
212
// CreateAndStartWorkspace creates a new workspace and starts it.
213
CreateAndStartWorkspace(context.Context, *connect_go.Request[v1.CreateAndStartWorkspaceRequest]) (*connect_go.Response[v1.CreateAndStartWorkspaceResponse], error)
214
// StartWorkspace starts an existing workspace.
215
StartWorkspace(context.Context, *connect_go.Request[v1.StartWorkspaceRequest]) (*connect_go.Response[v1.StartWorkspaceResponse], error)
216
// StopWorkspace stops a running workspace (instance).
217
// Errors:
218
//
219
// NOT_FOUND: the workspace_id is unkown
220
// FAILED_PRECONDITION: if there's no running instance
221
StopWorkspace(context.Context, *connect_go.Request[v1.StopWorkspaceRequest]) (*connect_go.Response[v1.StopWorkspaceResponse], error)
222
// DeleteWorkspace deletes a workspace.
223
// When the workspace is running, it will be stopped as well.
224
// Deleted workspaces cannot be started again.
225
DeleteWorkspace(context.Context, *connect_go.Request[v1.DeleteWorkspaceRequest]) (*connect_go.Response[v1.DeleteWorkspaceResponse], error)
226
UpdatePort(context.Context, *connect_go.Request[v1.UpdatePortRequest]) (*connect_go.Response[v1.UpdatePortResponse], error)
227
// ListWorkspaceClasses enumerates all available workspace classes.
228
ListWorkspaceClasses(context.Context, *connect_go.Request[v1.ListWorkspaceClassesRequest]) (*connect_go.Response[v1.ListWorkspaceClassesResponse], error)
229
// GetDefaultWorkspaceImage returns the default workspace image from different sources.
230
GetDefaultWorkspaceImage(context.Context, *connect_go.Request[v1.GetDefaultWorkspaceImageRequest]) (*connect_go.Response[v1.GetDefaultWorkspaceImageResponse], error)
231
}
232
233
// NewWorkspacesServiceHandler builds an HTTP handler from the service implementation. It returns
234
// the path on which to mount the handler and the handler itself.
235
//
236
// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf
237
// and JSON codecs. They also support gzip compression.
238
func NewWorkspacesServiceHandler(svc WorkspacesServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler) {
239
mux := http.NewServeMux()
240
mux.Handle("/gitpod.experimental.v1.WorkspacesService/ListWorkspaces", connect_go.NewUnaryHandler(
241
"/gitpod.experimental.v1.WorkspacesService/ListWorkspaces",
242
svc.ListWorkspaces,
243
opts...,
244
))
245
mux.Handle("/gitpod.experimental.v1.WorkspacesService/GetWorkspace", connect_go.NewUnaryHandler(
246
"/gitpod.experimental.v1.WorkspacesService/GetWorkspace",
247
svc.GetWorkspace,
248
opts...,
249
))
250
mux.Handle("/gitpod.experimental.v1.WorkspacesService/StreamWorkspaceStatus", connect_go.NewServerStreamHandler(
251
"/gitpod.experimental.v1.WorkspacesService/StreamWorkspaceStatus",
252
svc.StreamWorkspaceStatus,
253
opts...,
254
))
255
mux.Handle("/gitpod.experimental.v1.WorkspacesService/GetOwnerToken", connect_go.NewUnaryHandler(
256
"/gitpod.experimental.v1.WorkspacesService/GetOwnerToken",
257
svc.GetOwnerToken,
258
opts...,
259
))
260
mux.Handle("/gitpod.experimental.v1.WorkspacesService/CreateAndStartWorkspace", connect_go.NewUnaryHandler(
261
"/gitpod.experimental.v1.WorkspacesService/CreateAndStartWorkspace",
262
svc.CreateAndStartWorkspace,
263
opts...,
264
))
265
mux.Handle("/gitpod.experimental.v1.WorkspacesService/StartWorkspace", connect_go.NewUnaryHandler(
266
"/gitpod.experimental.v1.WorkspacesService/StartWorkspace",
267
svc.StartWorkspace,
268
opts...,
269
))
270
mux.Handle("/gitpod.experimental.v1.WorkspacesService/StopWorkspace", connect_go.NewUnaryHandler(
271
"/gitpod.experimental.v1.WorkspacesService/StopWorkspace",
272
svc.StopWorkspace,
273
opts...,
274
))
275
mux.Handle("/gitpod.experimental.v1.WorkspacesService/DeleteWorkspace", connect_go.NewUnaryHandler(
276
"/gitpod.experimental.v1.WorkspacesService/DeleteWorkspace",
277
svc.DeleteWorkspace,
278
opts...,
279
))
280
mux.Handle("/gitpod.experimental.v1.WorkspacesService/UpdatePort", connect_go.NewUnaryHandler(
281
"/gitpod.experimental.v1.WorkspacesService/UpdatePort",
282
svc.UpdatePort,
283
opts...,
284
))
285
mux.Handle("/gitpod.experimental.v1.WorkspacesService/ListWorkspaceClasses", connect_go.NewUnaryHandler(
286
"/gitpod.experimental.v1.WorkspacesService/ListWorkspaceClasses",
287
svc.ListWorkspaceClasses,
288
opts...,
289
))
290
mux.Handle("/gitpod.experimental.v1.WorkspacesService/GetDefaultWorkspaceImage", connect_go.NewUnaryHandler(
291
"/gitpod.experimental.v1.WorkspacesService/GetDefaultWorkspaceImage",
292
svc.GetDefaultWorkspaceImage,
293
opts...,
294
))
295
return "/gitpod.experimental.v1.WorkspacesService/", mux
296
}
297
298
// UnimplementedWorkspacesServiceHandler returns CodeUnimplemented from all methods.
299
type UnimplementedWorkspacesServiceHandler struct{}
300
301
func (UnimplementedWorkspacesServiceHandler) ListWorkspaces(context.Context, *connect_go.Request[v1.ListWorkspacesRequest]) (*connect_go.Response[v1.ListWorkspacesResponse], error) {
302
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.ListWorkspaces is not implemented"))
303
}
304
305
func (UnimplementedWorkspacesServiceHandler) GetWorkspace(context.Context, *connect_go.Request[v1.GetWorkspaceRequest]) (*connect_go.Response[v1.GetWorkspaceResponse], error) {
306
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.GetWorkspace is not implemented"))
307
}
308
309
func (UnimplementedWorkspacesServiceHandler) StreamWorkspaceStatus(context.Context, *connect_go.Request[v1.StreamWorkspaceStatusRequest], *connect_go.ServerStream[v1.StreamWorkspaceStatusResponse]) error {
310
return connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.StreamWorkspaceStatus is not implemented"))
311
}
312
313
func (UnimplementedWorkspacesServiceHandler) GetOwnerToken(context.Context, *connect_go.Request[v1.GetOwnerTokenRequest]) (*connect_go.Response[v1.GetOwnerTokenResponse], error) {
314
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.GetOwnerToken is not implemented"))
315
}
316
317
func (UnimplementedWorkspacesServiceHandler) CreateAndStartWorkspace(context.Context, *connect_go.Request[v1.CreateAndStartWorkspaceRequest]) (*connect_go.Response[v1.CreateAndStartWorkspaceResponse], error) {
318
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace is not implemented"))
319
}
320
321
func (UnimplementedWorkspacesServiceHandler) StartWorkspace(context.Context, *connect_go.Request[v1.StartWorkspaceRequest]) (*connect_go.Response[v1.StartWorkspaceResponse], error) {
322
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.StartWorkspace is not implemented"))
323
}
324
325
func (UnimplementedWorkspacesServiceHandler) StopWorkspace(context.Context, *connect_go.Request[v1.StopWorkspaceRequest]) (*connect_go.Response[v1.StopWorkspaceResponse], error) {
326
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.StopWorkspace is not implemented"))
327
}
328
329
func (UnimplementedWorkspacesServiceHandler) DeleteWorkspace(context.Context, *connect_go.Request[v1.DeleteWorkspaceRequest]) (*connect_go.Response[v1.DeleteWorkspaceResponse], error) {
330
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.DeleteWorkspace is not implemented"))
331
}
332
333
func (UnimplementedWorkspacesServiceHandler) UpdatePort(context.Context, *connect_go.Request[v1.UpdatePortRequest]) (*connect_go.Response[v1.UpdatePortResponse], error) {
334
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.UpdatePort is not implemented"))
335
}
336
337
func (UnimplementedWorkspacesServiceHandler) ListWorkspaceClasses(context.Context, *connect_go.Request[v1.ListWorkspaceClassesRequest]) (*connect_go.Response[v1.ListWorkspaceClassesResponse], error) {
338
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.ListWorkspaceClasses is not implemented"))
339
}
340
341
func (UnimplementedWorkspacesServiceHandler) GetDefaultWorkspaceImage(context.Context, *connect_go.Request[v1.GetDefaultWorkspaceImageRequest]) (*connect_go.Response[v1.GetDefaultWorkspaceImageResponse], error) {
342
return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gitpod.experimental.v1.WorkspacesService.GetDefaultWorkspaceImage is not implemented"))
343
}
344
345