frostfs-node/cmd/neofs-cli/modules/container
Leonard Lyubich 8bba490c30 [#1933] cli: Support binary sessions
There is a need to support NeoFS-binary sessions along with JSON ones in
NeoFS CLI.

Provide generic `common.ReadBinaryOrJSON` functions which tries to
decode NeoFS-binary structure and falls back to JSON format. Use this
function in all places with token reading.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-24 17:45:22 +03:00
..
create.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
delete.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
get.go [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
get_eacl.go [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
list.go [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
list_objects.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
nodes.go [#1704] Add command container nodes to output list of nodes for container, grouped by replica (#1704) 2022-10-07 14:58:01 +03:00
root.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
set_eacl.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
util.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00