mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[PR #186] [MERGED] Cli overhaul: storage #294
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#294
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/186
Author: @Tinyblargon
Created: 8/10/2022
Status: ✅ Merged
Merged: 8/18/2022
Merged by: @mleone87
Base:
master← Head:CLI-Overhaul📝 Commits (6)
f615923Add: storage command and bug fixes797ff24Add: storage intergration tests38ec8d4Merge branch 'Telmate:master' into CLI-Overhaul44bc3deAdd: namespace to PBS4fc8a31Consolidate test codee9b47a2Consolidate more test code📊 Changes
55 files changed (+2448 additions, -279 deletions)
View changed files
➕
cli/command/create/create-storage.go(+33 -0)➕
cli/command/delete/delete-storage.go(+17 -0)📝
cli/command/delete/delete.go(+2 -0)➕
cli/command/get/get-storage.go(+17 -0)📝
cli/command/get/get.go(+2 -0)➕
cli/command/update/update-storage.go(+33 -0)📝
proxmox/config_storage.go(+345 -263)📝
proxmox/validate.go(+17 -16)➕
test/cli/Storage/Storage_CephFS_0_test.go(+36 -0)➕
test/cli/Storage/Storage_CephFS_1_test.go(+36 -0)➕
test/cli/Storage/Storage_Directory_0_test.go(+36 -0)➕
test/cli/Storage/Storage_Directory_1_test.go(+36 -0)➕
test/cli/Storage/Storage_GlusterFS_0_test.go(+36 -0)➕
test/cli/Storage/Storage_GlusterFS_1_test.go(+36 -0)➕
test/cli/Storage/Storage_ISCSI_0_test.go(+36 -0)➕
test/cli/Storage/Storage_ISCSI_1_test.go(+36 -0)➕
test/cli/Storage/Storage_LVM-Thin_0_test.go(+34 -0)➕
test/cli/Storage/Storage_LVM-Thin_1_test.go(+34 -0)➕
test/cli/Storage/Storage_LVM_0_test.go(+36 -0)➕
test/cli/Storage/Storage_LVM_1_test.go(+36 -0)...and 35 more files
📄 Description
Another pull for https://github.com/Telmate/proxmox-api-go/issues/171
Work so far:
Made minor changes to how the storage feature works, as it had some unintended behavior and bugs.
The test are by no means covering every possible case but are the bare minimum needed to have some confidence in the code.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
Formatempty #376