Skip to content

feat: add tailnet v2 Service and Client #11225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2023
PHP-Proxy

PHP-Proxy

Error accessing resource: 429 - Too Many Requests

Conversation

spikecurtis
Copy link
Contributor

Part of #10532

Adds a tailnet ClientService that accepts a net.Conn and serves v1 or v2 of the tailnet API.

Also adds a DRPCService that implements the DRPC interface for the v2 API. This component is within the ClientService, but needs to be reusable and exported so that we can also embed it in the Agent API.

Finally, includes a NewDRPCClient function that takes a net.Conn and runs dRPC in yamux over it on the client side.

Copy link
Contributor Author

@spikecurtis spikecurtis changed the title feat: tailnet v2 Service and Client feat: add tailnet v2 Service and Client Dec 15, 2023
@spikecurtis spikecurtis force-pushed the spike/10532-move-drpc-transport branch from 0f5de15 to 37a0985 Compare December 15, 2023 04:37
@spikecurtis spikecurtis force-pushed the spike/10532-tailnet-service-client branch from 612710b to 1c731aa Compare December 15, 2023 04:37
@spikecurtis spikecurtis force-pushed the spike/10532-move-drpc-transport branch from 37a0985 to 3c3af15 Compare December 15, 2023 04:39
@spikecurtis spikecurtis force-pushed the spike/10532-tailnet-service-client branch from 1c731aa to 1faaf3c Compare December 15, 2023 04:39
@spikecurtis spikecurtis force-pushed the spike/10532-move-drpc-transport branch from 3c3af15 to 606f5e9 Compare December 15, 2023 04:42
@spikecurtis spikecurtis force-pushed the spike/10532-tailnet-service-client branch from 1faaf3c to 78b6829 Compare December 15, 2023 04:42
@spikecurtis spikecurtis force-pushed the spike/10532-tailnet-service-client branch from 78b6829 to f7fd158 Compare December 15, 2023 07:19
@spikecurtis spikecurtis force-pushed the spike/10532-move-drpc-transport branch from 606f5e9 to a034e13 Compare December 15, 2023 08:33
Base automatically changed from spike/10532-move-drpc-transport to main December 15, 2023 08:41
Copy link
Contributor Author

spikecurtis commented Dec 15, 2023

Merge activity

  • Dec 15, 3:41 AM: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.
  • Dec 15, 3:48 AM: @@spikecurtis merged this pull request with Graphite.

@spikecurtis spikecurtis force-pushed the spike/10532-tailnet-service-client branch from f7fd158 to fcdda2e Compare December 15, 2023 08:41
@spikecurtis spikecurtis merged commit a58e4fe into main Dec 15, 2023
@spikecurtis spikecurtis deleted the spike/10532-tailnet-service-client branch December 15, 2023 08:48
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants