forked from vmware/govmomi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for snapshot size calculations
- govc: Add size (`s`) flag to `snapshot.tree` subcommand - Add `object.SnapshotSize` and helper functions to support calculating snapshot size from other client code Credit to @dougm for providing successive code examples, explanation and guidance for understanding the required steps to implement this support. As noted on vmwareGH-2243, code provided by @dougm was (AFAIK) based heavily on existing C# code for PowerCLI implementation of the `Get-Snapshot` cmdlet. - credit: @dougm - refs vmware#2243
- Loading branch information
Showing
2 changed files
with
107 additions
and
7 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