frostfs-api-go-pogpp/pkg/netmap
Alex Vanin c35e15a758 [#249] pkg/netmap: Add CBF field in placement context
If CBF value is not set, then netmap package uses default CBF
value. However it modifies placement policy structure in
`GetContainerNodes()` because policy passed as a pointer.

Instead package can store CBF value in internal context and use
it without policy modification.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-01-27 15:47:06 +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 [#243] Fix exhaustive linter errors 2021-01-12 18:22:07 +03:00
filter_test.go [#168] netmap: Implement binary and JSON encoders/decoders on Filter 2020-11-13 18:07:26 +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
node_info.go [#199] sdk/netmap: Correct linter's remarks 2020-11-16 18:51:14 +03:00
node_info_test.go [#168] netmap: Implement binary and JSON encoders/decoders on Filter 2020-11-13 18:07:26 +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 [#168] netmap: Implement binary and JSON encoders/decoders on Filter 2020-11-13 18:07:26 +03:00
policy_test.go [#168] netmap: Implement binary and JSON encoders/decoders on Filter 2020-11-13 18:07:26 +03:00
replica.go [#168] netmap: Implement binary and JSON encoders/decoders on Filter 2020-11-13 18:07:26 +03:00
replica_test.go [#168] netmap: Implement binary and JSON encoders/decoders on Filter 2020-11-13 18:07:26 +03:00
selector.go [#249] pkg/netmap: Add CBF field in placement context 2021-01-27 15:47:06 +03:00
selector_test.go [#249] pkg/netmap: Add CBF field in placement context 2021-01-27 15:47:06 +03:00