mirror of
https://github.com/skoelle/kctl-tui.git
synced 2026-09-17 20:10:24 +00:00
23 lines
752 B
Go
23 lines
752 B
Go
// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)
|
|
// Licensed under the MIT License. See LICENSE file in project root for details.
|
|
|
|
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 diffSecretValues(left, right map[string]string) []kctl.SecretDiffEntry {
|
|
return kctl.DiffSecretValues(left, right)
|
|
}
|
|
|
|
func anyMismatch(entries []kctl.SecretDiffEntry) bool {
|
|
return kctl.AnyMismatch(entries)
|
|
}
|