frostfs-node/cmd/neofs-cli/modules/object
Leonard Lyubich 9a006ac14f [#1865] 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 [#1383] neofs-cli: move object command to a separate package 2022-06-16 09:27:07 +03:00
get.go [#1865] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
hash.go [#1865] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
head.go [#1865] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
lock.go [#1612] neofs-cli: Unify expiration flags 2022-07-22 16:18:09 +03:00
put.go [#1296] cli: "ID" -> "OID" 2022-08-22 14:29:50 +04:00
range.go [#1865] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
root.go [#1383] neofs-cli: move object command to a separate package 2022-06-16 09:27:07 +03:00
search.go [#1865] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00
util.go [#1865] cli/object: Do not open remote sessions in reading ops 2022-10-12 13:22:19 +03:00