Compare commits

..

1 commit

Author SHA1 Message Date
Airat Arifullin
d14d146317 [#87] netmap: Introduce wildcard flag for Selector
All checks were successful
Formatters / Run fmt (pull_request) Successful in 20s
DCO action / DCO (pull_request) Successful in 26s
Pre-commit hooks / Pre-commit (pull_request) Successful in 28s
* Add a new field `wildcard` to `Selector`;
* Regenerate docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2025-04-25 12:09:15 +03:00
3 changed files with 5 additions and 2 deletions

View file

@ -95,6 +95,9 @@ message Selector {
// Filter reference to select from // Filter reference to select from
string filter = 5 [ json_name = "filter" ]; string filter = 5 [ json_name = "filter" ];
// Use all nodes from the bucket.
bool wildcard = 6 [ json_name = "wildcard" ];
} }
// Number of object replicas in a set of nodes from the defined selector. If no // Number of object replicas in a set of nodes from the defined selector. If no

View file

@ -141,8 +141,7 @@ message Header {
// * Name \ // * Name \
// Human-friendly name // Human-friendly name
// * FileName \ // * FileName \
// File name to be associated with the object on saving. FileName must not // File name to be associated with the object on saving
// contain the delimiting symbol '/'.
// * FilePath \ // * FilePath \
// Full path to be associated with the object on saving. Should start with a // Full path to be associated with the object on saving. Should start with a
// '/' and use '/' as a delimiting symbol. Trailing '/' should be // '/' and use '/' as a delimiting symbol. Trailing '/' should be

View file

@ -531,6 +531,7 @@ to the provided `ContainerID` by hash distance.
| clause | [Clause](#neo.fs.v2.netmap.Clause) | | Selector modifier showing how to form a bucket | | clause | [Clause](#neo.fs.v2.netmap.Clause) | | Selector modifier showing how to form a bucket |
| attribute | [string](#string) | | Bucket attribute to select from | | attribute | [string](#string) | | Bucket attribute to select from |
| filter | [string](#string) | | Filter reference to select from | | filter | [string](#string) | | Filter reference to select from |
| wildcard | [bool](#bool) | | Use all nodes from the bucket. |
<!-- end messages --> <!-- end messages -->