mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #212] [MERGED] Cli overhaul: snapshot #315
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#315
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/212
Author: @Tinyblargon
Created: 10/24/2022
Status: ✅ Merged
Merged: 10/26/2022
Merged by: @mleone87
Base:
master← Head:Feature-Snapshot📝 Commits (10+)
8352730refactor: Deprecate old snapshot functions37f62b5feat: Add way to update the description of a snapshot0e0ebb8feat: Add CreateSnapshot function6551610feat: Add function to format the snapshots as a json tree0a23b40test: FormatSnapshotsTreeeb50349feat: Formats snapsots as a list97e6af0test: validate output of FormatSnapshotsList()96dbb8afeat: add function to return optional IDse33fb7brefactor: Raname function and add comment1db435fMissing from previous commit📊 Changes
24 files changed (+735 additions, -74 deletions)
View changed files
📝
cli/command/create/create-acmeaccount.go(+1 -1)📝
cli/command/create/create-pool.go(+1 -1)➕
cli/command/create/create-snapshot.go(+39 -0)📝
cli/command/create/create-storage.go(+1 -1)📝
cli/command/create/guest/create-guest.go(+1 -1)➕
cli/command/delete/delete-snapshot.go(+30 -0)📝
cli/command/delete/delete.go(+1 -1)📝
cli/command/get/get.go(+1 -1)➕
cli/command/guest/guest-rollback.go(+29 -0)📝
cli/command/list/list-snapshots.go(+31 -24)📝
cli/command/node/node-reboot.go(+1 -1)📝
cli/command/node/node-shutdown.go(+1 -1)📝
cli/command/set/set-metricserver.go(+2 -2)📝
cli/command/set/set-user.go(+2 -2)📝
cli/command/update/update-poolcomment.go(+3 -3)➕
cli/command/update/update-snapshotdescription.go(+28 -0)📝
cli/command/update/update-storage.go(+1 -1)📝
cli/validate.go(+16 -5)📝
main.go(+3 -3)📝
proxmox/client.go(+40 -22)...and 4 more files
📄 Description
Another pull for https://github.com/Telmate/proxmox-api-go/issues/171
Work so far:
list snapshotsto a json tree and list depending on the--no-treeflag(test *Test) StandardTest(t *testing.T) (out []byte)to be able to return the json output for more advanced processing.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.