tailscale/client/tailscale
Marwan Sulaiman 3421784e37 cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig
This PR uses the etag/if-match pattern to ensure multiple calls
to SetServeConfig are synchronized. It currently errors out and
asks the user to retry but we can add occ retries as a follow up.

Updates #8489

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
2023-09-13 15:08:41 -05:00
..
apitype tailcfg: rename prototype field to reflect its status 2023-08-16 15:34:51 -07:00
example/servetls all: update copyright and license headers 2023-01-27 15:36:29 -08:00
acl.go client/tailscale: add warnings slice to ACLTestFailureSummary 2023-07-19 14:44:45 -04:00
devices.go client/tailscale: support deauthorizing a device 2023-06-01 12:46:28 +01:00
dns.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
keys.go client/tailscale: revert CreateKey API change, add Client.CreateKeyWithExpiry 2023-05-12 21:05:12 -07:00
localclient_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
localclient.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 2023-09-13 15:08:41 -05:00
required_version.go all: require Go 1.21 2023-08-08 21:15:08 -07:00
routes.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailnet.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tailscale.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00