2024-12-02 08:45:30 +00:00
|
|
|
package data
|
2023-05-05 08:19:35 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
|
|
|
)
|
|
|
|
|
|
|
|
// NodeVersion represent node from tree service.
|
|
|
|
type NodeVersion struct {
|
|
|
|
BaseNodeVersion
|
|
|
|
}
|
|
|
|
|
|
|
|
// BaseNodeVersion is minimal node info from tree service.
|
|
|
|
// Basically used for "system" object.
|
|
|
|
type BaseNodeVersion struct {
|
2024-12-02 08:45:30 +00:00
|
|
|
ID uint64
|
|
|
|
OID oid.ID
|
|
|
|
IsDeleteMarker bool
|
|
|
|
}
|
|
|
|
|
|
|
|
type NodeInfo struct {
|
|
|
|
Meta []NodeMeta
|
|
|
|
}
|
|
|
|
|
|
|
|
type NodeMeta interface {
|
|
|
|
GetKey() string
|
|
|
|
GetValue() []byte
|
2023-05-05 08:19:35 +00:00
|
|
|
}
|