Skip to content
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

Expose tunnel factory API to non-resolvers #188270

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Conversation

alexr00
Copy link
Member

@alexr00 alexr00 commented Jul 19, 2023

No description provided.

@alexr00 alexr00 requested a review from connor4312 July 19, 2023 12:44
@alexr00 alexr00 enabled auto-merge (squash) July 19, 2023 12:44
@alexr00 alexr00 self-assigned this Jul 19, 2023
tunnelFeatures?: {
elevation: boolean;
/**
* One of the the options must have the ID "private".
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll probably need to find a better way to do this if we want to consider making this real API. I have just copied this over from resolvers.

@vscodenpa vscodenpa added this to the July 2023 milestone Jul 19, 2023
* The localAddress should be the complete local address (ex. localhost:1234) for connecting to the port. Tunnels provided through
* environmentTunnels are read-only from the forwarded ports UI.
*/
environmentTunnels?: TunnelDescription[];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't implement this. It is copied over from resolvers and let's the tunnel provider define some readonly ports at the time of registration. Is this useful?

@alexr00 alexr00 removed the request for review from connor4312 July 20, 2023 07:50
@alexr00 alexr00 merged commit acf5d15 into main Jul 20, 2023
@alexr00 alexr00 deleted the alexr00/tunnelProviderApi branch July 20, 2023 09:56
@github-actions github-actions bot locked and limited conversation to collaborators Sep 3, 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.

3 participants