mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #450] [MERGED] Move Delete into SDK #480
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#480
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/450
Author: @Tinyblargon
Created: 8/21/2025
Status: ✅ Merged
Merged: 8/21/2025
Merged by: @Tinyblargon
Base:
master← Head:tf-#1377📝 Commits (10+)
0ee5f6crefactor: rename function94b4a8dfeat: add validation and NoCheck variant133bf88feat: LXC Protectione4cd024refactor: useGuestIDfor pool7a62f87feat:getResourceList_Unsafe()fd1f560feat: RawGuestResourceseee81bffeat:RawGuestResources.SelectID()0a4d41ffeat:VmRef.Delete()2c1df7efeat: deprecate vm delete and stop829bc99perf: use unsafe calls for new LXC📊 Changes
36 files changed (+925 additions, -545 deletions)
View changed files
📝
cli/command/delete/delete-guest.go(+1 -6)📝
cli/command/guest/guest-stop.go(+1 -2)📝
main.go(+2 -9)📝
proxmox/client.go(+14 -9)📝
proxmox/config__guest.go(+19 -115)➕
proxmox/config__guest__resource.go(+235 -0)➕
proxmox/config__guest__resource_test.go(+207 -0)📝
proxmox/config__guest_test.go(+0 -222)📝
proxmox/config__lxc__cpu.go(+3 -9)📝
proxmox/config__lxc__new.go(+53 -14)📝
proxmox/config__lxc__new_test.go(+94 -4)📝
proxmox/config__pool.go(+38 -43)📝
proxmox/config__pool_test.go(+34 -34)📝
proxmox/config__qemu.go(+13 -3)📝
proxmox/config__qemu__cloudinit.go(+4 -8)📝
proxmox/config__qemu__disk.go(+2 -6)📝
proxmox/config__qemu__network.go(+2 -4)📝
proxmox/config__qemu__pcie.go(+8 -14)📝
proxmox/config__qemu__serial.go(+1 -3)📝
proxmox/config__qemu__usb.go(+4 -10)...and 16 more files
📄 Description
Moves the delete logic from
github.com/Telmate/terraform-provider-proxmox@cec3174a02/proxmox/helper_guest.gointo the SDK.Reworks and optimizes many areas that are used for the delete logic.
SDK side of https://github.com/Telmate/terraform-provider-proxmox/issues/1377
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.