2022-06-15 07:12:35 +00:00
|
|
|
package subnettest
|
|
|
|
|
|
|
|
import (
|
2022-12-13 14:36:35 +00:00
|
|
|
"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"
|
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
|
|
|
|
}
|