mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #421] [MERGED] Reimplement LXC #457
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#457
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/421
Author: @Tinyblargon
Created: 6/6/2025
Status: ✅ Merged
Merged: 6/6/2025
Merged by: @Tinyblargon
Base:
master← Head:lxc📝 Commits (10+)
2185aeffeat: start of new LXC implementationfaaeb4bfeat: typeGuestNamef003f4dfeat:RawConfigLXCtype6adf2befeat: minimalLxcBootMountimplementationad52d9crefactor: change order of tests3e4d4d5refactor: replaceinArraywithslices.Contains69054adtest: addLxcMemory.String()7509c2arefactor: moveIDto right location1ea35b3refactor: reduce nested if statementsc08f33efeat: typeLxcSwap📊 Changes
36 files changed (+4864 additions, -463 deletions)
View changed files
📝
docs/style-guide/sdk.md(+52 -28)📝
proxmox/config_acme_account.go(+3 -1)📝
proxmox/config_guest.go(+171 -3)📝
proxmox/config_guest_test.go(+53 -0)➕
proxmox/config_lxc__cpu.go(+168 -0)➕
proxmox/config_lxc__cpu_test.go(+114 -0)➕
proxmox/config_lxc__features.go(+144 -0)➕
proxmox/config_lxc__mount.go(+222 -0)➕
proxmox/config_lxc__mount_test.go(+11 -0)➕
proxmox/config_lxc__networks.go(+667 -0)➕
proxmox/config_lxc__networks_test.go(+359 -0)➕
proxmox/config_lxc_new.go(+488 -0)➕
proxmox/config_lxc_new_test.go(+1781 -0)📝
proxmox/config_qemu.go(+21 -7)📝
proxmox/config_qemu_cloudinit.go(+7 -121)📝
proxmox/config_qemu_cloudinit_test.go(+0 -104)📝
proxmox/config_qemu_network.go(+12 -67)📝
proxmox/config_qemu_network_test.go(+7 -28)📝
proxmox/config_qemu_test.go(+83 -40)📝
proxmox/config_storage.go(+9 -8)...and 16 more files
📄 Description
This is a basic re-implementation of LXC.
All code that was changed for the LXC implementation has been tested, but the LXC implementation itself has not been tested yet.
One change has been made to the style guide as the way LXC is converting the API response to a config is way more ergonomic.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
RawConfigUser#489