frostfs-node/cmd/neofs-cli/modules
Leonard Lyubich cd545f0160 [#1351] cli: Fix connection scheme loss during endpoint parsing
In previous implementation NeoFS CLI app used `network.Address.HostAddr`
as a server URI, which caused scheme loss since host address doesn't
contain it.

Rename `HostAddr` to `URIAddr` and make it to return URI address with
`grpcs` scheme if TLS is enabled. Make `TLSEnabled` unexported since it
was used to provide default `tls.Config` only (it is used by default in
SDK).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-05-05 10:43:27 +03:00
..
acl [#1250] *: Remove io/ioutil imports 2022-04-07 17:23:28 +03:00
bearer [#1216] neofs-cli: Reuse GetSDKClient between CLI modules 2022-04-25 10:47:43 +03:00
session [#1216] neofs-cli: Allow to create and save session token 2022-04-25 10:47:43 +03:00
accounting.go [#1101] *: Adopt interface changes of API client from SDK library 2022-02-03 14:00:14 +03:00
completion.go [#1041] cmd/*: factor out autocomplet command generation 2022-01-12 18:33:48 +03:00
container.go [#1316] neofs-cli: Print object ID in base-58 2022-04-25 10:54:18 +03:00
control.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
dump.go [#1231] Update new SDK Client interface 2022-03-14 13:18:48 +03:00
key_test.go *: use require.ErrorIs where possible 2022-04-29 16:47:57 +03:00
lock.go [#1181] Do not use deprecated elements 2022-03-15 13:03:23 +03:00
netmap.go [#625] client/netmap: remove intermediate wrapper 2022-02-08 09:43:54 +03:00
object.go [#1216] neofs-cli: Allow to use session token from file 2022-04-25 10:47:43 +03:00
restore.go [#1231] Update new SDK Client interface 2022-03-14 13:18:48 +03:00
root.go [#1351] cli: Fix connection scheme loss during endpoint parsing 2022-05-05 10:43:27 +03:00
storagegroup.go [#1239] neofs-cli: Use pointer-less slices for object ID 2022-03-29 16:02:05 +03:00
util.go [#1252] neofs-cli: Print details for AccessDenied errors 2022-03-21 19:20:01 +03:00