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.

342 B
Raw Blame
package licensing

import (
	"os"
	"strings"
)

func devModeFeatureEnabled(feature string) bool {
	switch feature {
	case FeatureMultiUser, FeatureWhiteLabel, FeatureUnlimited:
		return false
	case FeatureMultiTenant:
		return strings.EqualFold(strings.TrimSpace(os.Getenv("PULSE_MULTI_TENANT_ENABLED")), "true")
	default:
		return true
	}
}