Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

326 B
Raw Blame
//go:build !release

package mockruntime

import (
	"os"
	"strings"
)

func startupEnabledFromEnv() bool {
	return strings.EqualFold(strings.TrimSpace(os.Getenv("PULSE_MOCK_MODE")), "true")
}

// ValidateEnablement always permits mock fixtures in non-release builds.
func ValidateEnablement(enable bool) error {
	return nil
}