mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #389] Add Task Interface for long running functions #431
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#431
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/389
Author: @Tinyblargon
Created: 12/7/2024
Status: 🔄 Open
Base:
master← Head:#388📝 Commits (3)
ca4e9bbfeat: implementTaskinterfacebbff06eImplementTaskInterface where possibled66b934fix: ststiccheck SA1006📊 Changes
15 files changed (+414 additions, -182 deletions)
View changed files
📝
cli/command/content/iso/download.go(+6 -1)📝
cli/command/content/template/download.go(+6 -1)📝
cli/command/create/create-snapshot.go(+7 -2)📝
cli/command/delete/delete-file.go(+8 -3)📝
cli/command/delete/delete.go(+5 -6)📝
proxmox/client.go(+76 -115)📝
proxmox/config_guest.go(+4 -5)📝
proxmox/config_qemu.go(+17 -5)📝
proxmox/config_qemu_disk.go(+13 -11)📝
proxmox/content.go(+4 -4)📝
proxmox/content_iso.go(+2 -6)📝
proxmox/content_template.go(+2 -3)📝
proxmox/session.go(+202 -0)📝
proxmox/session_test.go(+39 -0)📝
proxmox/snapshot.go(+23 -20)📄 Description
Return a the new
Taskinterface when we do something in the API that creates a longer running task in PVE.Users can await this
TaskwithWaitForCompletion().Closes #388
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.