forked from TrueCloudLab/frostfs-sdk-go
[#170] storagegroup: Refactor and document package functionality
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
1186f2f703
commit
9b63c07c59
5 changed files with 244 additions and 55 deletions
|
@ -8,8 +8,8 @@ import (
|
|||
)
|
||||
|
||||
// StorageGroup returns random storagegroup.StorageGroup.
|
||||
func StorageGroup() *storagegroup.StorageGroup {
|
||||
x := storagegroup.New()
|
||||
func StorageGroup() storagegroup.StorageGroup {
|
||||
var x storagegroup.StorageGroup
|
||||
|
||||
x.SetExpirationEpoch(66)
|
||||
x.SetValidationDataSize(322)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue