923f84722a
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
14 lines
322 B
Go
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
|
|
}
|