frostfs-node/pkg/services/object_manager/storagegroup/search.go

15 lines
328 B
Go
Raw Permalink Normal View History

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
}