mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #194] [MERGED] Cli overhaul: guest commands (no tests yet) #300
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#300
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/194
Author: @Tinyblargon
Created: 9/13/2022
Status: ✅ Merged
Merged: 9/20/2022
Merged by: @mleone87
Base:
master← Head:CLI-Overhaul📝 Commits (4)
09e5a30Make code more DRYe3f9884Add Shared Guest Commandsb8fd039Add qemu specific guest commands7ca9e8fAdd qemu guest pause and hibernate commands📊 Changes
14 files changed (+310 additions, -51 deletions)
View changed files
📝
cli/command/commands/commands.go(+2 -0)➕
cli/command/guest/guest-shutdown.go(+25 -0)➕
cli/command/guest/guest-start.go(+25 -0)➕
cli/command/guest/guest-status.go(+27 -0)➕
cli/command/guest/guest-stop.go(+25 -0)➕
cli/command/guest/guest-uptime.go(+27 -0)➕
cli/command/guest/guest.go(+15 -0)➕
cli/command/guest/qemu/guest-qemu-hibernate.go(+25 -0)➕
cli/command/guest/qemu/guest-qemu-pause.go(+25 -0)➕
cli/command/guest/qemu/guest-qemu-reset.go(+25 -0)➕
cli/command/guest/qemu/guest-qemu-resume.go(+25 -0)➕
cli/command/guest/qemu/guest-qemu.go(+15 -0)📝
cli/print.go(+14 -10)📝
proxmox/client.go(+35 -41)📄 Description
Another pull for https://github.com/Telmate/proxmox-api-go/issues/171
Work so far:
No tests yet for these commands as they are dependent on the CRUD operations of LXC and Qemu which haven't been implemented yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.