2022-06-15 07:12:35 +00:00
|
|
|
package subnettest
|
|
|
|
|
|
|
|
import (
|
2023-03-07 11:20:03 +00:00
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet"
|
|
|
|
subnetidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id/test"
|
|
|
|
usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test"
|
2022-06-15 07:12:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Info generates and returns random subnet.Info.
|
|
|
|
func Info() (x subnet.Info) {
|
|
|
|
x.SetID(subnetidtest.ID())
|
|
|
|
x.SetOwner(*usertest.ID())
|
|
|
|
return
|
|
|
|
}
|