frostfs-node/pkg/services/object_manager/storagegroup/search.go
Alex Vanin 20de74a505 Rename package name
Due to source code relocation from GitHub.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 16:38:26 +03:00

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
}