You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/drive
Percy Wegmann 454d856be8 drive,ipn/ipnlocal: calculate peer taildrive URLs on-demand
Instead of calculating the PeerAPI URL at the time that we add the peer,
we now calculate it on every access to the peer. This way, if we
initially did not have a shared address family with the peer, but
later do, this allows us to access the peer at that point. This
follows the pattern from other places where we access the peer API,
which also calculate the URL on an as-needed basis.

Additionally, we now show peers as not Available when we can't get
a peer API URL.

Lastly, this moves some of the more frequent verbose Taildrive logging
from [v1] to [v2] level.

Updates #29702

Signed-off-by: Percy Wegmann <percy@tailscale.com>
5 months ago
..
driveimpl drive,ipn/ipnlocal: calculate peer taildrive URLs on-demand 5 months ago
drive_clone.go tailscale: update tailfs file and package names (#11590) 2 years ago
drive_view.go cmd/viewer,all: consistently use "read-only" instead of "readonly" 11 months ago
local.go drive,ipn/ipnlocal: calculate peer taildrive URLs on-demand 5 months ago
remote.go drive: use secret token to authenticate access to file server on localhost 2 years ago
remote_nonunix.go tailscale: update tailfs file and package names (#11590) 2 years ago
remote_permissions.go drive: fix minor typos in comments 8 months ago
remote_permissions_test.go tailscale: update tailfs file and package names (#11590) 2 years ago
remote_test.go drive: move normalizeShareName into pkg drive and make func public (#11638) 2 years ago
remote_unix.go tailscale: update tailfs file and package names (#11590) 2 years ago