mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #265] [MERGED] Feature: list guests #354
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#354
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/265
Author: @Tinyblargon
Created: 6/6/2023
Status: ✅ Merged
Merged: 6/7/2023
Merged by: @mleone87
Base:
master← Head:Feature-ListGuests📝 Commits (5)
04bce30refactor: better code reuse8c03d71refactor: add constant to improve readabilityb2c6f98Add TODO033e99ffeat: add new ListGuests()7dd6a19refactor: command list guests📊 Changes
5 files changed (+368 additions, -11 deletions)
View changed files
📝
cli/command/list/list-guests.go(+6 -1)📝
cli/command/list/list.go(+0 -2)📝
proxmox/client.go(+11 -8)📝
proxmox/config_guest.go(+112 -0)➕
proxmox/config_guest_test.go(+239 -0)📄 Description
Work done this PR:
(c *Client) GetVmList()withListGuests(client *Client). Reason for change:Clientclass makes it easier for a user to find the function.(c *Client) GetResourceList().list gueststo use the new implementation.(c *Client) GetVmList()to not break code that depends on it.TODOfor future deprecation.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
QemuCPU#412