frostfs-api-go/pkg/container
Pavel Karpy c54dee82be [#302] pkg/container: Convert nil UsedSpaceAnnouncement to nil message
Document that `UsedSpaceAnnouncement.ToV2` method returns
`nil` when is called on `nil`. Document that `NewAnnouncementFromV2`
method returns `nil` when is called on `nil`. Add
corresponding unit test.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-09 17:23:35 +03:00
..
id [#302] pkg/container/id: Document default values set in New 2021-06-09 17:23:35 +03:00
test [#293] pkg/container: Implement and use generators of the messages 2021-06-08 18:59:15 +03:00
announcement.go [#302] pkg/container: Convert nil UsedSpaceAnnouncement to nil message 2021-06-09 17:23:35 +03:00
announcement_test.go [#302] pkg/container: Convert nil UsedSpaceAnnouncement to nil message 2021-06-09 17:23:35 +03:00
attribute.go [#193] pkg/container: Wrap container structure with SDK functions 2020-11-13 12:28:00 +03:00
attribute_test.go [#193] pkg/container: Increase test coverage 2020-11-13 12:28:00 +03:00
container.go [#295] pkg: Remove usage of deprecated elements 2021-06-01 08:04:12 +03:00
container_test.go [#293] pkg/container: Implement and use generators of the messages 2021-06-08 18:59:15 +03:00
fmt.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
fmt_test.go [#194] pkg/container: Implement container constructor with format check 2020-12-24 12:54:53 +03:00
id.go [#283] pkg/container: Define ID in a separate package 2021-05-26 12:24:58 +03:00
opts.go [#199] sdk/container: Correct linter's remarks 2020-11-16 18:51:14 +03:00
wellknown_attributes.go [#172] Improve the readability of named attribute constants 2020-10-22 19:15:45 +03:00