frostfs-node/cmd/neofs-cli/modules/object
Leonard Lyubich 9a006ac14f [] cli/object: Do not open remote sessions in reading ops
It does not make sense to open remote sessions with the storage node in
`get`, `head`, `search`, `range` and `hash` sub-commands of `neofs-cli
object` command.

Do not use NeoFS API `SessionService` in mentioned commands. Decode
object session from JSON file specified `--session` flag. Perform some
sanity checks instantly on CLI side.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-12 13:22:19 +03:00
..
delete.go [] neofs-cli: move object command to a separate package 2022-06-16 09:27:07 +03:00
get.go [] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
hash.go [] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
head.go [] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
lock.go [] neofs-cli: Unify expiration flags 2022-07-22 16:18:09 +03:00
put.go [] cli: "ID" -> "OID" 2022-08-22 14:29:50 +04:00
range.go [] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
root.go [] neofs-cli: move object command to a separate package 2022-06-16 09:27:07 +03:00
search.go [] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
util.go [] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00