forked from TrueCloudLab/frostfs-node
24 lines
503 B
Go
24 lines
503 B
Go
|
package shard
|
||
|
|
||
|
import (
|
||
|
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/blobstor"
|
||
|
meta "github.com/nspcc-dev/neofs-node/pkg/local_object_storage/metabase"
|
||
|
)
|
||
|
|
||
|
// Info groups the information about Shard.
|
||
|
type Info struct {
|
||
|
// Identifier of the shard.
|
||
|
ID *ID
|
||
|
|
||
|
// Information about the metabase.
|
||
|
MetaBaseInfo meta.Info
|
||
|
|
||
|
// Information about the BLOB storage.
|
||
|
BlobStorInfo blobstor.Info
|
||
|
}
|
||
|
|
||
|
// DumpInfo returns information about the Shard.
|
||
|
func (s *Shard) DumpInfo() Info {
|
||
|
return s.info
|
||
|
}
|