Add internal/kubeexec wrapper and cmd/kctl-tui entrypoint (main, full mode)

This commit is contained in:
Stefan Koelle
2026-08-09 11:22:15 +02:00
parent dc8bcc555f
commit 96ec9d2e1a
4 changed files with 199 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package main
// simpleItem is a minimal implementation of list.Item used for all
// selection screens (contexts, teams, namespaces, menu actions).
type simpleItem struct {
label string // what is shown to the user
value string // the underlying value (context name, team value, ...)
}
func (i simpleItem) Title() string { return i.label }
func (i simpleItem) Description() string { return "" }
func (i simpleItem) FilterValue() string { return i.label }