forked from TrueCloudLab/frostfs-node
Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
14 lines
328 B
Go
14 lines
328 B
Go
package storagegroup
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
|
)
|
|
|
|
// SearchQuery returns search query to filter
|
|
// objects with storage group content.
|
|
func SearchQuery() object.SearchFilters {
|
|
fs := object.SearchFilters{}
|
|
fs.AddTypeFilter(object.MatchStringEqual, object.TypeStorageGroup)
|
|
|
|
return fs
|
|
}
|