forked from TrueCloudLab/frostfs-node
44466f4a29
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
14 lines
321 B
Go
14 lines
321 B
Go
package storagegroup
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-api-go/pkg/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
|
|
}
|