forked from TrueCloudLab/frostfs-sdk-go
4c779423f5
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
14 lines
358 B
Go
14 lines
358 B
Go
package subnettest
|
|
|
|
import (
|
|
"github.com/TrueCloudLab/frostfs-sdk-go/subnet"
|
|
subnetidtest "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id/test"
|
|
usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test"
|
|
)
|
|
|
|
// Info generates and returns random subnet.Info.
|
|
func Info() (x subnet.Info) {
|
|
x.SetID(subnetidtest.ID())
|
|
x.SetOwner(*usertest.ID())
|
|
return
|
|
}
|