Covers both Proxmox API formats:
- Integer format (older versions): direct int value
- Object format (Proxmox 8.3+): {enabled, available} fields
- Preference order: available > enabled > 0
- Invalid input handling defaults to 0
- Integration with VMStatus struct
|
||
|---|---|---|
| .. | ||
| ceph.go | ||
| client.go | ||
| client_test.go | ||
| cluster_client.go | ||
| cluster_client_test.go | ||
| replication.go | ||
| replication_test.go | ||
| zfs.go | ||
| zfs_test.go | ||