frostfs-api-go/pkg
Leonard Lyubich 1ac6f2eeeb [#145] sdk/object: Refactor logic of field setters
In previous implementation RawObject constructor initialized internal v2
Object structure recursively so that further you can directly set the values
of nested fields. This caused the object created by constructor New to be
different from the object created from the empty object v2.

Remove recursive initialization of v2 Object from New and NewRaw
constructors. Make setters to initialize nested structures on demand.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-09-18 10:45:11 +03:00
..
accounting [#126] sdk: add sdk client for all available api requests 2020-09-18 10:45:11 +03:00
acl [#139] sdk/acl: Highlight prefix of well known header names 2020-09-18 10:45:11 +03:00
client [#139] sdk/client: Support EACL in RPC client 2020-09-18 10:45:11 +03:00
container [#142] sdk/container: Add converters to and from v2 2020-09-18 10:45:11 +03:00
netmap [#142] sdk/netmap: Add type aliases for netmap policy 2020-09-18 10:45:11 +03:00
object [#145] sdk/object: Refactor logic of field setters 2020-09-18 10:45:11 +03:00
owner [#140] sdk: Refactor reference types 2020-09-18 10:45:11 +03:00
.gitkeep Implement new request signing mechanism 2020-09-18 10:40:45 +03:00
checksum.go [#140] sdk: Implement checksum comparison function 2020-09-18 10:45:11 +03:00
checksum_test.go [#140] sdk: Implement checksum comparison function 2020-09-18 10:45:11 +03:00
signature.go [#140] sdk: Define Signature type 2020-09-18 10:45:11 +03:00
version.go [#140] sdk: Refactor version type 2020-09-18 10:45:11 +03:00
version_test.go [#140] sdk: Refactor version type 2020-09-18 10:45:11 +03:00