Documentation ¶
Index ¶
- type StorageGroup
- func (s *StorageGroup) FromGRPCMessage(m grpc.Message) error
- func (s *StorageGroup) GetExpirationEpoch() uint64deprecated
- func (s *StorageGroup) GetMembers() []refs.ObjectID
- func (s *StorageGroup) GetValidationDataSize() uint64
- func (s *StorageGroup) GetValidationHash() *refs.Checksum
- func (s *StorageGroup) MarshalJSON() ([]byte, error)
- func (s *StorageGroup) SetExpirationEpoch(v uint64)deprecated
- func (s *StorageGroup) SetMembers(v []refs.ObjectID)
- func (s *StorageGroup) SetValidationDataSize(v uint64)
- func (s *StorageGroup) SetValidationHash(v *refs.Checksum)
- func (s *StorageGroup) StableMarshal(buf []byte) []byte
- func (s *StorageGroup) StableSize() (size int)
- func (s *StorageGroup) ToGRPCMessage() grpc.Message
- func (s *StorageGroup) Unmarshal(data []byte) error
- func (s *StorageGroup) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageGroup ¶
type StorageGroup struct {
// contains filtered or unexported fields
}
StorageGroup is a unified structure of StorageGroup message from proto definition.
func (*StorageGroup) FromGRPCMessage ¶
func (s *StorageGroup) FromGRPCMessage(m grpc.Message) error
func (*StorageGroup) GetExpirationEpoch
deprecated
func (s *StorageGroup) GetExpirationEpoch() uint64
GetExpirationEpoch of unified storage group structure.
Deprecated: Do not use.
func (*StorageGroup) GetMembers ¶
func (s *StorageGroup) GetMembers() []refs.ObjectID
GetMembers of unified storage group structure. Members are objects of storage group.
func (*StorageGroup) GetValidationDataSize ¶
func (s *StorageGroup) GetValidationDataSize() uint64
GetValidationDataSize of unified storage group structure.
func (*StorageGroup) GetValidationHash ¶
func (s *StorageGroup) GetValidationHash() *refs.Checksum
GetValidationHash of unified storage group structure.
func (*StorageGroup) MarshalJSON ¶
func (s *StorageGroup) MarshalJSON() ([]byte, error)
func (*StorageGroup) SetExpirationEpoch
deprecated
func (s *StorageGroup) SetExpirationEpoch(v uint64)
SetExpirationEpoch into unified storage group structure.
Deprecated: Do not use.
func (*StorageGroup) SetMembers ¶
func (s *StorageGroup) SetMembers(v []refs.ObjectID)
SetMembers into unified storage group structure. Members are objects of storage group.
func (*StorageGroup) SetValidationDataSize ¶
func (s *StorageGroup) SetValidationDataSize(v uint64)
SetValidationDataSize into unified storage group structure.
func (*StorageGroup) SetValidationHash ¶
func (s *StorageGroup) SetValidationHash(v *refs.Checksum)
SetValidationHash into unified storage group structure.
func (*StorageGroup) StableMarshal ¶
func (s *StorageGroup) StableMarshal(buf []byte) []byte
StableMarshal marshals unified storage group structure in a protobuf compatible way without field order shuffle.
func (*StorageGroup) StableSize ¶
func (s *StorageGroup) StableSize() (size int)
StableSize of storage group structure marshalled by StableMarshal function.
func (*StorageGroup) ToGRPCMessage ¶
func (s *StorageGroup) ToGRPCMessage() grpc.Message
func (*StorageGroup) Unmarshal ¶
func (s *StorageGroup) Unmarshal(data []byte) error
func (*StorageGroup) UnmarshalJSON ¶
func (s *StorageGroup) UnmarshalJSON(data []byte) error