forked from TrueCloudLab/frostfs-node
21 lines
344 B
Go
21 lines
344 B
Go
|
package common
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
||
|
)
|
||
|
|
||
|
type RebuildRes struct {
|
||
|
ObjectsMoved uint64
|
||
|
FilesRemoved uint64
|
||
|
}
|
||
|
|
||
|
type RebuildPrm struct {
|
||
|
MetaStorage MetaStorage
|
||
|
}
|
||
|
|
||
|
type MetaStorage interface {
|
||
|
UpdateStorageID(ctx context.Context, obj *objectSDK.Object, storageID []byte) error
|
||
|
}
|