feat(handlers/host_catalogs): Support plugin host catalog worker filter

This commit is contained in:
Hugo committed 2024-09-30 21:24:18 +01:00
1 parent 7449fd6f2a
commit b8046a3ef3
12 files changed
+368 -174

No files matched your search

@@ -63,7 +63,10 @@ message HostCatalog {
// worker_filter is optional.
// @inject_tag: `gorm:"default:null"`
string worker_filter = 11;
string worker_filter = 11 [(custom_options.v1.mask_mapping) = {
this: "WorkerFilter"
that: "worker_filter"
}];
}
message HostSet {
@@ -156,3 +156,13 @@ message UnimplementedSetFields {
that: "sync_interval_seconds"
}];
}
// These fields are not implemented yet on the host catalog. They are captured
// here for the purpose of identifying the mask maps which are on the top level
// api catalog resource but aren't present in the static host catalog storage.
message UnimplementedCatalogFields {
string worker_filter = 11 [(custom_options.v1.mask_mapping) = {
this: "WorkerFilter"
that: "worker_filter"
}];
}