frostfs-api-go/pkg/netmap
Pavel Karpy fb591f5fac [#302] pkg/netmap: Convert nil Replica to nil message
Document that `Replica.ToV2` method return `nil`
when called on `nil`. Document that `ReplicaFromV2`
function return `nil` when called on `nil`. Write
corresponding unit tests.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-09 17:23:35 +03:00
..
test [#293] pkg/netmap: Implement generators of the messages 2021-06-08 18:59:15 +03:00
aggregator.go [#199] sdk/netmap: Correct linter's remarks 2020-11-16 18:51:14 +03:00
clause.go [#199] sdk/netmap: Correct linter's remarks 2020-11-16 18:51:14 +03:00
clause_test.go [#189] sdk/netmap: Define unspecified clause 2020-11-06 09:28:50 +03:00
container.go [#137] sdk: Implement netmap filtering and selection 2020-09-18 10:45:11 +03:00
context.go [#249] pkg/netmap: Add CBF field in placement context 2021-01-27 15:47:06 +03:00
doc.go [#137] sdk: Implement netmap filtering and selection 2020-09-18 10:45:11 +03:00
filter.go [#302] pkg/netmap: Document default values set in NewFilter 2021-06-09 17:23:35 +03:00
filter_test.go [#302] pkg/netmap: Document default values set in NewFilter 2021-06-09 17:23:35 +03:00
helper_test.go [#189] sdk/netmap: Get rid of the use of v2 types in the placement code 2020-11-06 09:28:50 +03:00
netmap.go [#249] pkg/netmap: Add CBF field in placement context 2021-01-27 15:47:06 +03:00
network_info.go [#302] pkg/netmap: Document default values set in NewNetworkInfo 2021-06-09 17:23:35 +03:00
network_info_test.go [#302] pkg/netmap: Document default values set in NewNetworkInfo 2021-06-09 17:23:35 +03:00
node_info.go [#302] pkg/netmap: Document default values set in NewNodeInfo and NewNodeAttribute 2021-06-09 17:23:35 +03:00
node_info_test.go [#302] pkg/netmap: Document default values set in NewNodeInfo and NewNodeAttribute 2021-06-09 17:23:35 +03:00
operation.go [#199] sdk/netmap: Correct linter's remarks 2020-11-16 18:51:14 +03:00
operation_test.go [#189] sdk/netmap: Refactor Operation enum 2020-11-06 09:28:50 +03:00
policy.go [#302] pkg/netmap: Document default values set in NewPlacementPolicy 2021-06-09 17:23:35 +03:00
policy_test.go [#302] pkg/netmap: Document default values set in NewPlacementPolicy 2021-06-09 17:23:35 +03:00
replica.go [#302] pkg/netmap: Convert nil Replica to nil message 2021-06-09 17:23:35 +03:00
replica_test.go [#302] pkg/netmap: Convert nil Replica to nil message 2021-06-09 17:23:35 +03:00
selector.go [#248] netmap: fulfill backup factor for default attribute 2021-02-03 15:31:18 +03:00
selector_test.go [#255] pkg/netmap: Move common substring of well-known attributes to prefix 2021-02-11 15:04:13 +03:00