forked from vmware/govmomi
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vcsim: add support for PropertyCollector incremental updates
Prior to this change, clients could only call WaitForUpdatesEx once, which would return the current state. The next invocation with Version given would fail as unsupported. Clients can now use WaitForUpdatesEx to wait for multiple updates. The basic idea is that methods should now update object fields using the Registry.UpdateObject method instead of setting fields directly. UpdateObject uses the same PropertyChange structure that is sent as part of the WaitForUpdatesEx response. UpdateObject will also apply the PropertyChange(s) to the local object, removing the need to set fields directly. - govc commands now use Client.Flag.WithCancel to catch SIGINT, allowing proper cleanup of collectors - Add vcsim ListView support to ViewManager Fixes vmware#922
- Loading branch information
Showing
19 changed files
with
715 additions
and
151 deletions.
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
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.