[PR #111] [MERGED] Add StorageContentGet function #156

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

📋 Pull Request Information

Original PR: https://github.com/luthermonson/go-proxmox/pull/111
Author: @alperencelik
Created: 1/22/2024
Status: Merged
Merged: 2/5/2024
Merged by: @luthermonson

Base: mainHead: storage-improvements


📝 Commits (3)

  • 93a2692 feat: Add StorageContentGet function
  • 84bda78 fix: Move getContent function to storage
  • ea6e142 fix: update GetContent method include node parameter

📊 Changes

2 files changed (+19 additions, -0 deletions)

View changed files

📝 storage.go (+5 -0)
📝 types.go (+14 -0)

📄 Description

This PR tries to add a function to get all existing content from node's specified storage.

The following API documentation:

https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/content


🔄 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/111 **Author:** [@alperencelik](https://github.com/alperencelik) **Created:** 1/22/2024 **Status:** ✅ Merged **Merged:** 2/5/2024 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `main` ← **Head:** `storage-improvements` --- ### 📝 Commits (3) - [`93a2692`](https://github.com/luthermonson/go-proxmox/commit/93a269202ba680c6b70ca3f9868cb6c243fea170) feat: Add StorageContentGet function - [`84bda78`](https://github.com/luthermonson/go-proxmox/commit/84bda78fc2a3270b9bf8e80df45cab94a30d75cc) fix: Move getContent function to storage - [`ea6e142`](https://github.com/luthermonson/go-proxmox/commit/ea6e142b87f22bb1638323439dbbdbeecc8e1f31) fix: update GetContent method include node parameter ### 📊 Changes **2 files changed** (+19 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `storage.go` (+5 -0) 📝 `types.go` (+14 -0) </details> ### 📄 Description This PR tries to add a function to get all existing content from node's specified storage. The following API documentation: https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/content --- <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:28 +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#156
No description provided.