feat(handlers/host_catalogs): Support plugin host catalog worker filter
This commit is contained in:
1 parent
7449fd6f2a
commit
b8046a3ef3
12 files changed
+368
-174
No files matched your search
@@ -79,6 +79,15 @@ message HostCatalog {
|
||||
// Output only. The HMAC of the last secrets supplied via the API, if any.
|
||||
string secrets_hmac = 120; // @gotags: `class:"public"`
|
||||
|
||||
// Optional worker filter for plugin-subtype host catalogs. Boundary Enterprise only.
|
||||
google.protobuf.StringValue worker_filter = 130 [
|
||||
(custom_options.v1.generate_sdk_option) = true,
|
||||
(custom_options.v1.mask_mapping) = {
|
||||
this: "worker_filter"
|
||||
that: "WorkerFilter"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The available actions on this resource for this user.
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
|
||||
|
||||
|
||||
@@ -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"
|
||||
}];
|
||||
}
|
||||
Reference in new issue
Block a user