Skip to content

Commit b1990ce

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

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
@@ -113,7 +113,7 @@ message SolveResponse {
113113
// populated as long as it is supported.
114114
map<string, string> ExporterResponseDeprecated = 1;
115115
repeated ExporterResponse exporterResponses = 2;
116-
repeated CacheExporterResponse cacheExporterResponses = 3;
116+
repeated ExporterResponse cacheExporterResponses = 3;
117117
}
118118

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

0 commit comments

Comments
 (0)