-
Notifications
You must be signed in to change notification settings - Fork 578
/
storegateway.connect.go
356 lines (326 loc) · 21 KB
/
storegateway.connect.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
// Code generated by protoc-gen-connect-go. DO NOT EDIT.
//
// Source: storegateway/v1/storegateway.proto
package storegatewayv1connect
import (
connect "connectrpc.com/connect"
context "context"
errors "errors"
v11 "github.com/grafana/pyroscope/api/gen/proto/go/ingester/v1"
v1 "github.com/grafana/pyroscope/api/gen/proto/go/storegateway/v1"
v12 "github.com/grafana/pyroscope/api/gen/proto/go/types/v1"
http "net/http"
strings "strings"
)
// This is a compile-time assertion to ensure that this generated file and the connect package are
// compatible. If you get a compiler error that this constant is not defined, this code was
// generated with a version of connect newer than the one compiled into your binary. You can fix the
// problem by either regenerating this code with an older version of connect or updating the connect
// version compiled into your binary.
const _ = connect.IsAtLeastVersion1_13_0
const (
// StoreGatewayServiceName is the fully-qualified name of the StoreGatewayService service.
StoreGatewayServiceName = "storegateway.v1.StoreGatewayService"
)
// These constants are the fully-qualified names of the RPCs defined in this package. They're
// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
//
// Note that these are different from the fully-qualified method names used by
// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to
// reflection-formatted method names, remove the leading slash and convert the remaining slash to a
// period.
const (
// StoreGatewayServiceMergeProfilesStacktracesProcedure is the fully-qualified name of the
// StoreGatewayService's MergeProfilesStacktraces RPC.
StoreGatewayServiceMergeProfilesStacktracesProcedure = "/storegateway.v1.StoreGatewayService/MergeProfilesStacktraces"
// StoreGatewayServiceMergeProfilesLabelsProcedure is the fully-qualified name of the
// StoreGatewayService's MergeProfilesLabels RPC.
StoreGatewayServiceMergeProfilesLabelsProcedure = "/storegateway.v1.StoreGatewayService/MergeProfilesLabels"
// StoreGatewayServiceMergeProfilesPprofProcedure is the fully-qualified name of the
// StoreGatewayService's MergeProfilesPprof RPC.
StoreGatewayServiceMergeProfilesPprofProcedure = "/storegateway.v1.StoreGatewayService/MergeProfilesPprof"
// StoreGatewayServiceMergeSpanProfileProcedure is the fully-qualified name of the
// StoreGatewayService's MergeSpanProfile RPC.
StoreGatewayServiceMergeSpanProfileProcedure = "/storegateway.v1.StoreGatewayService/MergeSpanProfile"
// StoreGatewayServiceProfileTypesProcedure is the fully-qualified name of the StoreGatewayService's
// ProfileTypes RPC.
StoreGatewayServiceProfileTypesProcedure = "/storegateway.v1.StoreGatewayService/ProfileTypes"
// StoreGatewayServiceLabelValuesProcedure is the fully-qualified name of the StoreGatewayService's
// LabelValues RPC.
StoreGatewayServiceLabelValuesProcedure = "/storegateway.v1.StoreGatewayService/LabelValues"
// StoreGatewayServiceLabelNamesProcedure is the fully-qualified name of the StoreGatewayService's
// LabelNames RPC.
StoreGatewayServiceLabelNamesProcedure = "/storegateway.v1.StoreGatewayService/LabelNames"
// StoreGatewayServiceSeriesProcedure is the fully-qualified name of the StoreGatewayService's
// Series RPC.
StoreGatewayServiceSeriesProcedure = "/storegateway.v1.StoreGatewayService/Series"
// StoreGatewayServiceBlockMetadataProcedure is the fully-qualified name of the
// StoreGatewayService's BlockMetadata RPC.
StoreGatewayServiceBlockMetadataProcedure = "/storegateway.v1.StoreGatewayService/BlockMetadata"
)
// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package.
var (
storeGatewayServiceServiceDescriptor = v1.File_storegateway_v1_storegateway_proto.Services().ByName("StoreGatewayService")
storeGatewayServiceMergeProfilesStacktracesMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("MergeProfilesStacktraces")
storeGatewayServiceMergeProfilesLabelsMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("MergeProfilesLabels")
storeGatewayServiceMergeProfilesPprofMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("MergeProfilesPprof")
storeGatewayServiceMergeSpanProfileMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("MergeSpanProfile")
storeGatewayServiceProfileTypesMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("ProfileTypes")
storeGatewayServiceLabelValuesMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("LabelValues")
storeGatewayServiceLabelNamesMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("LabelNames")
storeGatewayServiceSeriesMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("Series")
storeGatewayServiceBlockMetadataMethodDescriptor = storeGatewayServiceServiceDescriptor.Methods().ByName("BlockMetadata")
)
// StoreGatewayServiceClient is a client for the storegateway.v1.StoreGatewayService service.
type StoreGatewayServiceClient interface {
MergeProfilesStacktraces(context.Context) *connect.BidiStreamForClient[v11.MergeProfilesStacktracesRequest, v11.MergeProfilesStacktracesResponse]
MergeProfilesLabels(context.Context) *connect.BidiStreamForClient[v11.MergeProfilesLabelsRequest, v11.MergeProfilesLabelsResponse]
MergeProfilesPprof(context.Context) *connect.BidiStreamForClient[v11.MergeProfilesPprofRequest, v11.MergeProfilesPprofResponse]
MergeSpanProfile(context.Context) *connect.BidiStreamForClient[v11.MergeSpanProfileRequest, v11.MergeSpanProfileResponse]
ProfileTypes(context.Context, *connect.Request[v11.ProfileTypesRequest]) (*connect.Response[v11.ProfileTypesResponse], error)
LabelValues(context.Context, *connect.Request[v12.LabelValuesRequest]) (*connect.Response[v12.LabelValuesResponse], error)
LabelNames(context.Context, *connect.Request[v12.LabelNamesRequest]) (*connect.Response[v12.LabelNamesResponse], error)
Series(context.Context, *connect.Request[v11.SeriesRequest]) (*connect.Response[v11.SeriesResponse], error)
BlockMetadata(context.Context, *connect.Request[v11.BlockMetadataRequest]) (*connect.Response[v11.BlockMetadataResponse], error)
}
// NewStoreGatewayServiceClient constructs a client for the storegateway.v1.StoreGatewayService
// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for
// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply
// the connect.WithGRPC() or connect.WithGRPCWeb() options.
//
// The URL supplied here should be the base URL for the Connect or gRPC server (for example,
// http://api.acme.com or https://acme.com/grpc).
func NewStoreGatewayServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) StoreGatewayServiceClient {
baseURL = strings.TrimRight(baseURL, "/")
return &storeGatewayServiceClient{
mergeProfilesStacktraces: connect.NewClient[v11.MergeProfilesStacktracesRequest, v11.MergeProfilesStacktracesResponse](
httpClient,
baseURL+StoreGatewayServiceMergeProfilesStacktracesProcedure,
connect.WithSchema(storeGatewayServiceMergeProfilesStacktracesMethodDescriptor),
connect.WithClientOptions(opts...),
),
mergeProfilesLabels: connect.NewClient[v11.MergeProfilesLabelsRequest, v11.MergeProfilesLabelsResponse](
httpClient,
baseURL+StoreGatewayServiceMergeProfilesLabelsProcedure,
connect.WithSchema(storeGatewayServiceMergeProfilesLabelsMethodDescriptor),
connect.WithClientOptions(opts...),
),
mergeProfilesPprof: connect.NewClient[v11.MergeProfilesPprofRequest, v11.MergeProfilesPprofResponse](
httpClient,
baseURL+StoreGatewayServiceMergeProfilesPprofProcedure,
connect.WithSchema(storeGatewayServiceMergeProfilesPprofMethodDescriptor),
connect.WithClientOptions(opts...),
),
mergeSpanProfile: connect.NewClient[v11.MergeSpanProfileRequest, v11.MergeSpanProfileResponse](
httpClient,
baseURL+StoreGatewayServiceMergeSpanProfileProcedure,
connect.WithSchema(storeGatewayServiceMergeSpanProfileMethodDescriptor),
connect.WithClientOptions(opts...),
),
profileTypes: connect.NewClient[v11.ProfileTypesRequest, v11.ProfileTypesResponse](
httpClient,
baseURL+StoreGatewayServiceProfileTypesProcedure,
connect.WithSchema(storeGatewayServiceProfileTypesMethodDescriptor),
connect.WithClientOptions(opts...),
),
labelValues: connect.NewClient[v12.LabelValuesRequest, v12.LabelValuesResponse](
httpClient,
baseURL+StoreGatewayServiceLabelValuesProcedure,
connect.WithSchema(storeGatewayServiceLabelValuesMethodDescriptor),
connect.WithClientOptions(opts...),
),
labelNames: connect.NewClient[v12.LabelNamesRequest, v12.LabelNamesResponse](
httpClient,
baseURL+StoreGatewayServiceLabelNamesProcedure,
connect.WithSchema(storeGatewayServiceLabelNamesMethodDescriptor),
connect.WithClientOptions(opts...),
),
series: connect.NewClient[v11.SeriesRequest, v11.SeriesResponse](
httpClient,
baseURL+StoreGatewayServiceSeriesProcedure,
connect.WithSchema(storeGatewayServiceSeriesMethodDescriptor),
connect.WithClientOptions(opts...),
),
blockMetadata: connect.NewClient[v11.BlockMetadataRequest, v11.BlockMetadataResponse](
httpClient,
baseURL+StoreGatewayServiceBlockMetadataProcedure,
connect.WithSchema(storeGatewayServiceBlockMetadataMethodDescriptor),
connect.WithClientOptions(opts...),
),
}
}
// storeGatewayServiceClient implements StoreGatewayServiceClient.
type storeGatewayServiceClient struct {
mergeProfilesStacktraces *connect.Client[v11.MergeProfilesStacktracesRequest, v11.MergeProfilesStacktracesResponse]
mergeProfilesLabels *connect.Client[v11.MergeProfilesLabelsRequest, v11.MergeProfilesLabelsResponse]
mergeProfilesPprof *connect.Client[v11.MergeProfilesPprofRequest, v11.MergeProfilesPprofResponse]
mergeSpanProfile *connect.Client[v11.MergeSpanProfileRequest, v11.MergeSpanProfileResponse]
profileTypes *connect.Client[v11.ProfileTypesRequest, v11.ProfileTypesResponse]
labelValues *connect.Client[v12.LabelValuesRequest, v12.LabelValuesResponse]
labelNames *connect.Client[v12.LabelNamesRequest, v12.LabelNamesResponse]
series *connect.Client[v11.SeriesRequest, v11.SeriesResponse]
blockMetadata *connect.Client[v11.BlockMetadataRequest, v11.BlockMetadataResponse]
}
// MergeProfilesStacktraces calls storegateway.v1.StoreGatewayService.MergeProfilesStacktraces.
func (c *storeGatewayServiceClient) MergeProfilesStacktraces(ctx context.Context) *connect.BidiStreamForClient[v11.MergeProfilesStacktracesRequest, v11.MergeProfilesStacktracesResponse] {
return c.mergeProfilesStacktraces.CallBidiStream(ctx)
}
// MergeProfilesLabels calls storegateway.v1.StoreGatewayService.MergeProfilesLabels.
func (c *storeGatewayServiceClient) MergeProfilesLabels(ctx context.Context) *connect.BidiStreamForClient[v11.MergeProfilesLabelsRequest, v11.MergeProfilesLabelsResponse] {
return c.mergeProfilesLabels.CallBidiStream(ctx)
}
// MergeProfilesPprof calls storegateway.v1.StoreGatewayService.MergeProfilesPprof.
func (c *storeGatewayServiceClient) MergeProfilesPprof(ctx context.Context) *connect.BidiStreamForClient[v11.MergeProfilesPprofRequest, v11.MergeProfilesPprofResponse] {
return c.mergeProfilesPprof.CallBidiStream(ctx)
}
// MergeSpanProfile calls storegateway.v1.StoreGatewayService.MergeSpanProfile.
func (c *storeGatewayServiceClient) MergeSpanProfile(ctx context.Context) *connect.BidiStreamForClient[v11.MergeSpanProfileRequest, v11.MergeSpanProfileResponse] {
return c.mergeSpanProfile.CallBidiStream(ctx)
}
// ProfileTypes calls storegateway.v1.StoreGatewayService.ProfileTypes.
func (c *storeGatewayServiceClient) ProfileTypes(ctx context.Context, req *connect.Request[v11.ProfileTypesRequest]) (*connect.Response[v11.ProfileTypesResponse], error) {
return c.profileTypes.CallUnary(ctx, req)
}
// LabelValues calls storegateway.v1.StoreGatewayService.LabelValues.
func (c *storeGatewayServiceClient) LabelValues(ctx context.Context, req *connect.Request[v12.LabelValuesRequest]) (*connect.Response[v12.LabelValuesResponse], error) {
return c.labelValues.CallUnary(ctx, req)
}
// LabelNames calls storegateway.v1.StoreGatewayService.LabelNames.
func (c *storeGatewayServiceClient) LabelNames(ctx context.Context, req *connect.Request[v12.LabelNamesRequest]) (*connect.Response[v12.LabelNamesResponse], error) {
return c.labelNames.CallUnary(ctx, req)
}
// Series calls storegateway.v1.StoreGatewayService.Series.
func (c *storeGatewayServiceClient) Series(ctx context.Context, req *connect.Request[v11.SeriesRequest]) (*connect.Response[v11.SeriesResponse], error) {
return c.series.CallUnary(ctx, req)
}
// BlockMetadata calls storegateway.v1.StoreGatewayService.BlockMetadata.
func (c *storeGatewayServiceClient) BlockMetadata(ctx context.Context, req *connect.Request[v11.BlockMetadataRequest]) (*connect.Response[v11.BlockMetadataResponse], error) {
return c.blockMetadata.CallUnary(ctx, req)
}
// StoreGatewayServiceHandler is an implementation of the storegateway.v1.StoreGatewayService
// service.
type StoreGatewayServiceHandler interface {
MergeProfilesStacktraces(context.Context, *connect.BidiStream[v11.MergeProfilesStacktracesRequest, v11.MergeProfilesStacktracesResponse]) error
MergeProfilesLabels(context.Context, *connect.BidiStream[v11.MergeProfilesLabelsRequest, v11.MergeProfilesLabelsResponse]) error
MergeProfilesPprof(context.Context, *connect.BidiStream[v11.MergeProfilesPprofRequest, v11.MergeProfilesPprofResponse]) error
MergeSpanProfile(context.Context, *connect.BidiStream[v11.MergeSpanProfileRequest, v11.MergeSpanProfileResponse]) error
ProfileTypes(context.Context, *connect.Request[v11.ProfileTypesRequest]) (*connect.Response[v11.ProfileTypesResponse], error)
LabelValues(context.Context, *connect.Request[v12.LabelValuesRequest]) (*connect.Response[v12.LabelValuesResponse], error)
LabelNames(context.Context, *connect.Request[v12.LabelNamesRequest]) (*connect.Response[v12.LabelNamesResponse], error)
Series(context.Context, *connect.Request[v11.SeriesRequest]) (*connect.Response[v11.SeriesResponse], error)
BlockMetadata(context.Context, *connect.Request[v11.BlockMetadataRequest]) (*connect.Response[v11.BlockMetadataResponse], error)
}
// NewStoreGatewayServiceHandler builds an HTTP handler from the service implementation. It returns
// the path on which to mount the handler and the handler itself.
//
// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf
// and JSON codecs. They also support gzip compression.
func NewStoreGatewayServiceHandler(svc StoreGatewayServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) {
storeGatewayServiceMergeProfilesStacktracesHandler := connect.NewBidiStreamHandler(
StoreGatewayServiceMergeProfilesStacktracesProcedure,
svc.MergeProfilesStacktraces,
connect.WithSchema(storeGatewayServiceMergeProfilesStacktracesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceMergeProfilesLabelsHandler := connect.NewBidiStreamHandler(
StoreGatewayServiceMergeProfilesLabelsProcedure,
svc.MergeProfilesLabels,
connect.WithSchema(storeGatewayServiceMergeProfilesLabelsMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceMergeProfilesPprofHandler := connect.NewBidiStreamHandler(
StoreGatewayServiceMergeProfilesPprofProcedure,
svc.MergeProfilesPprof,
connect.WithSchema(storeGatewayServiceMergeProfilesPprofMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceMergeSpanProfileHandler := connect.NewBidiStreamHandler(
StoreGatewayServiceMergeSpanProfileProcedure,
svc.MergeSpanProfile,
connect.WithSchema(storeGatewayServiceMergeSpanProfileMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceProfileTypesHandler := connect.NewUnaryHandler(
StoreGatewayServiceProfileTypesProcedure,
svc.ProfileTypes,
connect.WithSchema(storeGatewayServiceProfileTypesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceLabelValuesHandler := connect.NewUnaryHandler(
StoreGatewayServiceLabelValuesProcedure,
svc.LabelValues,
connect.WithSchema(storeGatewayServiceLabelValuesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceLabelNamesHandler := connect.NewUnaryHandler(
StoreGatewayServiceLabelNamesProcedure,
svc.LabelNames,
connect.WithSchema(storeGatewayServiceLabelNamesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceSeriesHandler := connect.NewUnaryHandler(
StoreGatewayServiceSeriesProcedure,
svc.Series,
connect.WithSchema(storeGatewayServiceSeriesMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
storeGatewayServiceBlockMetadataHandler := connect.NewUnaryHandler(
StoreGatewayServiceBlockMetadataProcedure,
svc.BlockMetadata,
connect.WithSchema(storeGatewayServiceBlockMetadataMethodDescriptor),
connect.WithHandlerOptions(opts...),
)
return "/storegateway.v1.StoreGatewayService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
switch r.URL.Path {
case StoreGatewayServiceMergeProfilesStacktracesProcedure:
storeGatewayServiceMergeProfilesStacktracesHandler.ServeHTTP(w, r)
case StoreGatewayServiceMergeProfilesLabelsProcedure:
storeGatewayServiceMergeProfilesLabelsHandler.ServeHTTP(w, r)
case StoreGatewayServiceMergeProfilesPprofProcedure:
storeGatewayServiceMergeProfilesPprofHandler.ServeHTTP(w, r)
case StoreGatewayServiceMergeSpanProfileProcedure:
storeGatewayServiceMergeSpanProfileHandler.ServeHTTP(w, r)
case StoreGatewayServiceProfileTypesProcedure:
storeGatewayServiceProfileTypesHandler.ServeHTTP(w, r)
case StoreGatewayServiceLabelValuesProcedure:
storeGatewayServiceLabelValuesHandler.ServeHTTP(w, r)
case StoreGatewayServiceLabelNamesProcedure:
storeGatewayServiceLabelNamesHandler.ServeHTTP(w, r)
case StoreGatewayServiceSeriesProcedure:
storeGatewayServiceSeriesHandler.ServeHTTP(w, r)
case StoreGatewayServiceBlockMetadataProcedure:
storeGatewayServiceBlockMetadataHandler.ServeHTTP(w, r)
default:
http.NotFound(w, r)
}
})
}
// UnimplementedStoreGatewayServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedStoreGatewayServiceHandler struct{}
func (UnimplementedStoreGatewayServiceHandler) MergeProfilesStacktraces(context.Context, *connect.BidiStream[v11.MergeProfilesStacktracesRequest, v11.MergeProfilesStacktracesResponse]) error {
return connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.MergeProfilesStacktraces is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) MergeProfilesLabels(context.Context, *connect.BidiStream[v11.MergeProfilesLabelsRequest, v11.MergeProfilesLabelsResponse]) error {
return connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.MergeProfilesLabels is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) MergeProfilesPprof(context.Context, *connect.BidiStream[v11.MergeProfilesPprofRequest, v11.MergeProfilesPprofResponse]) error {
return connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.MergeProfilesPprof is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) MergeSpanProfile(context.Context, *connect.BidiStream[v11.MergeSpanProfileRequest, v11.MergeSpanProfileResponse]) error {
return connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.MergeSpanProfile is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) ProfileTypes(context.Context, *connect.Request[v11.ProfileTypesRequest]) (*connect.Response[v11.ProfileTypesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.ProfileTypes is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) LabelValues(context.Context, *connect.Request[v12.LabelValuesRequest]) (*connect.Response[v12.LabelValuesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.LabelValues is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) LabelNames(context.Context, *connect.Request[v12.LabelNamesRequest]) (*connect.Response[v12.LabelNamesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.LabelNames is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) Series(context.Context, *connect.Request[v11.SeriesRequest]) (*connect.Response[v11.SeriesResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.Series is not implemented"))
}
func (UnimplementedStoreGatewayServiceHandler) BlockMetadata(context.Context, *connect.Request[v11.BlockMetadataRequest]) (*connect.Response[v11.BlockMetadataResponse], error) {
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("storegateway.v1.StoreGatewayService.BlockMetadata is not implemented"))
}