frostfs-node/pkg/services/object_manager/storagegroup/search.go
Pavel Karpy 923f84722a Move to frostfs-node
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2022-12-28 15:04:29 +03:00

14 lines
322 B
Go

package storagegroup
import (
"github.com/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
}