mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #335] [MERGED] Overhaul: pool #400
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#400
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/335
Author: @Tinyblargon
Created: 5/25/2024
Status: ✅ Merged
Merged: 5/25/2024
Merged by: @Tinyblargon
Base:
master← Head:Overhaul-Pool📝 Commits (10+)
0322143feat: typeConfigPool822c076test:PoolNamevalidate20d1373feat:ListPools()61e99e1feat: check pool existence8efaa23feat: delete pool121b5d0feat: getpoolfrom api044ab4cfeat: remove pool guests581d01cfeat: add guests to pool2a4d1cafeat: set pool guestsea3cc0bfeat: pool create and update📊 Changes
18 files changed (+1043 additions, -41 deletions)
View changed files
📝
cli/command/create/create-pool.go(+7 -3)📝
cli/command/delete/delete.go(+1 -1)📝
cli/command/list/list-pools.go(+10 -2)📝
cli/command/list/list.go(+0 -2)📝
cli/command/update/update-poolcomment.go(+7 -3)📝
main.go(+10 -7)📝
proxmox/client.go(+9 -0)📝
proxmox/config_guest.go(+36 -2)📝
proxmox/config_lxc.go(+1 -1)➕
proxmox/config_pool.go(+457 -0)➕
proxmox/config_pool_test.go(+370 -0)📝
proxmox/config_qemu.go(+34 -11)📝
proxmox/config_qemu_test.go(+19 -6)📝
proxmox/util.go(+14 -0)📝
proxmox/util_test.go(+29 -0)📝
test/api/Pool/pool_create_destroy_test.go(+3 -2)📝
test/api/Pool/pool_list_test.go(+2 -1)➕
test/data/test_data_pool/type_PoolName.go(+34 -0)📄 Description
Re-implemented pools.
You can now set which guests should be member's of a pool.
It returns properly defined structs.
Everything has tests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.