forked from TrueCloudLab/frostfs-sdk-go
[#166] netmap: Add support YML tests
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
dea8759762
commit
03d35dd1f3
3 changed files with 180 additions and 15 deletions
|
@ -217,6 +217,11 @@ func (s *Selector) SelectByBucketAttribute(bucket string) {
|
|||
s.m.SetAttribute(bucket)
|
||||
}
|
||||
|
||||
// SetClause sets the clause for the Selector.
|
||||
func (s *Selector) SetClause(clause netmap.Clause) {
|
||||
s.m.SetClause(clause)
|
||||
}
|
||||
|
||||
// SelectSame makes selection algorithm to select only nodes having the same values
|
||||
// of the bucket attribute.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue