-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[vnet] add windows tsh cli commands #50935
Conversation
This PR refactors the VNet tsh CLI commands and adds stubs for the commands that are going to be added for Windows VNet support.
Does this include the feedback that Alan left on #50468? Maybe it'd make sense to take Noah and Bartosz out of this PR and assign it to Alan too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for splitting the PR! 🎉
tool/tsh/common/vnet.go
Outdated
@@ -0,0 +1,94 @@ | |||
// Teleport | |||
// Copyright (C) 2024 Gravitational, Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Friendly reminder to update your templates (if any) to 2025. I suppose this was written in 2024 so it's probably fine? (Obligatory I'm not a lawyer.)
tool/tsh/common/vnet.go
Outdated
go func() { | ||
<-cf.Context.Done() | ||
processManager.Close() | ||
}() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could alternatively use context.AfterFunc.
This PR slightly refactors the VNet tsh CLI commands and adds stubs for the commands that are going to be added for Windows VNet support.