frostfs-node/pkg/network
Ekaterina Lebedeva 06be16b716
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 3m6s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m29s
Tests and linters / gopls check (pull_request) Successful in 3m57s
Tests and linters / Tests with -race (pull_request) Failing after 5m52s
Tests and linters / Run gofumpt (pull_request) Successful in 5m59s
DCO action / DCO (pull_request) Successful in 6m15s
Tests and linters / Tests (pull_request) Failing after 6m47s
Build / Build Components (pull_request) Successful in 7m50s
Tests and linters / Staticcheck (pull_request) Successful in 7m59s
Tests and linters / Lint (pull_request) Successful in 8m40s
[#1452] container: Add ListStream method
* Added new method for listing containers to container service.
  It opens stream and sends containers in batches.

* Added TransportSplitter wrapper around ExecutionService to
  split container ID list read from contract in parts that are
  smaller than grpc max message size. Batch size can be changed
  in node configuration file (as in example config file).

* Changed `container list` implementaion in cli: now ListStream
  is called by default. Old List is called only if ListStream
  is not implemented.

* Changed `internalclient.ListContainersPrm`.`Account` to
  `OwnerID` since `client.PrmContainerList`.`Account` was
  renamed to `OwnerID` in sdk.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-17 15:57:51 +03:00
..
cache [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
transport [#1452] container: Add ListStream method 2024-12-17 15:57:51 +03:00
address.go [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
address_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
group.go [#1431] node: Fix comment format 2024-10-15 08:53:59 +00:00
group_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
tls.go [#1054] network: Optimize IsTLSEnabled() 2024-03-21 18:48:35 +03:00
tls_test.go [#1317] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
validation.go Rename package name 2023-03-07 16:38:26 +03:00
validation_test.go Rename package name 2023-03-07 16:38:26 +03:00