forked from TrueCloudLab/frostfs-api-go
ddd3ba1bf2
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
23 lines
378 B
Go
23 lines
378 B
Go
package netmap
|
|
|
|
import (
|
|
netmap "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc"
|
|
)
|
|
|
|
func PlacementPolicyToGRPCMessage(p *PlacementPolicy) *netmap.PlacementPolicy {
|
|
if p == nil {
|
|
return nil
|
|
}
|
|
|
|
// TODO: fill me
|
|
return nil
|
|
}
|
|
|
|
func PlacementPolicyFromGRPCMessage(m *netmap.PlacementPolicy) *PlacementPolicy {
|
|
if m == nil {
|
|
return nil
|
|
}
|
|
|
|
// TODO: fill me
|
|
return nil
|
|
}
|