mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[GH-ISSUE #454] Enhance: *Client should be an interface. #115
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#115
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?
Originally created by @Tinyblargon on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/454
Originally assigned to: @Tinyblargon on GitHub.
The
*Clientpassed around everywhere should have been an interface.This will allow for mocking and different implementations depending on PVE version and Authentication method.
The new interface will be called
ClientNewthis will be renamed toClientonce our current client has been obsoleted.The client will be configured by
ConfigClientThis will spawn a new client interface.