mirror of
https://github.com/skoelle/kctl-tui.git
synced 2026-09-17 20:10:24 +00:00
Add internal/kubeexec wrapper and cmd/kctl-tui entrypoint (main, full mode)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import "github.com/skoelle/kctl-tui/internal/kctl"
|
||||
|
||||
func distinctLabelValues(namespaces map[string]map[string]string, labelKey string) []string {
|
||||
return kctl.DistinctLabelValues(namespaces, labelKey)
|
||||
}
|
||||
|
||||
func namespacesForLabelValue(namespaces map[string]map[string]string, labelKey, value string) []string {
|
||||
return kctl.NamespacesForLabelValue(namespaces, labelKey, value)
|
||||
}
|
||||
|
||||
func findNextContext(current string, pairs []kctl.ContextPair) (string, bool) {
|
||||
return kctl.FindNextContext(current, pairs)
|
||||
}
|
||||
Reference in New Issue
Block a user