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.

813 B
Raw Blame
package licensing

// SubscriptionState represents the subscription lifecycle state.
type SubscriptionState string

const (
	SubStateTrial     SubscriptionState = "trial"
	SubStateActive    SubscriptionState = "active"
	SubStateGrace     SubscriptionState = "grace"
	SubStateExpired   SubscriptionState = "expired"
	SubStateSuspended SubscriptionState = "suspended"
	// SubStateCanceled represents an explicit user-initiated cancellation.
	// For Cloud, this should revoke paid capabilities immediately (no grace).
	SubStateCanceled SubscriptionState = "canceled"
)

// LimitCheckResult represents the result of evaluating a limit.
type LimitCheckResult string

const (
	LimitAllowed   LimitCheckResult = "allowed"
	LimitSoftBlock LimitCheckResult = "soft_block"
	LimitHardBlock LimitCheckResult = "hard_block"
)