-
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
tctl support for DynamicWindowsDesktop #46988
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
e98d320
Add DynamicWindowsDesktop to proto
probakowski f61f87c
Add resource matchers to Windows desktop service config
probakowski 9705056
Implement API and backend for DynamicWindowsDesktop
probakowski 6d1c74a
tctl support for DynamicWindowsDesktop
probakowski 129bfff
Fix imports
probakowski a8794ba
Remove unused methods
probakowski 263baee
Merge remote-tracking branch 'origin/master' into probakowski/registe…
probakowski 5767426
move rpc to separate server
probakowski 476f221
Merge branch 'probakowski/register-resources-proto' into probakowski/…
probakowski f99db8b
rework api and grpc more towards 153-style
probakowski f518ab7
Merge remote-tracking branch 'origin/master' into probakowski/registe…
probakowski 3aca083
Merge branch 'probakowski/register-resources-proto' into probakowski/…
probakowski b4da04f
Merge branch 'probakowski/register-resources-proto' into probakowski/…
probakowski d54b692
e
probakowski 34c79ce
Merge branch 'probakowski/register-resources-proto' into probakowski/…
probakowski d547d83
Merge branch 'probakowski/register-resources-proto' into probakowski/…
probakowski 1b568fd
remove dynamic windows from paginated resource
probakowski 752a822
Merge branch 'probakowski/register-resources-config' into probakowski…
probakowski 4013534
add tests
probakowski c483888
add tests
probakowski 2eba6c7
Merge remote-tracking branch 'origin/master' into probakowski/registe…
probakowski 5fe9fa5
Merge branch 'probakowski/register-resources-api' into probakowski/re…
probakowski dfdb88b
update client
probakowski bed7d62
Update api/proto/teleport/legacy/types/types.proto
probakowski b3f7598
Merge remote-tracking branch 'origin/master' into probakowski/registe…
probakowski 99f6282
lint
probakowski 8fabe56
Merge remote-tracking branch 'origin/master' into probakowski/registe…
probakowski 247bed9
Merge branch 'probakowski/register-resources-proto' into probakowski/…
probakowski bf9c121
Merge branch 'master' into probakowski/register-resources-config
probakowski b3ff70a
gci
probakowski 57310c0
Merge branch 'probakowski/register-resources-config' into probakowski…
probakowski 5dff168
cleanup
probakowski b57b8d0
cleanup
probakowski 14987eb
use generic service
probakowski 0ccf188
cleanup
probakowski 37c409d
cleanup
probakowski c8a44c4
cleanup
probakowski 8a4e4a5
Merge branch 'master' into probakowski/register-resources-api
probakowski b26df6d
cleanup
probakowski ef90d0d
cleanup
probakowski e594197
gci
probakowski 97f2b7e
add admin action checks
probakowski 4a51c03
move service
probakowski 5c86920
add service test
probakowski 641dc78
Merge branch 'master' into probakowski/register-resources-api
probakowski 50627bd
Merge branch 'probakowski/register-resources-api' into probakowski/re…
probakowski 8a75575
add tests
probakowski fe18d8b
gci
probakowski e4ad549
Merge branch 'probakowski/register-resources-api' into probakowski/re…
probakowski af5dc06
review comments
probakowski 7592f48
review comments
probakowski 88753c6
review comments
probakowski 84af7ce
Merge branch 'master' into probakowski/register-resources-api
probakowski 0f91585
Merge branch 'probakowski/register-resources-api' into probakowski/re…
probakowski a893d15
review comments
probakowski 61db837
review comments
probakowski e3527b1
review comments
probakowski 8a32003
Merge branch 'master' into probakowski/register-resources-api
probakowski c990cf5
Merge branch 'master' into probakowski/register-resources-api
probakowski 92632e1
Merge branch 'probakowski/register-resources-api' into probakowski/re…
probakowski 8086d3d
Merge remote-tracking branch 'origin/master' into probakowski/registe…
probakowski 1b24838
Merge branch 'master' into probakowski/register-resources-tctl
probakowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think using Update here is potentially not going to meet expectations of
--force
. If the revisions do not match this will result in a compare failed error instead of forcefully overwriting what ever currently exists with the resource provided.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.
The same pattern is used for other resources like apps and kube clusters. We can't do much better unless we want to expose upsert function
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.
I think that pattern is incorrect and something we should not copy here if we can avoid it.
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.
What's the alternative, Tim?
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.
Upsert
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.
I'll merge this as is and add upsert and use it here in follow-up PR