mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #172] [MERGED] get generic /cluster/resources #285
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#285
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/172
Author: @thorntonmc
Created: 4/27/2022
Status: ✅ Merged
Merged: 4/28/2022
Merged by: @mleone87
Base:
master← Head:master📝 Commits (5)
fd45952get generic /cluster/resources62d7aa0allow resource query to get multiple types4924d67fail if json marshalling errs15d5c88caution behavior of /cluster/resourcesb8921fcadd additional cli invocations📊 Changes
3 files changed (+28 additions, -1 deletions)
View changed files
📝
README.md(+4 -0)📝
main.go(+11 -0)📝
proxmox/client.go(+13 -1)📄 Description
This adds the ability to fetch
/cluster/resourceswithout?type=vmbeing appended to it. This way, we have flexibility in what types we retrieve, such as storage.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.