Skip to main content Module items Copy item path Source K8sItem A Kubernetes resource item displayed in the skim TUI. ResourceKind The kind of Kubernetes resource this item represents. StatusHealth Health category for a Kubernetes resource status string.
Single source of truth for both color and sort-priority decisions. context_color Pick a consistent color for a cluster context name based on a hash of the name.
Ensures the same context always gets the same color across all items. truncate_name Truncate name to at most max_chars bytes, appending “…” if truncated.
Always splits on a valid UTF-8 char boundary to avoid panics on multi-byte names.