[PR #52] [MERGED] basic framework to gock out the entire pve api #107

Closed
opened 2026-03-03 15:30:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/luthermonson/go-proxmox/pull/52
Author: @luthermonson
Created: 1/25/2023
Status: Merged
Merged: 1/25/2023
Merged by: @luthermonson

Base: mainHead: gock


📝 Commits (1)

  • 61c89e5 basic framework to gock out the entire pve api

📊 Changes

7 files changed (+303 additions, -14 deletions)

View changed files

📝 proxmox_test.go (+28 -14)
tests/mocks/main.go (+57 -0)
tests/mocks/pve6x/main.go (+29 -0)
tests/mocks/pve7x/access.go (+88 -0)
tests/mocks/pve7x/main.go (+67 -0)
tests/mocks/types/types.go (+19 -0)
tests/mocks/versions.go (+15 -0)

📄 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/luthermonson/go-proxmox/pull/52 **Author:** [@luthermonson](https://github.com/luthermonson) **Created:** 1/25/2023 **Status:** ✅ Merged **Merged:** 1/25/2023 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `main` ← **Head:** `gock` --- ### 📝 Commits (1) - [`61c89e5`](https://github.com/luthermonson/go-proxmox/commit/61c89e5c884aaba39d7b9e3e6b4b2e740a91d80c) basic framework to gock out the entire pve api ### 📊 Changes **7 files changed** (+303 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `proxmox_test.go` (+28 -14) ➕ `tests/mocks/main.go` (+57 -0) ➕ `tests/mocks/pve6x/main.go` (+29 -0) ➕ `tests/mocks/pve7x/access.go` (+88 -0) ➕ `tests/mocks/pve7x/main.go` (+67 -0) ➕ `tests/mocks/types/types.go` (+19 -0) ➕ `tests/mocks/versions.go` (+15 -0) </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 2026-03-03 15:30:14 +03:00
Sign in to join this conversation.
No labels
pull-request
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/go-proxmox#107
No description provided.