Skip to content

Commit 2150a20

Browse files
committed
Use the same ExporterResponse type for cache exporter responses
Signed-off-by: a-palchikov <[email protected]>
1 parent 4dcb128 commit 2150a20

File tree

6 files changed

+306
-924
lines changed

6 files changed

+306
-924
lines changed

api/services/control/control.pb.go

Lines changed: 278 additions & 407 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/services/control/control.proto

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ message SolveResponse {
114114
// populated as long as it is supported.
115115
map<string, string> ExporterResponseDeprecated = 1;
116116
repeated ExporterResponse exporterResponses = 2;
117-
repeated CacheExporterResponse cacheExporterResponses = 3;
117+
repeated ExporterResponse cacheExporterResponses = 3;
118118
}
119119

120120
message StatusRequest {
@@ -273,18 +273,6 @@ message ExporterResponse {
273273
message ExporterMetadata {
274274
// ID identifies the exporter
275275
string ID = 1;
276-
}
277-
278-
// CacheExporterResponse describes the output of an exporter
279-
message CacheExporterResponse {
280-
// Metadata describes the exporter
281-
CacheExporterMetadata metadata = 1;
282-
// Data is the exporter's output
283-
map<string, string> data = 2;
284-
}
285-
286-
// CacheExporterMetadata describes the cache exporter
287-
message CacheExporterMetadata {
288-
// Name uniquely identifies the exporter
289-
string name = 1;
276+
// Type identifies the exporter type
277+
string type = 2;
290278
}

0 commit comments

Comments
 (0)