Documentation
¶
Overview ¶
Package status renders colored status badges for Tero entities.
Each entity type has its own renderer with the correct status-to-color mapping. All renderers produce a colored dot (●) followed by an optional label.
Index ¶
- func Policy(theme styles.Theme, s domain.PolicyStatus, showLabel bool) string
- func PolicyDot(theme styles.Theme, s domain.PolicyStatus) string
- func Service(theme styles.Theme, h domain.ServiceHealth, showLabel bool) string
- func ServiceDot(theme styles.Theme, h domain.ServiceHealth) string
- func Waste(theme styles.Theme, pct int) string
- func WasteShort(theme styles.Theme, pct int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PolicyDot ¶
func PolicyDot(theme styles.Theme, s domain.PolicyStatus) string
PolicyDot renders just the colored dot for a policy status.
func ServiceDot ¶
func ServiceDot(theme styles.Theme, h domain.ServiceHealth) string
ServiceDot renders just the colored dot for a service health.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.