[PR #511] [MERGED] refactor: make AgentNetworkInterface mockable #516

Closed
opened 2026-02-28 00:42:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/511
Author: @Tinyblargon
Created: 11/9/2025
Status: Merged
Merged: 11/9/2025
Merged by: @Tinyblargon

Base: masterHead: refactor-GetAgentInformation


📝 Commits (2)

  • 9d74652 refactor: make AgentNetworkInterface mockable
  • 07144c4 refactor: remove misleading comment

📊 Changes

7 files changed (+369 additions, -138 deletions)

View changed files

📝 proxmox/client.go (+5 -1)
📝 proxmox/client__api.go (+23 -0)
📝 proxmox/client__api__mock.go (+8 -0)
📝 proxmox/client__new.go (+1 -0)
📝 proxmox/client__new__mock.go (+8 -0)
📝 proxmox/data__qemu__agent.go (+169 -53)
📝 proxmox/data__qemu__agent_test.go (+155 -84)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/511 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 11/9/2025 **Status:** ✅ Merged **Merged:** 11/9/2025 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `refactor-GetAgentInformation` --- ### 📝 Commits (2) - [`9d74652`](https://github.com/Telmate/proxmox-api-go/commit/9d74652230e4e833c9ba30318dde0ebfb9b6ad5e) refactor: make AgentNetworkInterface mockable - [`07144c4`](https://github.com/Telmate/proxmox-api-go/commit/07144c48b16093f4b0a803630955738de821433b) refactor: remove misleading comment ### 📊 Changes **7 files changed** (+369 additions, -138 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/client.go` (+5 -1) 📝 `proxmox/client__api.go` (+23 -0) 📝 `proxmox/client__api__mock.go` (+8 -0) 📝 `proxmox/client__new.go` (+1 -0) 📝 `proxmox/client__new__mock.go` (+8 -0) 📝 `proxmox/data__qemu__agent.go` (+169 -53) 📝 `proxmox/data__qemu__agent_test.go` (+155 -84) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-02-28 00:42:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#516
No description provided.