public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [RFC PATCH datacenter-manager 1/2] lib: pdm-client: add method for /cluster/options
@ 2026-04-17 14:10 Dominik Csapak
  2026-04-17 14:10 ` [RFC PATCH datacenter-manager 2/2] ui: pve: load and use tag style overrides for resource tree Dominik Csapak
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-04-17 14:10 UTC (permalink / raw)
  To: pdm-devel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 lib/pdm-client/src/lib.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/pdm-client/src/lib.rs b/lib/pdm-client/src/lib.rs
index 1565869c..954fae4d 100644
--- a/lib/pdm-client/src/lib.rs
+++ b/lib/pdm-client/src/lib.rs
@@ -567,6 +567,11 @@ impl<T: HttpApiClient> PdmClient<T> {
         Ok(self.0.get(&query).await?.expect_json()?.data)
     }
 
+    pub async fn pve_cluster_options(&self, remote: &str) -> Result<Value, Error> {
+        let url = format!("/api2/extjs/pve/remotes/{remote}/options");
+        Ok(self.0.get(&url).await?.expect_json()?.data)
+    }
+
     pub async fn pve_cluster_updates(&self, remote: &str) -> Result<RemoteUpdateSummary, Error> {
         let url = format!("/api2/extjs/pve/remotes/{remote}/updates");
         Ok(self.0.get(&url).await?.expect_json()?.data)
-- 
2.47.3





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-17 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-17 14:10 [RFC PATCH datacenter-manager 1/2] lib: pdm-client: add method for /cluster/options Dominik Csapak
2026-04-17 14:10 ` [RFC PATCH datacenter-manager 2/2] ui: pve: load and use tag style overrides for resource tree Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal