Leonard Lyubich
1031f3122e
[ #263 ] v2: Support new rpc library
...
Implement `message.Message` interface on all structures and use new methods
for conversion instead of functions. make `Unmarshal` and JSON methods to
use encoding functions from `message` library. Remove all per-service
clients and implement `rpc` library of the functions which execute NeoFS API
RPC through new RPC client. Remove no longer used gRPC per-service clients.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-17 14:03:49 +03:00
Leonard Lyubich
d0d2f8d5db
[ #259 ] netmap: Define NetworkInfo RPC and all related messages
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-19 16:25:53 +03:00
Alex Vanin
a29b615522
[ #166 ] v2/netmap: add v2 structures for netmap service
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-08 15:38:57 +03:00
Alex Vanin
f21cecfc43
sdk/v2: Fix typo found by golangci-lint
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-21 17:56:22 +03:00
Alex Vanin
c0cc4a4374
[ #138 ] v2/netmap: Update to neofs-api jindo release
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:45:11 +03:00
Alex Vanin
148618b5b3
[ #134 ] v2/netmap: Update unified structures
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:45:11 +03:00
Alex Vanin
edd0004b93
[ #129 ] v2: Add unified structure for NodeInfo
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:45:11 +03:00
Leonard Lyubich
ddd3ba1bf2
v2/netmap: Define uni PlacementPolicy type
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-09-18 10:42:09 +03:00
Alex Vanin
60e9c3d0d3
Update structure with grpc subdir
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:48 +03:00
Alex Vanin
59858805a8
Update field names in setters and tests
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-18 10:40:40 +03:00
Alex Vanin
1f143e54bd
Move api-v2 files into v2 subdir
...
This subdir contains generated proto files
and small wrappers.
2020-09-18 10:40:17 +03:00