frostfs-node/pkg/core/object
Leonard Lyubich ced854bc2e [#1175] object/fmt: Handle LOCK objects
Make `FormatValidator.ValidateContent` to verify payload of `LOCK`
objects. Pass locked objects to `Locker` interface. Require from
`Locker.Lock` to return `apistatus.IrregularObjectLock` error on a
corresponding condition.

Also add error return to `DeleteHandler.DeleteObjects` method. Require
from method to return `apistatus.ObjectLocked` error on a corresponding
condition. Adopt implementations.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-03-15 13:03:23 +03:00
..
.gitkeep [#11] Trim the old functionality 2020-10-02 11:22:55 +03:00
errors.go [#948] engine: Define EndOfListing error in component packages 2021-11-19 16:57:19 +03:00
fmt.go [#1175] object/fmt: Handle LOCK objects 2022-03-15 13:03:23 +03:00
fmt_test.go [#1214] *: Use single Object type in whole project 2022-03-04 17:45:00 +03:00
object.go [#1214] *: Use single Object type in whole project 2022-03-04 17:45:00 +03:00