mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-05 20:27:21 +08:00
* Add daemon.Service.ResolveClusterURI * Accept agents dir through command line flag tshd needs to know this out of band, so that when the Electron app tells it to watch for host UUID file for a specific cluster, the Electron app can send just the profile name of the cluster instead of an arbitrary path on the computer. * Implement WaitForConnectMyComputerNodeJoin in tsh daemon * wait: Use addEventListener instead of onabort * Make TshAbortController emit abort event only once This aligns it with a regular AbortController, which also emits the event only once. * Refactor how types are imported in tshd fixtures * Implement WaitForConnectMyComputerNodeJoin in Electron app * createAbortController: Add signal.aborted, use emitter.once * Improve wait function based on Deno implementation https://github.com/denoland/deno_std/blob/72d6e6641e3cd39ae69fba89a78feab354018ef0/async/delay.ts#L39 * Add a comment about the events package