Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
package configapi
import (
"testing"
"github.com/rcourtman/pulse-go-rewrite/internal/config"
"github.com/rcourtman/pulse-go-rewrite/pkg/proxmox"
)
func stubAutoRegisterNetworkDeps(t *testing.T) {
t.Helper()
originalDetect := detectPVECluster
originalFingerprint := fetchTLSFingerprint
detectPVECluster = func(proxmox.ClientConfig, string, []config.ClusterEndpoint) (bool, string, []config.ClusterEndpoint) {
return false, "", nil
}
fetchTLSFingerprint = func(string) (string, error) {
return "", nil
}
t.Cleanup(func() {
detectPVECluster = originalDetect
fetchTLSFingerprint = originalFingerprint
})
}