forked from TrueCloudLab/frostfs-node
15 lines
321 B
Go
15 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
|
||
|
}
|