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/client/tailscale
Brad Fitzpatrick 4664318be2 client/tailscale: revert CreateKey API change, add Client.CreateKeyWithExpiry
The client/tailscale is a stable-ish API we try not to break. Revert
the Client.CreateKey method as it was and add a new
CreateKeyWithExpiry method to do the new thing. And document the
expiry field and enforce that the time.Duration can't be between in
range greater than 0 and less than a second.

Updates #7143
Updates #8124 (reverts it, effectively)

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
apitype tailcfg, localapi: plumb device token to server 1 year ago
example/servetls all: update copyright and license headers 1 year ago
acl.go various: add golangci-lint, fix issues (#7905) 1 year ago
devices.go client/tailscale: add tags field to Device struct 1 year ago
dns.go various: add golangci-lint, fix issues (#7905) 1 year ago
keys.go client/tailscale: revert CreateKey API change, add Client.CreateKeyWithExpiry 1 year ago
localclient.go client/tailscale: dial LocalAPI at 127.0.0.1 on macOS 1 year ago
localclient_test.go all: update copyright and license headers 1 year ago
required_version.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 1 year ago
routes.go all: update copyright and license headers 1 year ago
tailnet.go all: update copyright and license headers 1 year ago
tailscale.go all: update copyright and license headers 1 year ago