mirror of
https://github.com/skoelle/kctl-tui.git
synced 2026-09-18 04:20:25 +00:00
Add internal/kubeexec wrapper and cmd/kctl-tui entrypoint (main, full mode)
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user