frostfs-sdk-go/client
Leonard Lyubich 153695a03d client: Provide the ability to create slicer.Slicer instance
`CreateObject` function uses `slicer.Slicer` to read data encapsulated
behind `io.Reader` and store it in the NeoFS network. Sometimes there is
a need to init data writer (`io.Writer`)` instead of providing reader.
To cover such use-cases, it's worth to expose slicer's constructor based
on client.

Add `NewDataSlicer` constructor. Use the function in `CreateObject`.

Refs #342.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
2023-04-26 21:40:01 +04:00
..
status *: replace interface{} with any keyword 2023-04-18 12:28:25 +04:00
accounting.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
api.go [#270] client/netmap: Cover NetMapSnapshot with unit tests 2022-09-22 10:51:07 +04:00
client.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
client_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
common.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
container.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
doc.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
errors.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
errors_test.go [#307] status: Support EACL_NOT_FOUND status code 2022-08-01 19:57:07 +03:00
example_container_put_test.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
netmap.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
netmap_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
object_delete.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_get.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_hash.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_put.go client: Provide the ability to create slicer.Slicer instance 2023-04-26 21:40:01 +04:00
object_search.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
object_search_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
reputation.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
response.go [#137] pool: simplify session creation 2022-04-07 13:33:16 +03:00
session.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
sign.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
sign_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00