frostfs-sdk-go/api/netmap
Evgenii Stratonikov f49bcefd8b
Some checks failed
Code generation / Generate proto (pull_request) Successful in 34s
Tests and linters / Lint (pull_request) Failing after 56s
DCO / DCO (pull_request) Failing after 2m38s
Tests and linters / Tests (pull_request) Successful in 3m42s
api/netmap: Return a slice of parameters directly
`IterateParameters` does a poor job:
- it doesn't encapsulate well, because it returns a pointer,
- it has a clunky interface, compared to range loop.

I have decided to return parameter slice and not `iter.Seq` for 2
reasons:
1. There already is `SetParameters`, so `NetworkConfig` struct is
   expected to be modified.
2. This iterator uses pointers, so even with this interface the slice
   can already be changed.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-04-05 08:35:37 +03:00
..
grpc [#317] api: Revert easyproto marshaler usage 2025-01-09 11:46:09 +03:00
test [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
convert.go [#317] api: Revert easyproto marshaler usage 2025-01-09 11:46:09 +03:00
json.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
marshal.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
message_test.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
string.go [#317] api: Revert easyproto marshaler usage 2025-01-09 11:46:09 +03:00
types.go api/netmap: Return a slice of parameters directly 2025-04-05 08:35:37 +03:00
types_test.go [#344] netmap: Add method Clone 2025-03-07 18:02:02 +03:00