SYMBOL INDEX (4963 symbols across 513 files) FILE: cmd/info.go function infoCmd (line 19) | func infoCmd() *cobra.Command { function printInfo (line 27) | func printInfo(*cobra.Command, []string) error { function printLogo (line 49) | func printLogo(c color.Paint) { function getScreenDumpDirForInfo (line 57) | func getScreenDumpDirForInfo() string { FILE: cmd/info_test.go function Test_getScreenDumpDirForInfo (line 13) | func Test_getScreenDumpDirForInfo(t *testing.T) { FILE: cmd/root.go constant appName (line 29) | appName = config.AppName constant shortAppDesc (line 30) | shortAppDesc = "A graphical CLI for your Kubernetes cluster management." constant longAppDesc (line 31) | longAppDesc = "K9s is a CLI to view and manage your Kubernetes clusters." type flagError (line 51) | type flagError struct method Error (line 53) | func (e flagError) Error() string { return e.err.Error() } function init (line 55) | func init() { function Execute (line 70) | func Execute() { function run (line 76) | func run(*cobra.Command, []string) error { function loadConfiguration (line 130) | func loadConfiguration() (*config.Config, error) { function parseLevel (line 171) | func parseLevel(level string) slog.Level { function initK9sFlags (line 184) | func initK9sFlags() { function initK8sFlags (line 267) | func initK8sFlags() { function initAsFlags (line 318) | func initAsFlags() { function initCertFlags (line 334) | func initCertFlags() { type k8sPickerFn (line 372) | type k8sPickerFn type completeFn (line 373) | type completeFn function initK8sFlagCompletion (line 376) | func initK8sFlagCompletion() { function k8sFlagCompletion (line 401) | func k8sFlagCompletion[T any](picker k8sPickerFn[T]) completeFn { function filterFlagCompletions (line 413) | func filterFlagCompletions[T any](m map[string]T, s string) ([]string, c... FILE: cmd/version.go function versionCmd (line 13) | func versionCmd() *cobra.Command { function printVersion (line 30) | func printVersion(short bool) { function printTuple (line 45) | func printTuple(fmat, section, value string, outputColor color.Paint) { FILE: internal/client/client.go constant cacheSize (line 31) | cacheSize = 100 constant cacheExpiry (line 32) | cacheExpiry = 5 * time.Minute constant cacheMXAPIKey (line 33) | cacheMXAPIKey = "metricsAPI" constant serverVersion (line 34) | serverVersion = "serverVersion" constant cacheNSKey (line 35) | cacheNSKey = "validNamespaces" type NamespaceNames (line 41) | type NamespaceNames type APIClient (line 44) | type APIClient struct method ConnectionOK (line 85) | func (a *APIClient) ConnectionOK() bool { method ActiveContext (line 113) | func (a *APIClient) ActiveContext() string { method IsActiveNamespace (line 123) | func (a *APIClient) IsActiveNamespace(ns string) bool { method ActiveNamespace (line 132) | func (a *APIClient) ActiveNamespace() string { method clearCache (line 140) | func (a *APIClient) clearCache() { method CanI (line 147) | func (a *APIClient) CanI(ns string, gvr *GVR, name string, verbs []str... method CurrentNamespaceName (line 211) | func (a *APIClient) CurrentNamespaceName() (string, error) { method ServerVersion (line 216) | func (a *APIClient) ServerVersion() (*version.Info, error) { method IsValidNamespace (line 236) | func (a *APIClient) IsValidNamespace(ns string) bool { method isValidNamespace (line 248) | func (a *APIClient) isValidNamespace(n string) (bool, error) { method ValidNamespaceNames (line 262) | func (a *APIClient) ValidNamespaceNames() (NamespaceNames, error) { method CheckConnectivity (line 299) | func (a *APIClient) CheckConnectivity() bool { method Config (line 337) | func (a *APIClient) Config() *Config { method HasMetrics (line 342) | func (a *APIClient) HasMetrics() bool { method getMxsClient (line 346) | func (a *APIClient) getMxsClient() *versioned.Clientset { method setMxsClient (line 353) | func (a *APIClient) setMxsClient(c *versioned.Clientset) { method getCachedClient (line 360) | func (a *APIClient) getCachedClient() *disk.CachedDiscoveryClient { method setCachedClient (line 367) | func (a *APIClient) setCachedClient(c *disk.CachedDiscoveryClient) { method getDClient (line 374) | func (a *APIClient) getDClient() dynamic.Interface { method setDClient (line 381) | func (a *APIClient) setDClient(c dynamic.Interface) { method getConnOK (line 388) | func (a *APIClient) getConnOK() bool { method setConnOK (line 395) | func (a *APIClient) setConnOK(b bool) { method setLogClient (line 402) | func (a *APIClient) setLogClient(k kubernetes.Interface) { method getLogClient (line 409) | func (a *APIClient) getLogClient() kubernetes.Interface { method setClient (line 416) | func (a *APIClient) setClient(k kubernetes.Interface) { method getClient (line 423) | func (a *APIClient) getClient() kubernetes.Interface { method DialLogs (line 431) | func (a *APIClient) DialLogs() (kubernetes.Interface, error) { method Dial (line 454) | func (a *APIClient) Dial() (kubernetes.Interface, error) { method RestConfig (line 476) | func (a *APIClient) RestConfig() (*restclient.Config, error) { method CachedDiscovery (line 481) | func (a *APIClient) CachedDiscovery() (*disk.CachedDiscoveryClient, er... method DynDial (line 513) | func (a *APIClient) DynDial() (dynamic.Interface, error) { method MXDial (line 532) | func (a *APIClient) MXDial() (*versioned.Clientset, error) { method invalidateCache (line 551) | func (a *APIClient) invalidateCache() error { method SwitchContext (line 562) | func (a *APIClient) SwitchContext(name string) error { method reset (line 580) | func (a *APIClient) reset() { method checkCacheBool (line 593) | func (a *APIClient) checkCacheBool(key string) (state, ok bool) { method supportsMetricsResources (line 602) | func (a *APIClient) supportsMetricsResources() error { function NewTestAPIClient (line 58) | func NewTestAPIClient() *APIClient { function InitConnection (line 67) | func InitConnection(config *Config, log *slog.Logger) (*APIClient, error) { function makeSAR (line 89) | func makeSAR(ns string, gvr *GVR, name string) *authorizationv1.SelfSubj... function makeCacheKey (line 108) | func makeCacheKey(ns string, gvr *GVR, n string, vv []string) string { function checkMetricsVersion (line 637) | func checkMetricsVersion(grp *metav1.APIGroup) bool { FILE: internal/client/client_test.go function TestMakeSAR (line 14) | func TestMakeSAR(t *testing.T) { function TestIsValidNamespace (line 85) | func TestIsValidNamespace(t *testing.T) { function TestCheckCacheBool (line 153) | func TestCheckCacheBool(t *testing.T) { FILE: internal/client/config.go constant DefaultCallTimeoutDuration (line 23) | DefaultCallTimeoutDuration time.Duration = 120 * time.Second constant UsePersistentConfig (line 26) | UsePersistentConfig = true type Config (line 30) | type Config struct method CallTimeout (line 44) | func (c *Config) CallTimeout() time.Duration { method RESTConfig (line 56) | func (c *Config) RESTConfig() (*restclient.Config, error) { method Flags (line 69) | func (c *Config) Flags() *genericclioptions.ConfigFlags { method RawConfig (line 73) | func (c *Config) RawConfig() (api.Config, error) { method clientConfig (line 77) | func (c *Config) clientConfig() clientcmd.ClientConfig { method reset (line 81) | func (*Config) reset() {} method SwitchContext (line 84) | func (c *Config) SwitchContext(name string) error { method Clone (line 106) | func (c *Config) Clone(ns string) (*genericclioptions.ConfigFlags, err... method CurrentClusterName (line 125) | func (c *Config) CurrentClusterName() (string, error) { method CurrentContextName (line 149) | func (c *Config) CurrentContextName() (string, error) { method CurrentContextNamespace (line 161) | func (c *Config) CurrentContextNamespace() (string, error) { method CurrentContext (line 175) | func (c *Config) CurrentContext() (*api.Context, error) { method GetContext (line 184) | func (c *Config) GetContext(n string) (*api.Context, error) { method SetProxy (line 197) | func (c *Config) SetProxy(proxy func(*http.Request) (*url.URL, error)) { method Contexts (line 202) | func (c *Config) Contexts() (map[string]*api.Context, error) { method DelContext (line 212) | func (c *Config) DelContext(n string) error { method RenameContext (line 228) | func (c *Config) RenameContext(oldCtx, newCtx string) error { method ContextNames (line 258) | func (c *Config) ContextNames() (map[string]struct{}, error) { method CurrentGroupNames (line 272) | func (c *Config) CurrentGroupNames() ([]string, error) { method ImpersonateGroups (line 281) | func (c *Config) ImpersonateGroups() (string, error) { method ImpersonateUser (line 290) | func (c *Config) ImpersonateUser() (string, error) { method CurrentUserName (line 299) | func (c *Config) CurrentUserName() (string, error) { method CurrentNamespaceName (line 325) | func (c *Config) CurrentNamespaceName() (string, error) { method ConfigAccess (line 340) | func (c *Config) ConfigAccess() (clientcmd.ConfigAccess, error) { function NewConfig (line 37) | func NewConfig(f *genericclioptions.ConfigFlags) *Config { function isSet (line 350) | func isSet(s *string) bool { function areSet (line 354) | func areSet(ss *[]string) bool { FILE: internal/client/config_test.go function init (line 21) | func init() { function TestCallTimeout (line 25) | func TestCallTimeout(t *testing.T) { function TestConfigCurrentContext (line 50) | func TestConfigCurrentContext(t *testing.T) { function TestConfigCurrentCluster (line 80) | func TestConfigCurrentCluster(t *testing.T) { function TestConfigCurrentUser (line 112) | func TestConfigCurrentUser(t *testing.T) { function TestConfigCurrentNamespace (line 139) | func TestConfigCurrentNamespace(t *testing.T) { function TestConfigGetContext (line 172) | func TestConfigGetContext(t *testing.T) { function TestConfigSwitchContext (line 202) | func TestConfigSwitchContext(t *testing.T) { function TestConfigAccess (line 217) | func TestConfigAccess(t *testing.T) { function TestConfigContextNames (line 230) | func TestConfigContextNames(t *testing.T) { function TestConfigContexts (line 243) | func TestConfigContexts(t *testing.T) { function TestConfigDelContext (line 256) | func TestConfigDelContext(t *testing.T) { function TestConfigRestConfig (line 276) | func TestConfigRestConfig(t *testing.T) { function TestConfigBadConfig (line 287) | func TestConfigBadConfig(t *testing.T) { function cp (line 300) | func cp(src, dst string) error { FILE: internal/client/errors.go type Error (line 9) | type Error method Error (line 12) | func (e Error) Error() string { constant noMetricServerErr (line 17) | noMetricServerErr = Error("No metrics-server detected") constant metricsUnsupportedErr (line 18) | metricsUnsupportedErr = Error("No metrics api group " + metricsapi.Group... FILE: internal/client/gvr.go type GVR (line 25) | type GVR struct method IsAlias (line 86) | func (g *GVR) IsAlias() bool { method IsK8sRes (line 90) | func (g *GVR) IsK8sRes() bool { method WithSubResource (line 95) | func (g *GVR) WithSubResource(sub string) *GVR { method FQN (line 128) | func (g *GVR) FQN(n string) string { method AsResourceName (line 133) | func (g *GVR) AsResourceName() string { method SubResource (line 142) | func (g *GVR) SubResource() string { method String (line 147) | func (g *GVR) String() string { method GV (line 152) | func (g *GVR) GV() schema.GroupVersion { method GVK (line 160) | func (g *GVR) GVK() schema.GroupVersionKind { method GVR (line 169) | func (g *GVR) GVR() schema.GroupVersionResource { method GVSub (line 178) | func (g *GVR) GVSub() string { method GR (line 187) | func (g *GVR) GR() *schema.GroupResource { method V (line 195) | func (g *GVR) V() string { method RG (line 200) | func (g *GVR) RG() (resource, group string) { method R (line 205) | func (g *GVR) R() string { method G (line 210) | func (g *GVR) G() string { method IsDecodable (line 215) | func (g *GVR) IsDecodable() bool { method MarshalYAML (line 222) | func (g *GVR) MarshalYAML() (any, error) { method UnmarshalYAML (line 226) | func (g *GVR) UnmarshalYAML(n *yaml.Node) error { type gvrCache (line 29) | type gvrCache struct method add (line 34) | func (c *gvrCache) add(gvr *GVR) { method get (line 42) | func (c *gvrCache) get(gvrs string) *GVR { function NewGVR (line 58) | func NewGVR(s string) *GVR { function NewGVRFromMeta (line 100) | func NewGVRFromMeta(a *metav1.APIResource) *GVR { function NewGVRFromCRD (line 105) | func NewGVRFromCRD(crd *apiext.CustomResourceDefinition) map[*GVR]*apiex... function FromGVAndR (line 123) | func FromGVAndR(gv, r string) *GVR { type GVRs (line 233) | type GVRs method Len (line 236) | func (g GVRs) Len() int { method Swap (line 241) | func (g GVRs) Swap(i, j int) { method Less (line 246) | func (g GVRs) Less(i, j int) bool { function Can (line 255) | func Can(verbs []string, v string) bool { function mapVerb (line 278) | func mapVerb(v string) ([]string, error) { FILE: internal/client/gvr_test.go function TestGVRSort (line 16) | func TestGVRSort(t *testing.T) { function TestGVRCan (line 30) | func TestGVRCan(t *testing.T) { function TestGVR (line 52) | func TestGVR(t *testing.T) { function TestAsGV (line 70) | func TestAsGV(t *testing.T) { function TestNewGVR (line 88) | func TestNewGVR(t *testing.T) { function TestGVRAsResourceName (line 105) | func TestGVRAsResourceName(t *testing.T) { function TestToR (line 124) | func TestToR(t *testing.T) { function TestToG (line 143) | func TestToG(t *testing.T) { function TestToV (line 162) | func TestToV(t *testing.T) { function TestToString (line 181) | func TestToString(t *testing.T) { FILE: internal/client/helper_test.go function TestMetaFQN (line 14) | func TestMetaFQN(t *testing.T) { function TestCoFQN (line 40) | func TestCoFQN(t *testing.T) { function TestIsClusterScoped (line 68) | func TestIsClusterScoped(t *testing.T) { function TestIsNamespaced (line 97) | func TestIsNamespaced(t *testing.T) { function TestIsAllNamespaces (line 126) | func TestIsAllNamespaces(t *testing.T) { function TestIsAllNamespace (line 155) | func TestIsAllNamespace(t *testing.T) { function TestCleanseNamespace (line 178) | func TestCleanseNamespace(t *testing.T) { function TestNamespaced (line 201) | func TestNamespaced(t *testing.T) { function TestFQN (line 216) | func TestFQN(t *testing.T) { FILE: internal/client/helpers.go function IsClusterWide (line 21) | func IsClusterWide(ns string) bool { function PrintNamespace (line 25) | func PrintNamespace(ns string) string { function CleanseNamespace (line 34) | func CleanseNamespace(ns string) string { function IsAllNamespace (line 43) | func IsAllNamespace(ns string) bool { function IsAllNamespaces (line 48) | func IsAllNamespaces(ns string) bool { function IsNamespaced (line 53) | func IsNamespaced(ns string) bool { function IsClusterScoped (line 58) | func IsClusterScoped(ns string) bool { function Namespaced (line 63) | func Namespaced(p string) (ns, name string) { function CoFQN (line 70) | func CoFQN(m *metav1.ObjectMeta, co string) string { function FQN (line 75) | func FQN(ns, n string) string { function MetaFQN (line 83) | func MetaFQN(m *metav1.ObjectMeta) string { function mustHomeDir (line 91) | func mustHomeDir() string { function toHostDir (line 100) | func toHostDir(host string) string { FILE: internal/client/metrics.go constant mxCacheSize (line 21) | mxCacheSize = 100 constant mxCacheExpiry (line 22) | mxCacheExpiry = 1 * time.Minute function DialMetrics (line 29) | func DialMetrics(c Connection) *MetricsServer { function ResetMetrics (line 38) | func ResetMetrics() { type MetricsServer (line 43) | type MetricsServer struct method ClusterLoad (line 58) | func (*MetricsServer) ClusterLoad(nos *v1.NodeList, nmx *mv1beta1.Node... method checkAccess (line 89) | func (m *MetricsServer) checkAccess(ns string, gvr *GVR, msg string) e... method NodesMetrics (line 105) | func (*MetricsServer) NodesMetrics(nodes *v1.NodeList, metrics *mv1bet... method FetchNodesMetricsMap (line 134) | func (m *MetricsServer) FetchNodesMetricsMap(ctx context.Context) (Nod... method FetchNodesMetrics (line 150) | func (m *MetricsServer) FetchNodesMetrics(ctx context.Context) (*mv1be... method FetchNodeMetrics (line 181) | func (m *MetricsServer) FetchNodeMetrics(ctx context.Context, n string... method FetchPodsMetricsMap (line 202) | func (m *MetricsServer) FetchPodsMetricsMap(ctx context.Context, ns st... method FetchPodsMetrics (line 218) | func (m *MetricsServer) FetchPodsMetrics(ctx context.Context, ns strin... method FetchContainersMetrics (line 252) | func (m *MetricsServer) FetchContainersMetrics(ctx context.Context, fq... method FetchPodMetrics (line 268) | func (m *MetricsServer) FetchPodMetrics(ctx context.Context, fqn strin... method PodsMetrics (line 293) | func (*MetricsServer) PodsMetrics(pods *mv1beta1.PodMetricsList, mmx P... function NewMetricsServer (line 50) | func NewMetricsServer(c Connection) *MetricsServer { constant MegaByte (line 313) | MegaByte = 1024 * 1024 function ToMB (line 316) | func ToMB(v int64) int64 { function ToPercentage (line 321) | func ToPercentage(v, dv int64) int { function ToPercentageStr (line 330) | func ToPercentageStr(v, dv int64) string { FILE: internal/client/metrics_test.go function TestToPercentage (line 17) | func TestToPercentage(t *testing.T) { function TestToMB (line 33) | func TestToMB(t *testing.T) { function TestPodsMetrics (line 48) | func TestPodsMetrics(t *testing.T) { function BenchmarkPodsMetrics (line 93) | func BenchmarkPodsMetrics(b *testing.B) { function TestNodesMetrics (line 112) | func TestNodesMetrics(t *testing.T) { function BenchmarkNodesMetrics (line 189) | func BenchmarkNodesMetrics(b *testing.B) { function TestClusterLoad (line 214) | func TestClusterLoad(t *testing.T) { function BenchmarkClusterLoad (line 274) | func BenchmarkClusterLoad(b *testing.B) { function makeMxPod (line 301) | func makeMxPod(name, cpu, mem string) *v1beta1.PodMetrics { function makeNode (line 315) | func makeNode(name, tcpu, tmem, acpu, amem string) v1.Node { function makeMxNode (line 327) | func makeMxNode(name, cpu, mem string) *v1beta1.NodeMetrics { function makeRes (line 336) | func makeRes(c, m string) v1.ResourceList { FILE: internal/client/switch_context_test.go constant testContext1 (line 24) | testContext1 = "context1" constant testContext2 (line 25) | testContext2 = "context2" function newFakeK8sServer (line 28) | func newFakeK8sServer(t *testing.T) (*httptest.Server, *atomic.Int32) { function writeSwitchTestKubeconfig (line 57) | func writeSwitchTestKubeconfig(t *testing.T, server1URL, server2URL stri... function setupSwitchTest (line 93) | func setupSwitchTest(t *testing.T) (*httptest.Server, *atomic.Int32, *AP... function TestSwitchContextSuccess (line 116) | func TestSwitchContextSuccess(t *testing.T) { function TestSwitchContextReusesConnectivityClient (line 128) | func TestSwitchContextReusesConnectivityClient(t *testing.T) { function TestSwitchContextPreWarmsDynDial (line 138) | func TestSwitchContextPreWarmsDynDial(t *testing.T) { function TestSwitchContextDialAfterSwitch (line 148) | func TestSwitchContextDialAfterSwitch(t *testing.T) { function TestSwitchContextMinimalVersionCalls (line 163) | func TestSwitchContextMinimalVersionCalls(t *testing.T) { function TestSwitchContextInvalidContext (line 173) | func TestSwitchContextInvalidContext(t *testing.T) { function TestInitConnectionMetricsUnsupported (line 180) | func TestInitConnectionMetricsUnsupported(t *testing.T) { function TestInitConnectionStoresDialClient (line 195) | func TestInitConnectionStoresDialClient(t *testing.T) { FILE: internal/client/types.go constant NA (line 18) | NA = "n/a" constant NamespaceAll (line 21) | NamespaceAll = "all" constant BlankNamespace (line 24) | BlankNamespace = "" constant DefaultNamespace (line 27) | DefaultNamespace = "default" constant ClusterScope (line 30) | ClusterScope = "-" constant NotNamespaced (line 33) | NotNamespaced = "*" constant CreateVerb (line 36) | CreateVerb = "create" constant UpdateVerb (line 39) | UpdateVerb = "update" constant PatchVerb (line 42) | PatchVerb = "patch" constant DeleteVerb (line 45) | DeleteVerb = "delete" constant GetVerb (line 48) | GetVerb = "get" constant ListVerb (line 51) | ListVerb = "list" constant WatchVerb (line 54) | WatchVerb = "watch" type ContainersMetrics (line 75) | type ContainersMetrics type NodesMetricsMap (line 78) | type NodesMetricsMap type PodsMetricsMap (line 81) | type PodsMetricsMap type Authorizer (line 84) | type Authorizer interface type Connection (line 90) | type Connection interface type CurrentMetrics (line 146) | type CurrentMetrics struct type PodMetrics (line 151) | type PodMetrics type NodeMetrics (line 154) | type NodeMetrics struct type ClusterMetrics (line 163) | type ClusterMetrics struct type NodesMetrics (line 168) | type NodesMetrics type PodsMetrics (line 171) | type PodsMetrics FILE: internal/color/colorize.go constant colorFmt (line 11) | colorFmt = "\x1b[%dm%s\x1b[0m" type Paint (line 14) | type Paint constant Black (line 18) | Black Paint = iota + 30 constant Red (line 19) | Red constant Green (line 20) | Green constant Yellow (line 21) | Yellow constant Blue (line 22) | Blue constant Magenta (line 23) | Magenta constant Cyan (line 24) | Cyan constant LightGray (line 25) | LightGray constant DarkGray (line 26) | DarkGray = 90 constant Bold (line 28) | Bold = 1 function Colorize (line 32) | func Colorize(s string, c Paint) string { function ANSIColorize (line 40) | func ANSIColorize(text string, color int) string { function Highlight (line 45) | func Highlight(bb []byte, ii []int, c int) []byte { FILE: internal/color/colorize_test.go function TestColorize (line 13) | func TestColorize(t *testing.T) { function TestHighlight (line 32) | func TestHighlight(t *testing.T) { FILE: internal/config/alias.go type Alias (line 25) | type Alias type ShortNames (line 28) | type ShortNames type Aliases (line 31) | type Aliases struct method AliasesFor (line 44) | func (a *Aliases) AliasesFor(gvr *client.GVR) sets.Set[string] { method ShortNames (line 59) | func (a *Aliases) ShortNames() ShortNames { method Clear (line 76) | func (a *Aliases) Clear() { method Resolve (line 85) | func (a *Aliases) Resolve(p *cmd.Interpreter) (*client.GVR, bool) { method Get (line 110) | func (a *Aliases) Get(alias string) (*client.GVR, bool) { method Define (line 120) | func (a *Aliases) Define(gvr *client.GVR, aliases ...string) { method Load (line 132) | func (a *Aliases) Load(path string) error { method LoadFile (line 148) | func (a *Aliases) LoadFile(path string) error { method declare (line 174) | func (a *Aliases) declare(gvr *client.GVR, aliases ...string) { method loadDefaultAliases (line 181) | func (a *Aliases) loadDefaultAliases() { method Save (line 202) | func (a *Aliases) Save() error { method saveAliases (line 211) | func (a *Aliases) saveAliases(path string) error { function NewAliases (line 38) | func NewAliases() *Aliases { FILE: internal/config/alias_test.go function TestAliasClear (line 21) | func TestAliasClear(t *testing.T) { function TestAliasKeys (line 28) | func TestAliasKeys(t *testing.T) { function TestAliasShortNames (line 35) | func TestAliasShortNames(t *testing.T) { function TestAliasDefine (line 52) | func TestAliasDefine(t *testing.T) { function TestAliasesLoad (line 111) | func TestAliasesLoad(t *testing.T) { function TestAliasesSave (line 119) | func TestAliasesSave(t *testing.T) { function TestAliasResolve (line 133) | func TestAliasResolve(t *testing.T) { function testAliases (line 282) | func testAliases() *config.Aliases { FILE: internal/config/benchmark.go type Bench (line 18) | type Bench struct method Reload (line 108) | func (s *Bench) Reload(path string) error { method load (line 113) | func (s *Bench) load(path string) error { type Benchmarks (line 23) | type Benchmarks struct type Auth (line 30) | type Auth struct type Benchmark (line 36) | type Benchmark struct method Empty (line 90) | func (b Benchmark) Empty() bool { type HTTP (line 42) | type HTTP struct type BenchConfig (line 52) | type BenchConfig struct constant DefaultC (line 63) | DefaultC = 1 constant DefaultN (line 65) | DefaultN = 200 constant DefaultMethod (line 67) | DefaultMethod = "GET" function DefaultBenchSpec (line 71) | func DefaultBenchSpec() BenchConfig { function newBenchmark (line 82) | func newBenchmark() Benchmark { function newBenchmarks (line 94) | func newBenchmarks() *Benchmarks { function NewBench (line 101) | func NewBench(path string) (*Bench, error) { FILE: internal/config/benchmark_test.go function TestBenchEmpty (line 14) | func TestBenchEmpty(t *testing.T) { function TestBenchLoad (line 31) | func TestBenchLoad(t *testing.T) { function TestBenchServiceLoad (line 68) | func TestBenchServiceLoad(t *testing.T) { function TestBenchReLoad (line 125) | func TestBenchReLoad(t *testing.T) { function TestBenchLoadToast (line 134) | func TestBenchLoadToast(t *testing.T) { function TestBenchContainerLoad (line 139) | func TestBenchContainerLoad(t *testing.T) { FILE: internal/config/color.go constant DefaultColor (line 15) | DefaultColor Color = "default" constant TransparentColor (line 18) | TransparentColor Color = "-" type Colors (line 22) | type Colors method Colors (line 25) | func (c Colors) Colors() []tcell.Color { method Invert (line 35) | func (c Colors) Invert() Colors { type Color (line 44) | type Color method String (line 52) | func (c Color) String() string { method isHex (line 67) | func (c Color) isHex() bool { method Color (line 72) | func (c Color) Color() tcell.Color { method InvertColor (line 145) | func (c Color) InvertColor() Color { function NewColor (line 47) | func NewColor(c string) Color { function maxChromaForLH (line 82) | func maxChromaForLH(l, h float64) float64 { constant chromaPreserveFactor (line 99) | chromaPreserveFactor = 0.5 function closestLForChroma (line 104) | func closestLForChroma(targetL, c, h float64) float64 { FILE: internal/config/color_test.go function TestColors (line 16) | func TestColors(t *testing.T) { function TestColorString (line 56) | func TestColorString(t *testing.T) { function TestColorToColor (line 95) | func TestColorToColor(t *testing.T) { function getOkch (line 124) | func getOkch(hex string) (c, h float64) { function huesEqual (line 134) | func huesEqual(h1, h2, tolerance float64) bool { function TestInvertColor (line 142) | func TestInvertColor(t *testing.T) { function TestInvertColorPreservesHue (line 212) | func TestInvertColorPreservesHue(t *testing.T) { function TestInvertGrayRoundTrip (line 257) | func TestInvertGrayRoundTrip(t *testing.T) { function TestInvertColorSelfInverting (line 282) | func TestInvertColorSelfInverting(t *testing.T) { function TestInvertColorOutOfGamut (line 300) | func TestInvertColorOutOfGamut(t *testing.T) { FILE: internal/config/config.go type Config (line 24) | type Config struct method IsReadOnly (line 39) | func (c *Config) IsReadOnly() bool { method ActiveClusterName (line 44) | func (c *Config) ActiveClusterName(contextName string) (string, error) { method ContextHotkeysPath (line 54) | func (c *Config) ContextHotkeysPath() string { method ContextAliasesPath (line 64) | func (c *Config) ContextAliasesPath() string { method ContextPluginsPath (line 74) | func (c *Config) ContextPluginsPath() (string, error) { method Refine (line 89) | func (c *Config) Refine(flags *genericclioptions.ConfigFlags, k9sFlags... method Reset (line 143) | func (c *Config) Reset() { method ActivateContext (line 147) | func (c *Config) ActivateContext(n string) (*data.Context, error) { method CurrentContext (line 157) | func (c *Config) CurrentContext() (*data.Context, error) { method ActiveNamespace (line 163) | func (c *Config) ActiveNamespace() string { method FavNamespaces (line 174) | func (c *Config) FavNamespaces() []string { method SetActiveNamespace (line 185) | func (c *Config) SetActiveNamespace(ns string) error { method ActiveView (line 199) | func (c *Config) ActiveView() string { method ResetActiveView (line 216) | func (c *Config) ResetActiveView() { method SetActiveView (line 231) | func (c *Config) SetActiveView(view string) { method GetConnection (line 238) | func (c *Config) GetConnection() client.Connection { method SetConnection (line 243) | func (c *Config) SetConnection(conn client.Connection) { method ActiveContextName (line 250) | func (c *Config) ActiveContextName() string { method Merge (line 254) | func (c *Config) Merge(c1 *Config) { method Load (line 259) | func (c *Config) Load(path string, force bool) error { method Save (line 284) | func (c *Config) Save(force bool) error { method SaveFile (line 302) | func (c *Config) SaveFile(path string) error { method Validate (line 317) | func (c *Config) Validate(contextName, clusterName string) { method Dump (line 325) | func (c *Config) Dump(msg string) { function NewConfig (line 31) | func NewConfig(ks data.KubeSettings) *Config { function setK8sTimeout (line 83) | func setK8sTimeout(flags *genericclioptions.ConfigFlags, d time.Duration) { FILE: internal/config/config_test.go function init (line 25) | func init() { function TestConfigSave (line 29) | func TestConfigSave(t *testing.T) { function TestSetActiveView (line 72) | func TestSetActiveView(t *testing.T) { function TestActiveContextName (line 127) | func TestActiveContextName(t *testing.T) { function TestActiveView (line 169) | func TestActiveView(t *testing.T) { function TestFavNamespaces (line 225) | func TestFavNamespaces(t *testing.T) { function TestContextAliasesPath (line 250) | func TestContextAliasesPath(t *testing.T) { function TestContextPluginsPath (line 275) | func TestContextPluginsPath(t *testing.T) { function TestConfigLoader (line 307) | func TestConfigLoader(t *testing.T) { function TestConfigActivateContext (line 335) | func TestConfigActivateContext(t *testing.T) { function TestConfigCurrentContext (line 366) | func TestConfigCurrentContext(t *testing.T) { function TestConfigRefine (line 413) | func TestConfigRefine(t *testing.T) { function TestConfigValidate (line 535) | func TestConfigValidate(t *testing.T) { function TestConfigLoad (line 543) | func TestConfigLoad(t *testing.T) { function TestConfigLoadCrap (line 552) | func TestConfigLoadCrap(t *testing.T) { function TestConfigSaveFile (line 558) | func TestConfigSaveFile(t *testing.T) { function TestConfigReset (line 583) | func TestConfigReset(t *testing.T) { function TestSetup (line 601) | func TestSetup(t *testing.T) { FILE: internal/config/data/config.go type Config (line 17) | type Config struct method Merge (line 30) | func (c *Config) Merge(c1 *Config) { method Validate (line 40) | func (c *Config) Validate(conn client.Connection, contextName, cluster... method Dump (line 51) | func (c *Config) Dump(w io.Writer) { function NewConfig (line 23) | func NewConfig(ct *api.Context) *Config { FILE: internal/config/data/context.go type Context (line 15) | type Context struct method merge (line 53) | func (c *Context) merge(old *Context) { method GetClusterName (line 63) | func (c *Context) GetClusterName() string { method Validate (line 71) | func (c *Context) Validate(conn client.Connection, _, clusterName stri... function NewContext (line 27) | func NewContext() *Context { function NewContextFromConfig (line 36) | func NewContextFromConfig(cfg *api.Context) *Context { function NewContextFromKubeConfig (line 44) | func NewContextFromKubeConfig(ks KubeSettings) (*Context, error) { FILE: internal/config/data/context_int_test.go function Test_contextMerge (line 12) | func Test_contextMerge(t *testing.T) { FILE: internal/config/data/context_test.go function TestClusterValidate (line 14) | func TestClusterValidate(t *testing.T) { function TestClusterValidateEmpty (line 24) | func TestClusterValidateEmpty(t *testing.T) { FILE: internal/config/data/dir.go type Dir (line 22) | type Dir struct method Load (line 35) | func (d *Dir) Load(contextName string, ct *api.Context) (*Config, erro... method genConfig (line 57) | func (d *Dir) genConfig(path string, ct *api.Context) (*Config, error) { method Save (line 66) | func (d *Dir) Save(path string, c *Config) error { method loadConfig (line 81) | func (d *Dir) loadConfig(path string) (*Config, error) { function NewDir (line 28) | func NewDir(root string) *Dir { FILE: internal/config/data/dir_test.go function init (line 20) | func init() { function TestDirLoad (line 24) | func TestDirLoad(t *testing.T) { function makeFlags (line 93) | func makeFlags(cl, ct string) *genericclioptions.ConfigFlags { function mustLoadConfig (line 100) | func mustLoadConfig(cfg string) *data.Config { FILE: internal/config/data/feature_gate.go type FeatureGates (line 7) | type FeatureGates struct function NewFeatureGates (line 12) | func NewFeatureGates() FeatureGates { FILE: internal/config/data/helpers.go constant envFGNodeShell (line 17) | envFGNodeShell = "K9S_FEATURE_GATE_NODE_SHELL" function SanitizeContextSubpath (line 22) | func SanitizeContextSubpath(cluster, context string) string { function SanitizeFileName (line 27) | func SanitizeFileName(name string) string { function defaultFGNodeShell (line 31) | func defaultFGNodeShell() bool { function EnsureDirPath (line 40) | func EnsureDirPath(path string, mod os.FileMode) error { function EnsureFullPath (line 45) | func EnsureFullPath(path string, mod os.FileMode) error { function WriteYAML (line 56) | func WriteYAML(content any) ([]byte, error) { function SaveYAML (line 69) | func SaveYAML(path string, content any) error { FILE: internal/config/data/helpers_test.go function TestSanitizeFileName (line 17) | func TestSanitizeFileName(t *testing.T) { function TestHelperInList (line 48) | func TestHelperInList(t *testing.T) { function TestEnsureDirPathNone (line 66) | func TestEnsureDirPathNone(t *testing.T) { function TestEnsureDirPathNoOpt (line 80) | func TestEnsureDirPathNoOpt(t *testing.T) { FILE: internal/config/data/ns.go constant MaxFavoritesNS (line 17) | MaxFavoritesNS = 9 type Namespace (line 21) | type Namespace struct method merge (line 44) | func (n *Namespace) merge(old *Namespace) { method Validate (line 62) | func (n *Namespace) Validate(conn client.Connection) { method SetActive (line 83) | func (n *Namespace) SetActive(ns string, _ KubeSettings) error { method isAllNamespaces (line 103) | func (n *Namespace) isAllNamespaces() bool { method addFavNS (line 107) | func (n *Namespace) addFavNS(ns string) { method rmFavNS (line 122) | func (n *Namespace) rmFavNS(ns string) { method trimFavNs (line 141) | func (n *Namespace) trimFavNs() { function NewNamespace (line 29) | func NewNamespace() *Namespace { function NewActiveNamespace (line 33) | func NewActiveNamespace(n string) *Namespace { FILE: internal/config/data/ns_test.go function TestNSValidate (line 15) | func TestNSValidate(t *testing.T) { function TestNSValidateMissing (line 23) | func TestNSValidateMissing(t *testing.T) { function TestNSValidateNoNS (line 31) | func TestNSValidateNoNS(t *testing.T) { function TestNsValidateMaxNS (line 39) | func TestNsValidateMaxNS(t *testing.T) { function TestNSSetActive (line 48) | func TestNSSetActive(t *testing.T) { function TestNSValidateRmFavs (line 71) | func TestNSValidateRmFavs(t *testing.T) { FILE: internal/config/data/proxy.go type Proxy (line 7) | type Proxy struct FILE: internal/config/data/types.go constant DefaultDirMod (line 20) | DefaultDirMod os.FileMode = 0744 constant DefaultFileMod (line 23) | DefaultFileMod os.FileMode = 0600 constant MainConfigFile (line 26) | MainConfigFile = "config.yaml" type KubeSettings (line 30) | type KubeSettings interface FILE: internal/config/data/view.go constant DefaultView (line 6) | DefaultView = "po" type View (line 9) | type View struct method Validate (line 19) | func (v *View) Validate() { function NewView (line 14) | func NewView() *View { FILE: internal/config/data/view_test.go function TestViewValidate (line 13) | func TestViewValidate(t *testing.T) { function TestViewValidateBlank (line 24) | func TestViewValidateBlank(t *testing.T) { FILE: internal/config/files.go constant K9sEnvConfigDir (line 21) | K9sEnvConfigDir = "K9S_CONFIG_DIR" constant K9sEnvLogsDir (line 24) | K9sEnvLogsDir = "K9S_LOGS_DIR" constant AppName (line 27) | AppName = "k9s" constant K9sLogsFile (line 29) | K9sLogsFile = "k9s.log" function InitLogLoc (line 86) | func InitLogLoc() error { function InitLocs (line 113) | func InitLocs() error { function initK9sEnvLocs (line 121) | func initK9sEnvLocs() error { function initXDGLocs (line 162) | func initXDGLocs() error { function AppContextDir (line 214) | func AppContextDir(cluster, context string) string { function AppContextAliasesFile (line 219) | func AppContextAliasesFile(cluster, context string) string { function AppContextPluginsFile (line 224) | func AppContextPluginsFile(cluster, context string) string { function AppContextHotkeysFile (line 229) | func AppContextHotkeysFile(cluster, context string) string { function AppContextConfig (line 234) | func AppContextConfig(cluster, context string) string { function DumpsDir (line 239) | func DumpsDir(cluster, context string) (string, error) { function EnsureBenchmarksDir (line 246) | func EnsureBenchmarksDir(cluster, context string) (string, error) { function EnsureBenchmarksCfgFile (line 253) | func EnsureBenchmarksCfgFile(cluster, context string) (string, error) { function EnsureAliasesCfgFile (line 266) | func EnsureAliasesCfgFile() (string, error) { function EnsureHotkeysCfgFile (line 279) | func EnsureHotkeysCfgFile() (string, error) { function SkinFileFromName (line 292) | func SkinFileFromName(n string) string { FILE: internal/config/files_int_test.go function Test_initXDGLocs (line 17) | func Test_initXDGLocs(t *testing.T) { FILE: internal/config/files_test.go function TestInitLogLoc (line 18) | func TestInitLogLoc(t *testing.T) { function TestEnsureBenchmarkCfg (line 63) | func TestEnsureBenchmarkCfg(t *testing.T) { function TestSkinFileFromName (line 101) | func TestSkinFileFromName(t *testing.T) { FILE: internal/config/flags.go constant DefaultRefreshRate (line 8) | DefaultRefreshRate float32 = 2.0 constant DefaultLogLevel (line 11) | DefaultLogLevel = "info" constant DefaultCommand (line 14) | DefaultCommand = "" type Flags (line 18) | type Flags struct function NewFlags (line 35) | func NewFlags() *Flags { function boolPtr (line 53) | func boolPtr(b bool) *bool { function float32Ptr (line 57) | func float32Ptr(f float32) *float32 { function strPtr (line 61) | func strPtr(s string) *string { FILE: internal/config/flags_test.go function TestNewFlags (line 13) | func TestNewFlags(t *testing.T) { FILE: internal/config/helpers.go constant envPFAddress (line 16) | envPFAddress = "K9S_DEFAULT_PF_ADDRESS" constant defaultPortFwdAddress (line 17) | defaultPortFwdAddress = "localhost" function IsBoolSet (line 21) | func IsBoolSet(b *bool) bool { function isStringSet (line 25) | func isStringSet(s *string) bool { function isYamlFile (line 29) | func isYamlFile(file string) bool { function isEnvSet (line 36) | func isEnvSet(env string) bool { function UserTmpDir (line 41) | func UserTmpDir() (string, error) { function MustK9sUser (line 53) | func MustK9sUser() string { function defaultPFAddress (line 70) | func defaultPFAddress() string { FILE: internal/config/hotkey.go type HotKeys (line 19) | type HotKeys struct method Load (line 40) | func (h HotKeys) Load(path string) error { method LoadHotKeys (line 52) | func (h HotKeys) LoadHotKeys(path string) error { type HotKey (line 24) | type HotKey struct function NewHotKeys (line 33) | func NewHotKeys() HotKeys { FILE: internal/config/hotkey_test.go function TestHotKeyLoad (line 14) | func TestHotKeyLoad(t *testing.T) { FILE: internal/config/json/validator.go constant PluginsSchema (line 21) | PluginsSchema = "plugins.json" constant PluginSchema (line 24) | PluginSchema = "plugin.json" constant PluginMultiSchema (line 27) | PluginMultiSchema = "plugin-multi.json" constant AliasesSchema (line 30) | AliasesSchema = "aliases.json" constant ViewsSchema (line 33) | ViewsSchema = "views.json" constant HotkeysSchema (line 36) | HotkeysSchema = "hotkeys.json" constant K9sSchema (line 39) | K9sSchema = "k9s.json" constant ContextSchema (line 42) | ContextSchema = "context.json" constant SkinSchema (line 45) | SkinSchema = "skin.json" type Validator (line 78) | type Validator struct method register (line 104) | func (v *Validator) register() { method ValidatePlugins (line 121) | func (v *Validator) ValidatePlugins(bb []byte) (string, error) { method Validate (line 135) | func (v *Validator) Validate(k string, bb []byte) error { method ValidateObj (line 165) | func (v *Validator) ValidateObj(k string, o any) error { function NewValidator (line 84) | func NewValidator() *Validator { FILE: internal/config/json/validator_test.go function TestValidatePluginSnippet (line 16) | func TestValidatePluginSnippet(t *testing.T) { function TestValidatePlugins (line 25) | func TestValidatePlugins(t *testing.T) { function TestValidatePluginDir (line 62) | func TestValidatePluginDir(t *testing.T) { function TestValidateSkinDir (line 84) | func TestValidateSkinDir(t *testing.T) { function TestValidateSkin (line 102) | func TestValidateSkin(t *testing.T) { function TestValidateK9s (line 129) | func TestValidateK9s(t *testing.T) { function TestValidateContext (line 156) | func TestValidateContext(t *testing.T) { function TestValidateAliases (line 184) | func TestValidateAliases(t *testing.T) { function TestValidateViews (line 212) | func TestValidateViews(t *testing.T) { FILE: internal/config/k9s.go type gpuVendors (line 23) | type gpuVendors type K9s (line 36) | type K9s struct method ToggleContextSwitch (line 87) | func (k *K9s) ToggleContextSwitch(b bool) { method getContextSwitch (line 94) | func (k *K9s) getContextSwitch() bool { method resetConnection (line 101) | func (k *K9s) resetConnection(conn client.Connection) { method Save (line 109) | func (k *K9s) Save(contextName, clusterName string, force bool) error { method Merge (line 129) | func (k *K9s) Merge(k1 *K9s) { method AppScreenDumpDir (line 159) | func (k *K9s) AppScreenDumpDir() string { method ContextScreenDumpDir (line 173) | func (k *K9s) ContextScreenDumpDir() string { method contextPath (line 177) | func (k *K9s) contextPath() string { method Reset (line 189) | func (k *K9s) Reset() { method ActiveContextNamespace (line 195) | func (k *K9s) ActiveContextNamespace() (string, error) { method ActiveContextName (line 205) | func (k *K9s) ActiveContextName() string { method ActiveContext (line 210) | func (k *K9s) ActiveContext() (*data.Context, error) { method setActiveConfig (line 219) | func (k *K9s) setActiveConfig(c *data.Config) { method getActiveConfig (line 226) | func (k *K9s) getActiveConfig() *data.Config { method setActiveContextName (line 233) | func (k *K9s) setActiveContextName(n string) { method getActiveContextName (line 240) | func (k *K9s) getActiveContextName() string { method ActivateContext (line 248) | func (k *K9s) ActivateContext(contextName string) (*data.Context, erro... method Reload (line 297) | func (k *K9s) Reload() error { method Override (line 318) | func (k *K9s) Override(k9sFlags *Flags) { method IsHeadless (line 340) | func (k *K9s) IsHeadless() bool { method IsLogoless (line 349) | func (k *K9s) IsLogoless() bool { method IsCrumbsless (line 358) | func (k *K9s) IsCrumbsless() bool { method IsSplashless (line 367) | func (k *K9s) IsSplashless() bool { method IsInvert (line 376) | func (k *K9s) IsInvert() bool { method GetRefreshRate (line 385) | func (k *K9s) GetRefreshRate() float32 { method RefreshDuration (line 406) | func (k *K9s) RefreshDuration() time.Duration { method IsReadOnly (line 411) | func (k *K9s) IsReadOnly() bool { method Validate (line 424) | func (k *K9s) Validate(c client.Connection, contextName, clusterName s... function NewK9s (line 69) | func NewK9s(conn client.Connection, ks data.KubeSettings) *K9s { FILE: internal/config/k9s_int_test.go function Test_k9sOverrides (line 13) | func Test_k9sOverrides(t *testing.T) { function Test_screenDumpDirOverride (line 123) | func Test_screenDumpDirOverride(t *testing.T) { FILE: internal/config/k9s_test.go function TestK9sReload (line 17) | func TestK9sReload(t *testing.T) { function TestK9sMerge (line 64) | func TestK9sMerge(t *testing.T) { function TestContextScreenDumpDir (line 135) | func TestContextScreenDumpDir(t *testing.T) { function TestAppScreenDumpDir (line 144) | func TestAppScreenDumpDir(t *testing.T) { FILE: internal/config/logger.go constant DefaultLoggerTailCount (line 8) | DefaultLoggerTailCount = 100 constant MaxLogThreshold (line 11) | MaxLogThreshold = 5_000 constant DefaultSinceSeconds (line 14) | DefaultSinceSeconds = -1 type Logger (line 18) | type Logger struct method Validate (line 38) | func (l Logger) Validate() Logger { function NewLogger (line 29) | func NewLogger() Logger { FILE: internal/config/logger_test.go function TestNewLogger (line 13) | func TestNewLogger(t *testing.T) { function TestLoggerValidate (line 21) | func TestLoggerValidate(t *testing.T) { FILE: internal/config/mock/test_helpers.go function EnsureDir (line 29) | func EnsureDir(d string) error { function NewMockConfig (line 40) | func NewMockConfig(t testing.TB) *config.Config { type mockKubeSettings (line 59) | type mockKubeSettings struct method CurrentContextName (line 90) | func (m mockKubeSettings) CurrentContextName() (string, error) { method CurrentClusterName (line 93) | func (m mockKubeSettings) CurrentClusterName() (string, error) { method CurrentNamespaceName (line 96) | func (mockKubeSettings) CurrentNamespaceName() (string, error) { method GetContext (line 99) | func (m mockKubeSettings) GetContext(s string) (*api.Context, error) { method CurrentContext (line 106) | func (m mockKubeSettings) CurrentContext() (*api.Context, error) { method ContextNames (line 109) | func (m mockKubeSettings) ContextNames() (map[string]struct{}, error) { method SetProxy (line 118) | func (mockKubeSettings) SetProxy(func(*http.Request) (*url.URL, error)... function NewMockKubeSettings (line 64) | func NewMockKubeSettings(f *genericclioptions.ConfigFlags) mockKubeSetti... type mockConnection (line 120) | type mockConnection struct method CanI (line 131) | func (mockConnection) CanI(string, *client.GVR, string, []string) (boo... method Config (line 134) | func (mockConnection) Config() *client.Config { method ConnectionOK (line 137) | func (mockConnection) ConnectionOK() bool { method Dial (line 140) | func (mockConnection) Dial() (kubernetes.Interface, error) { method DialLogs (line 143) | func (mockConnection) DialLogs() (kubernetes.Interface, error) { method SwitchContext (line 146) | func (mockConnection) SwitchContext(string) error { method CachedDiscovery (line 149) | func (mockConnection) CachedDiscovery() (*disk.CachedDiscoveryClient, ... method RestConfig (line 152) | func (mockConnection) RestConfig() (*restclient.Config, error) { method MXDial (line 155) | func (mockConnection) MXDial() (*versioned.Clientset, error) { method DynDial (line 158) | func (mockConnection) DynDial() (dynamic.Interface, error) { method HasMetrics (line 161) | func (mockConnection) HasMetrics() bool { method ValidNamespaceNames (line 164) | func (mockConnection) ValidNamespaceNames() (client.NamespaceNames, er... method IsValidNamespace (line 167) | func (mockConnection) IsValidNamespace(string) bool { method ServerVersion (line 170) | func (mockConnection) ServerVersion() (*version.Info, error) { method CheckConnectivity (line 173) | func (mockConnection) CheckConnectivity() bool { method ActiveContext (line 176) | func (m mockConnection) ActiveContext() string { method ActiveNamespace (line 179) | func (mockConnection) ActiveNamespace() string { method IsActiveNamespace (line 182) | func (mockConnection) IsActiveNamespace(string) bool { function NewMockConnection (line 124) | func NewMockConnection() mockConnection { function NewMockConnectionWithContext (line 127) | func NewMockConnectionWithContext(ct string) mockConnection { FILE: internal/config/plugin.go type plugins (line 26) | type plugins type Plugins (line 29) | type Plugins struct method Load (line 122) | func (p Plugins) Load(path string, loadExtra bool) error { method load (line 150) | func (p *Plugins) load(path string) error { method loadDir (line 209) | func (p Plugins) loadDir(dir string) error { type PluginInputType (line 34) | type PluginInputType constant InputTypeString (line 37) | InputTypeString PluginInputType = "string" constant InputTypeNumber (line 38) | InputTypeNumber PluginInputType = "number" constant InputTypeBool (line 39) | InputTypeBool PluginInputType = "bool" constant InputTypeDropdown (line 40) | InputTypeDropdown PluginInputType = "dropdown" type PluginInput (line 44) | type PluginInput struct type Plugin (line 54) | type Plugin struct method String (line 69) | func (p Plugin) String() string { method ShouldConfirm (line 75) | func (p *Plugin) ShouldConfirm() bool { method Validate (line 83) | func (p *Plugin) Validate() error { function NewPlugins (line 115) | func NewPlugins() Plugins { FILE: internal/config/plugin_test.go function TestPluginLoad (line 15) | func TestPluginLoad(t *testing.T) { function TestSinglePluginFileLoad (line 98) | func TestSinglePluginFileLoad(t *testing.T) { function TestMultiplePluginFilesLoad (line 119) | func TestMultiplePluginFilesLoad(t *testing.T) { function TestPluginLoadSymlink (line 183) | func TestPluginLoadSymlink(t *testing.T) { FILE: internal/config/refresh_rate_test.go function TestRefreshRateBackwardCompatibility (line 11) | func TestRefreshRateBackwardCompatibility(t *testing.T) { function TestGetRefreshRateMinimum (line 36) | func TestGetRefreshRateMinimum(t *testing.T) { FILE: internal/config/scans.go type Labels (line 7) | type Labels method exclude (line 9) | func (l Labels) exclude(k, val string) bool { type ScanExcludes (line 25) | type ScanExcludes struct method exclude (line 36) | func (b ScanExcludes) exclude(ns string, ll map[string]string) bool { function newScanExcludes (line 30) | func newScanExcludes() ScanExcludes { type ImageScans (line 52) | type ImageScans struct method ShouldExclude (line 65) | func (i ImageScans) ShouldExclude(ns string, ll map[string]string) bool { function NewImageScans (line 58) | func NewImageScans() ImageScans { FILE: internal/config/scans_test.go function TestScansShouldExclude (line 13) | func TestScansShouldExclude(t *testing.T) { FILE: internal/config/shell_pod.go constant defaultDockerShellImage (line 10) | defaultDockerShellImage = "busybox:1.37.0" type Limits (line 13) | type Limits type ShellPod (line 16) | type ShellPod struct method Validate (line 46) | func (s *ShellPod) Validate() { type hostPathVolume (line 29) | type hostPathVolume struct function NewShellPod (line 37) | func NewShellPod() *ShellPod { function defaultLimits (line 55) | func defaultLimits() Limits { FILE: internal/config/styles.go type StyleListener (line 18) | type StyleListener interface type TextStyle (line 24) | type TextStyle method ToShortString (line 38) | func (ts TextStyle) ToShortString() string { constant TextStyleNormal (line 28) | TextStyleNormal TextStyle = "normal" constant TextStyleBold (line 31) | TextStyleBold TextStyle = "bold" constant TextStyleDim (line 34) | TextStyleDim TextStyle = "dim" type Styles (line 53) | type Styles struct method Reset (line 482) | func (s *Styles) Reset(invert bool) { method FgColor (line 492) | func (s *Styles) FgColor() tcell.Color { method BgColor (line 497) | func (s *Styles) BgColor() tcell.Color { method AddListener (line 502) | func (s *Styles) AddListener(l StyleListener) { method RemoveListener (line 507) | func (s *Styles) RemoveListener(l StyleListener) { method fireStylesChanged (line 521) | func (s *Styles) fireStylesChanged() { method Body (line 528) | func (s *Styles) Body() Body { method Prompt (line 533) | func (s *Styles) Prompt() Prompt { method Frame (line 538) | func (s *Styles) Frame() Frame { method Crumb (line 543) | func (s *Styles) Crumb() Crumb { method Title (line 548) | func (s *Styles) Title() Title { method Charts (line 553) | func (s *Styles) Charts() Charts { method Dialog (line 558) | func (s *Styles) Dialog() Dialog { method Table (line 563) | func (s *Styles) Table() Table { method Xray (line 568) | func (s *Styles) Xray() Xray { method Views (line 573) | func (s *Styles) Views() Views { method Load (line 774) | func (s *Styles) Load(path string, invert bool) error { method Update (line 794) | func (s *Styles) Update() { method Dump (line 812) | func (s *Styles) Dump() { type Style (line 59) | type Style struct method Invert (line 578) | func (s *Style) Invert() { type Prompt (line 70) | type Prompt struct method Invert (line 600) | func (p *Prompt) Invert() { type PromptBorder (line 78) | type PromptBorder struct method Invert (line 608) | func (p *PromptBorder) Invert() { type Help (line 84) | type Help struct method Invert (line 614) | func (h *Help) Invert() { type Body (line 93) | type Body struct method Invert (line 589) | func (b *Body) Invert() { type Dialog (line 104) | type Dialog struct method Invert (line 623) | func (d *Dialog) Invert() { type Frame (line 116) | type Frame struct method Invert (line 635) | func (f *Frame) Invert() { type Views (line 125) | type Views struct method Invert (line 694) | func (v *Views) Invert() { type Status (line 135) | type Status struct method Invert (line 673) | func (s *Status) Invert() { type Log (line 147) | type Log struct method Invert (line 759) | func (l *Log) Invert() { type Picker (line 154) | type Picker struct method Invert (line 752) | func (p *Picker) Invert() { type LogIndicator (line 161) | type LogIndicator struct method Invert (line 766) | func (l *LogIndicator) Invert() { type Yaml (line 169) | type Yaml struct method Invert (line 745) | func (y *Yaml) Invert() { type Title (line 176) | type Title struct method Invert (line 644) | func (t *Title) Invert() { type Info (line 185) | type Info struct method Invert (line 685) | func (i *Info) Invert() { type Border (line 194) | type Border struct method Invert (line 653) | func (b *Border) Invert() { type Crumb (line 200) | type Crumb struct method Invert (line 666) | func (c *Crumb) Invert() { type Table (line 207) | type Table struct method Invert (line 704) | func (t *Table) Invert() { type TableHeader (line 217) | type TableHeader struct method Invert (line 714) | func (t *TableHeader) Invert() { type Xray (line 225) | type Xray struct method Invert (line 722) | func (x *Xray) Invert() { type Menu (line 234) | type Menu struct method Invert (line 659) | func (m *Menu) Invert() { type Charts (line 242) | type Charts struct method Invert (line 731) | func (c *Charts) Invert() { function newStyle (line 254) | func newStyle() Style { function newDialog (line 266) | func newDialog() Dialog { function newPrompt (line 279) | func newPrompt() Prompt { function newCharts (line 291) | func newCharts() Charts { function newViews (line 307) | func newViews() Views { function newFrame (line 318) | func newFrame() Frame { function newHelp (line 328) | func newHelp() Help { function newBody (line 338) | func newBody() Body { function newStatus (line 350) | func newStatus() Status { function newPicker (line 363) | func newPicker() Picker { function newLog (line 371) | func newLog() Log { function newLogIndicator (line 379) | func newLogIndicator() LogIndicator { function newYaml (line 388) | func newYaml() Yaml { function newTitle (line 396) | func newTitle() Title { function newInfo (line 406) | func newInfo() Info { function newXray (line 416) | func newXray() Xray { function newTable (line 426) | func newTable() Table { function newTableHeader (line 437) | func newTableHeader() TableHeader { function newCrumb (line 446) | func newCrumb() Crumb { function newBorder (line 454) | func newBorder() Border { function newMenu (line 461) | func newMenu() Menu { function NewStyles (line 470) | func NewStyles() *Styles { FILE: internal/config/styles_int_test.go function Test_newStyle (line 12) | func Test_newStyle(t *testing.T) { FILE: internal/config/styles_test.go function TestNewStyle (line 16) | func TestNewStyle(t *testing.T) { function TestColor (line 24) | func TestColor(t *testing.T) { function TestSkinHappy (line 40) | func TestSkinHappy(t *testing.T) { function TestSkinLoad (line 53) | func TestSkinLoad(t *testing.T) { FILE: internal/config/threshold.go constant SeverityLow (line 8) | SeverityLow SeverityLevel = iota constant SeverityMedium (line 11) | SeverityMedium constant SeverityHigh (line 14) | SeverityHigh type SeverityLevel (line 18) | type SeverityLevel type Severity (line 21) | type Severity struct method Validate (line 35) | func (s *Severity) Validate() { function NewSeverity (line 27) | func NewSeverity() *Severity { function validateRange (line 45) | func validateRange(v int) bool { type Threshold (line 53) | type Threshold method Validate (line 64) | func (t Threshold) Validate() Threshold { method LevelFor (line 78) | func (t Threshold) LevelFor(k string, v int) SeverityLevel { method SeverityColor (line 94) | func (t *Threshold) SeverityColor(k string, v int) string { function NewThreshold (line 56) | func NewThreshold() Threshold { FILE: internal/config/threshold_test.go function TestSeverityValidate (line 13) | func TestSeverityValidate(t *testing.T) { function TestLevelFor (line 44) | func TestLevelFor(t *testing.T) { FILE: internal/config/types.go constant defaultRefreshRate (line 7) | defaultRefreshRate = 2 constant defaultMaxConnRetry (line 8) | defaultMaxConnRetry = 5 constant CPU (line 11) | CPU = "cpu" constant MEM (line 14) | MEM = "memory" type UI (line 18) | type UI struct FILE: internal/config/views.go type ViewConfigListener (line 26) | type ViewConfigListener interface type ViewSetting (line 35) | type ViewSetting struct method HasCols (line 40) | func (v *ViewSetting) HasCols() bool { method IsBlank (line 44) | func (v *ViewSetting) IsBlank() bool { method SortCol (line 48) | func (v *ViewSetting) SortCol() (name string, asc bool, err error) { method Equals (line 61) | func (v *ViewSetting) Equals(vs *ViewSetting) bool { type CustomView (line 77) | type CustomView struct method Reset (line 91) | func (v *CustomView) Reset() { method Load (line 98) | func (v *CustomView) Load(path string) error { method AddListeners (line 123) | func (v *CustomView) AddListeners(l ViewConfigListener, cmds ...string) { method AddListener (line 133) | func (v *CustomView) AddListener(cmd string, l ViewConfigListener) { method RemoveListener (line 139) | func (v *CustomView) RemoveListener(l ViewConfigListener) { method fireConfigChanged (line 147) | func (v *CustomView) fireConfigChanged() { method getVS (line 177) | func (v *CustomView) getVS(gvr, ns string) *ViewSetting { function NewCustomView (line 83) | func NewCustomView() *CustomView { FILE: internal/config/views_int_test.go function TestCustomView_getVS (line 14) | func TestCustomView_getVS(t *testing.T) { FILE: internal/config/views_test.go function init (line 16) | func init() { function TestCustomViewLoad (line 20) | func TestCustomViewLoad(t *testing.T) { function TestViewSettingEquals (line 52) | func TestViewSettingEquals(t *testing.T) { FILE: internal/dao/accessor.go type Accessors (line 42) | type Accessors function AccessorFor (line 47) | func AccessorFor(f Factory, gvr *client.GVR) (Accessor, error) { FILE: internal/dao/alias.go type Alias (line 24) | type Alias struct method AliasesFor (line 41) | func (a *Alias) AliasesFor(gvr *client.GVR) sets.Set[string] { method List (line 46) | func (*Alias) List(ctx context.Context, _ string) ([]runtime.Object, e... method Get (line 65) | func (*Alias) Get(_ context.Context, _ string) (runtime.Object, error) { method Ensure (line 70) | func (a *Alias) Ensure(path string) (config.Alias, error) { method load (line 77) | func (a *Alias) load(path string) error { function NewAlias (line 31) | func NewAlias(f Factory) *Alias { FILE: internal/dao/alias_test.go function TestAliasList (line 19) | func TestAliasList(t *testing.T) { function makeAliases (line 34) | func makeAliases() *dao.Alias { FILE: internal/dao/benchmark.go type Benchmark (line 28) | type Benchmark struct method Delete (line 33) | func (*Benchmark) Delete(_ context.Context, path string, _ *metav1.Del... method Get (line 38) | func (*Benchmark) Get(context.Context, string) (runtime.Object, error) { method List (line 43) | func (*Benchmark) List(ctx context.Context, _ string) ([]runtime.Objec... FILE: internal/dao/benchmark_test.go function TestBenchmarkList (line 18) | func TestBenchmarkList(t *testing.T) { FILE: internal/dao/cluster.go type RefScanner (line 19) | type RefScanner interface type Ref (line 31) | type Ref struct type Refs (line 37) | type Refs function scanners (line 47) | func scanners() map[*client.GVR]RefScanner { function ScanForRefs (line 58) | func ScanForRefs(ctx context.Context, f Factory) (Refs, error) { function ScanForSARefs (line 109) | func ScanForSARefs(ctx context.Context, f Factory) (Refs, error) { FILE: internal/dao/cm.go type ConfigMap (line 9) | type ConfigMap struct FILE: internal/dao/container.go constant initIDX (line 27) | initIDX = "I" constant mainIDX (line 28) | mainIDX = "M" constant ephIDX (line 29) | ephIDX = "E" type Container (line 33) | type Container struct method List (line 38) | func (c *Container) List(ctx context.Context, _ string) ([]runtime.Obj... method TailLogs (line 90) | func (c *Container) TailLogs(ctx context.Context, opts *LogOptions) ([... method fetchPod (line 135) | func (c *Container) fetchPod(fqn string) (*v1.Pod, error) { function makeContainerRes (line 100) | func makeContainerRes(kind string, idx int, co *v1.Container, po *v1.Pod... function getContainerStatus (line 110) | func getContainerStatus(kind, name string, status *v1.PodStatus) *v1.Con... FILE: internal/dao/container_test.go function TestContainerList (line 30) | func TestContainerList(t *testing.T) { type conn (line 43) | type conn struct method Config (line 49) | func (*conn) Config() *client.Config ... method Dial (line 50) | func (*conn) Dial() (kubernetes.Interface, error) ... method DialLogs (line 51) | func (*conn) DialLogs() (kubernetes.Interface, error) ... method ConnectionOK (line 52) | func (*conn) ConnectionOK() bool ... method SwitchContext (line 53) | func (*conn) SwitchContext(string) error ... method CachedDiscovery (line 54) | func (*conn) CachedDiscovery() (*disk.CachedDiscoveryClient, error) ... method RestConfig (line 55) | func (*conn) RestConfig() (*restclient.Config, error) ... method MXDial (line 56) | func (*conn) MXDial() (*versioned.Clientset, error) ... method DynDial (line 57) | func (*conn) DynDial() (dynamic.Interface, error) ... method HasMetrics (line 58) | func (*conn) HasMetrics() bool ... method CheckConnectivity (line 59) | func (*conn) CheckConnectivity() bool ... method IsNamespaced (line 60) | func (*conn) IsNamespaced(string) bool ... method SupportsResource (line 61) | func (*conn) SupportsResource(string) bool ... method ValidNamespaces (line 62) | func (*conn) ValidNamespaces() ([]v1.Namespace, error) ... method SupportsRes (line 63) | func (*conn) SupportsRes(string, []string) (a string, b bool, e error)... method ServerVersion (line 64) | func (*conn) ServerVersion() (*version.Info, error) ... method CurrentNamespaceName (line 65) | func (*conn) CurrentNamespaceName() (string, error) ... method CanI (line 66) | func (*conn) CanI(string, *client.GVR, string, []string) (bool, error)... method ActiveContext (line 67) | func (*conn) ActiveContext() string ... method ActiveNamespace (line 68) | func (*conn) ActiveNamespace() string ... method IsValidNamespace (line 69) | func (*conn) IsValidNamespace(string) bool ... method ValidNamespaceNames (line 70) | func (*conn) ValidNamespaceNames() (client.NamespaceNames, error) ... method IsActiveNamespace (line 71) | func (*conn) IsActiveNamespace(string) bool ... function makeConn (line 45) | func makeConn() *conn { type podFactory (line 73) | type podFactory struct method Client (line 77) | func (podFactory) Client() client.Connection { method Get (line 81) | func (podFactory) Get(*client.GVR, string, bool, labels.Selector) (run... method List (line 89) | func (podFactory) List(*client.GVR, string, bool, labels.Selector) ([]... method ForResource (line 92) | func (podFactory) ForResource(string, *client.GVR) (informers.GenericI... method CanForResource (line 95) | func (podFactory) CanForResource(string, *client.GVR, []string) (infor... method WaitForCacheSync (line 98) | func (podFactory) WaitForCacheSync() {} method Forwarders (line 99) | func (podFactory) Forwarders() watch.Forwarders { return nil } method DeleteForwarder (line 100) | func (podFactory) DeleteForwarder(string) {} function makePodFactory (line 102) | func makePodFactory() dao.Factory { function poYaml (line 106) | func poYaml() string { FILE: internal/dao/context.go type Context (line 22) | type Context struct method config (line 26) | func (c *Context) config() *client.Config { method Get (line 31) | func (c *Context) Get(_ context.Context, path string) (runtime.Object,... method List (line 40) | func (c *Context) List(context.Context, string) ([]runtime.Object, err... method MustCurrentContextName (line 54) | func (c *Context) MustCurrentContextName() string { method Switch (line 63) | func (c *Context) Switch(ctx string) error { FILE: internal/dao/crd.go type CustomResourceDefinition (line 12) | type CustomResourceDefinition struct FILE: internal/dao/cronjob.go constant maxJobNameSize (line 23) | maxJobNameSize = 42 type CronJob (line 32) | type CronJob struct method ListImages (line 37) | func (c *CronJob) ListImages(_ context.Context, fqn string) ([]string,... method Run (line 47) | func (c *CronJob) Run(path string) error { method ScanSA (line 102) | func (c *CronJob) ScanSA(_ context.Context, fqn string, wait bool) (Re... method GetInstance (line 128) | func (c *CronJob) GetInstance(fqn string) (*batchv1.CronJob, error) { method ToggleSuspend (line 144) | func (c *CronJob) ToggleSuspend(ctx context.Context, path string) error { method Scan (line 175) | func (c *CronJob) Scan(_ context.Context, gvr *client.GVR, fqn string,... FILE: internal/dao/cruiser.go function mustMap (line 13) | func mustMap(o runtime.Object, field string) map[string]any { function mustSlice (line 26) | func mustSlice(o runtime.Object, field string) []any { function mustField (line 39) | func mustField(o map[string]any, field string) any { FILE: internal/dao/cruiser_test.go function TestCruiserMeta (line 17) | func TestCruiserMeta(t *testing.T) { function TestCruiserSlice (line 24) | func TestCruiserSlice(t *testing.T) { function loadJSON (line 35) | func loadJSON(t require.TestingT, n string) *unstructured.Unstructured { FILE: internal/dao/describe.go function Describe (line 15) | func Describe(c client.Connection, gvr *client.GVR, path string) (string... FILE: internal/dao/dir.go type Dir (line 23) | type Dir struct method List (line 37) | func (*Dir) List(ctx context.Context, _ string) ([]runtime.Object, err... method Get (line 63) | func (*Dir) Get(_ context.Context, _ string) (runtime.Object, error) { function NewDir (line 28) | func NewDir(f Factory) *Dir { FILE: internal/dao/dir_test.go function TestNewDir (line 16) | func TestNewDir(t *testing.T) { FILE: internal/dao/dp.go type Deployment (line 39) | type Deployment struct method ListImages (line 44) | func (d *Deployment) ListImages(_ context.Context, fqn string) ([]stri... method Scale (line 54) | func (d *Deployment) Scale(ctx context.Context, path string, replicas ... method Restart (line 59) | func (d *Deployment) Restart(ctx context.Context, path string, opts *m... method TailLogs (line 64) | func (d *Deployment) TailLogs(ctx context.Context, opts *LogOptions) (... method Pod (line 77) | func (d *Deployment) Pod(fqn string) (string, error) { method GetInstance (line 87) | func (d *Deployment) GetInstance(fqn string) (*appsv1.Deployment, erro... method ScanSA (line 103) | func (d *Deployment) ScanSA(_ context.Context, fqn string, wait bool) ... method Scan (line 129) | func (d *Deployment) Scan(_ context.Context, gvr *client.GVR, fqn stri... method GetPodSpec (line 191) | func (d *Deployment) GetPodSpec(path string) (*v1.PodSpec, error) { method SetImages (line 201) | func (d *Deployment) SetImages(ctx context.Context, path string, image... function hasPVC (line 230) | func hasPVC(spec *v1.PodSpec, name string) bool { function hasPC (line 239) | func hasPC(spec *v1.PodSpec, name string) bool { function hasConfigMap (line 243) | func hasConfigMap(spec *v1.PodSpec, name string) bool { function hasSecret (line 270) | func hasSecret(f Factory, spec *v1.PodSpec, ns, name string, wait bool) ... function containerHasSecret (line 325) | func containerHasSecret(envFrom []v1.EnvFromSource, env []v1.EnvVar, nam... function containerHasConfigMap (line 343) | func containerHasConfigMap(envFrom []v1.EnvFromSource, env []v1.EnvVar, ... function scaleRes (line 361) | func scaleRes(ctx context.Context, f Factory, gvr *client.GVR, path stri... function restartRes (line 398) | func restartRes[T runtime.Object](ctx context.Context, f Factory, gvr *c... FILE: internal/dao/ds.go type DaemonSet (line 38) | type DaemonSet struct method ListImages (line 43) | func (d *DaemonSet) ListImages(_ context.Context, fqn string) ([]strin... method Restart (line 53) | func (d *DaemonSet) Restart(ctx context.Context, path string, opts *me... method TailLogs (line 58) | func (d *DaemonSet) TailLogs(ctx context.Context, opts *LogOptions) ([... method Pod (line 114) | func (d *DaemonSet) Pod(fqn string) (string, error) { method GetInstance (line 124) | func (d *DaemonSet) GetInstance(fqn string) (*appsv1.DaemonSet, error) { method ScanSA (line 140) | func (d *DaemonSet) ScanSA(_ context.Context, fqn string, wait bool) (... method Scan (line 166) | func (d *DaemonSet) Scan(_ context.Context, gvr *client.GVR, fqn strin... method GetPodSpec (line 228) | func (d *DaemonSet) GetPodSpec(path string) (*v1.PodSpec, error) { method SetImages (line 238) | func (d *DaemonSet) SetImages(ctx context.Context, path string, imageS... function podLogs (line 71) | func podLogs(ctx context.Context, sel map[string]string, opts *LogOption... function toSelector (line 268) | func toSelector(m map[string]string) string { FILE: internal/dao/dynamic.go type Dynamic (line 23) | type Dynamic struct method Get (line 28) | func (d *Dynamic) Get(ctx context.Context, path string) (runtime.Objec... method List (line 38) | func (d *Dynamic) List(ctx context.Context, ns string) ([]runtime.Obje... method toTable (line 42) | func (d *Dynamic) toTable(ctx context.Context, fqn string) ([]runtime.... method transformRequests (line 152) | func (d *Dynamic) transformRequests(req *rest.Request) { function decodeIntoTable (line 93) | func decodeIntoTable(obj runtime.Object, allNs bool) (runtime.Object, er... FILE: internal/dao/generic.go type Grace (line 19) | type Grace constant DefaultGrace (line 23) | DefaultGrace Grace = -1 constant ForceGrace (line 26) | ForceGrace Grace = 0 constant NowGrace (line 29) | NowGrace Grace = 1 type Generic (line 35) | type Generic struct method List (line 41) | func (g *Generic) List(ctx context.Context, ns string) ([]runtime.Obje... method Get (line 75) | func (g *Generic) Get(ctx context.Context, path string) (runtime.Objec... method Describe (line 91) | func (g *Generic) Describe(path string) (string, error) { method ToYAML (line 96) | func (g *Generic) ToYAML(path string, showManaged bool) (string, error) { method Delete (line 110) | func (g *Generic) Delete(ctx context.Context, path string, propagation... method dynClient (line 142) | func (g *Generic) dynClient() (dynamic.NamespaceableResourceInterface,... FILE: internal/dao/helm_chart.go type HelmChart (line 30) | type HelmChart struct method List (line 35) | func (h *HelmChart) List(_ context.Context, ns string) ([]runtime.Obje... method Get (line 58) | func (h *HelmChart) Get(_ context.Context, path string) (runtime.Objec... method GetValues (line 73) | func (h *HelmChart) GetValues(path string, allValues bool) ([]byte, er... method Describe (line 90) | func (h *HelmChart) Describe(path string) (string, error) { method ToYAML (line 105) | func (h *HelmChart) ToYAML(path string, _ bool) (string, error) { method Delete (line 120) | func (h *HelmChart) Delete(_ context.Context, path string, _ *metav1.D... method Uninstall (line 125) | func (h *HelmChart) Uninstall(path string, keepHist bool) error { function ensureHelmConfig (line 147) | func ensureHelmConfig(flags *genericclioptions.ConfigFlags, ns string) (... function helmLogger (line 167) | func helmLogger(fmat string, args ...any) { FILE: internal/dao/helm_history.go type HelmHistory (line 29) | type HelmHistory struct method List (line 34) | func (h *HelmHistory) List(ctx context.Context, _ string) ([]runtime.O... method Get (line 60) | func (h *HelmHistory) Get(_ context.Context, path string) (runtime.Obj... method Describe (line 87) | func (h *HelmHistory) Describe(path string) (string, error) { method ToYAML (line 102) | func (h *HelmHistory) ToYAML(path string, _ bool) (string, error) { method GetValues (line 117) | func (h *HelmHistory) GetValues(path string, allValues bool) ([]byte, ... method Rollback (line 138) | func (h *HelmHistory) Rollback(_ context.Context, path, rev string) er... method Delete (line 156) | func (h *HelmHistory) Delete(_ context.Context, path string, _ *metav1... FILE: internal/dao/helpers.go constant defaultServiceAccount (line 23) | defaultServiceAccount = "default" constant DefaultContainerAnnotation (line 26) | DefaultContainerAnnotation = "kubectl.kubernetes.io/default-container" function GetDefaultContainer (line 30) | func GetDefaultContainer(m *metav1.ObjectMeta, spec *v1.PodSpec) (string... function extractFQN (line 49) | func extractFQN(o runtime.Object) string { function FQN (line 60) | func FQN(ns, n string) string { function inList (line 67) | func inList(ll []string, s string) bool { function toPerc (line 76) | func toPerc(v, dv float64) float64 { function ToYAML (line 85) | func ToYAML(o runtime.Object, showManaged bool) (string, error) { function serviceAccountMatches (line 109) | func serviceAccountMatches(podSA, saName string) bool { function ContinuousRanges (line 119) | func ContinuousRanges(indexes []int) [][]int { FILE: internal/dao/helpers_test.go function TestToPerc (line 13) | func TestToPerc(t *testing.T) { function TestServiceAccountMatches (line 28) | func TestServiceAccountMatches(t *testing.T) { function TestContinuousRanges (line 65) | func TestContinuousRanges(t *testing.T) { FILE: internal/dao/img_scan.go type ImageScan (line 20) | type ImageScan struct method listImages (line 24) | func (is *ImageScan) listImages(ctx context.Context, gvr *client.GVR, ... method List (line 38) | func (is *ImageScan) List(ctx context.Context, _ string) ([]runtime.Ob... FILE: internal/dao/job.go type Job (line 30) | type Job struct method ListImages (line 35) | func (j *Job) ListImages(_ context.Context, fqn string) ([]string, err... method List (line 45) | func (j *Job) List(ctx context.Context, ns string) ([]runtime.Object, ... method TailLogs (line 76) | func (j *Job) TailLogs(ctx context.Context, opts *LogOptions) ([]LogCh... method GetInstance (line 95) | func (j *Job) GetInstance(fqn string) (*batchv1.Job, error) { method ScanSA (line 111) | func (j *Job) ScanSA(_ context.Context, fqn string, wait bool) (Refs, ... method Scan (line 137) | func (j *Job) Scan(_ context.Context, gvr *client.GVR, fqn string, wai... FILE: internal/dao/log_item.go type LogChan (line 11) | type LogChan type LogItem (line 16) | type LogItem struct method ID (line 38) | func (l *LogItem) ID() string { method GetTimestamp (line 46) | func (l *LogItem) GetTimestamp() string { method Info (line 55) | func (l *LogItem) Info() string { method IsEmpty (line 60) | func (l *LogItem) IsEmpty() bool { method Size (line 65) | func (l *LogItem) Size() int { method Render (line 70) | func (l *LogItem) Render(paint string, showTime bool, bb *bytes.Buffer) { function NewLogItem (line 24) | func NewLogItem(bb []byte) *LogItem { function NewLogItemFromString (line 31) | func NewLogItemFromString(s string) *LogItem { FILE: internal/dao/log_item_test.go function TestLogItemEmpty (line 17) | func TestLogItemEmpty(t *testing.T) { function TestLogItemRender (line 35) | func TestLogItemRender(t *testing.T) { function BenchmarkLogItemRenderTS (line 108) | func BenchmarkLogItemRenderTS(b *testing.B) { function BenchmarkLogItemRenderNoTS (line 121) | func BenchmarkLogItemRenderNoTS(b *testing.B) { FILE: internal/dao/log_items.go type podColors (line 17) | type podColors type LogItems (line 31) | type LogItems struct method Items (line 45) | func (l *LogItems) Items() []*LogItem { method Len (line 53) | func (l *LogItems) Len() int { method Clear (line 61) | func (l *LogItems) Clear() { method Shift (line 72) | func (l *LogItems) Shift(i *LogItem) { method Subset (line 80) | func (l *LogItems) Subset(index int) *LogItems { method Merge (line 91) | func (l *LogItems) Merge(n *LogItems) { method Add (line 102) | func (l *LogItems) Add(ii ...*LogItem) { method podColorFor (line 109) | func (l *LogItems) podColorFor(id string) string { method Lines (line 124) | func (l *LogItems) Lines(index int, showTime bool, ll [][]byte) { method StrLines (line 136) | func (l *LogItems) StrLines(index int, showTime bool) []string { method Render (line 151) | func (l *LogItems) Render(index int, showTime bool, ll [][]byte) { method DumpDebug (line 160) | func (l *LogItems) DumpDebug(m string) { method Filter (line 168) | func (l *LogItems) Filter(index int, q string, showTime bool) (matches... method fuzzyFilter (line 184) | func (l *LogItems) fuzzyFilter(index int, q string, showTime bool) (ma... method filterLogs (line 196) | func (l *LogItems) filterLogs(index int, q string, showTime bool) (mat... function NewLogItems (line 38) | func NewLogItems() *LogItems { FILE: internal/dao/log_items_test.go function init (line 16) | func init() { function TestLogItemsFilter (line 20) | func TestLogItemsFilter(t *testing.T) { function TestLogItemsRender (line 100) | func TestLogItemsRender(t *testing.T) { FILE: internal/dao/log_options.go type LogOptions (line 16) | type LogOptions struct method Info (line 33) | func (o *LogOptions) Info() string { method Clone (line 42) | func (o *LogOptions) Clone() *LogOptions { method HasContainer (line 60) | func (o *LogOptions) HasContainer() bool { method ToggleAllContainers (line 65) | func (o *LogOptions) ToggleAllContainers() { method ToPodLogOptions (line 81) | func (o *LogOptions) ToPodLogOptions() *v1.PodLogOptions { method ToLogItem (line 116) | func (o *LogOptions) ToLogItem(bytes []byte) *LogItem { method ToErrLogItem (line 135) | func (*LogOptions) ToErrLogItem(err error) *LogItem { FILE: internal/dao/log_options_test.go function TestLogOptionsToggleAllContainers (line 13) | func TestLogOptionsToggleAllContainers(t *testing.T) { FILE: internal/dao/node.go type NodeMetricsFunc (line 33) | type NodeMetricsFunc type Node (line 36) | type Node struct method ToggleCordon (line 41) | func (n *Node) ToggleCordon(fqn string, cordon bool) error { method Drain (line 98) | func (n *Node) Drain(path string, opts DrainOptions, w io.Writer) error { method Get (line 134) | func (n *Node) Get(ctx context.Context, path string) (runtime.Object, ... method List (line 159) | func (n *Node) List(ctx context.Context, ns string) ([]runtime.Object,... method CountPods (line 208) | func (*Node) CountPods(oo []runtime.Object, nodeName string) (int, err... method GetPods (line 228) | func (n *Node) GetPods(nodeName string) ([]*v1.Pod, error) { method ensureCordoned (line 249) | func (n *Node) ensureCordoned(path string) (bool, error) { method toDrainHelper (line 83) | func (o DrainOptions) toDrainHelper(k kubernetes.Interface, w io.Writer)... function FetchNode (line 262) | func FetchNode(_ context.Context, f Factory, path string) (*v1.Node, err... function FetchNodes (line 287) | func FetchNodes(_ context.Context, f Factory, _ string) (*v1.NodeList, e... FILE: internal/dao/non_resource.go type NonResource (line 16) | type NonResource struct method Init (line 25) | func (n *NonResource) Init(f Factory, gvr *client.GVR) { method SetIncludeObject (line 32) | func (n *NonResource) SetIncludeObject(f bool) { method gvrStr (line 36) | func (n *NonResource) gvrStr() string { method getFactory (line 43) | func (n *NonResource) getFactory() Factory { method GVR (line 51) | func (n *NonResource) GVR() string { method Get (line 59) | func (*NonResource) Get(context.Context, string) (runtime.Object, erro... FILE: internal/dao/ns.go type Namespace (line 9) | type Namespace struct FILE: internal/dao/patch.go type ImageSpec (line 11) | type ImageSpec struct type ImageSpecs (line 18) | type ImageSpecs type JsonPatch (line 21) | type JsonPatch struct type Spec (line 26) | type Spec struct type PodSpec (line 31) | type PodSpec struct type ImagesSpec (line 36) | type ImagesSpec struct type Element (line 44) | type Element struct function GetTemplateJsonPatch (line 50) | func GetTemplateJsonPatch(imageSpecs ImageSpecs) ([]byte, error) { function GetJsonPatch (line 60) | func GetJsonPatch(imageSpecs ImageSpecs) ([]byte, error) { function getPatchPodSpec (line 65) | func getPatchPodSpec(imageSpecs ImageSpecs) PodSpec { function extractElements (line 78) | func extractElements(imageSpecs ImageSpecs) (initElementsOrders, initEle... FILE: internal/dao/patch_test.go function TestGetTemplateJsonPatch (line 12) | func TestGetTemplateJsonPatch(t *testing.T) { function TestGetJsonPatch (line 55) | func TestGetJsonPatch(t *testing.T) { FILE: internal/dao/pod.go type streamResult (line 43) | type streamResult constant logRetryCount (line 46) | logRetryCount = 20 constant logBackoffInitial (line 47) | logBackoffInitial = 500 * time.Millisecond constant logBackoffMax (line 48) | logBackoffMax = 30 * time.Second constant logChannelBuffer (line 49) | logChannelBuffer = 50 constant streamEOF (line 50) | streamEOF streamResult = iota constant streamError (line 51) | streamError constant streamCanceled (line 52) | streamCanceled type Pod (line 56) | type Pod struct method shouldStopRetrying (line 61) | func (p *Pod) shouldStopRetrying(path string) bool { method Get (line 80) | func (p *Pod) Get(ctx context.Context, path string) (runtime.Object, e... method ListImages (line 100) | func (p *Pod) ListImages(_ context.Context, path string) ([]string, er... method List (line 110) | func (p *Pod) List(ctx context.Context, ns string) ([]runtime.Object, ... method Logs (line 152) | func (p *Pod) Logs(path string, opts *v1.PodLogOptions) (*restclient.R... method Containers (line 171) | func (p *Pod) Containers(path string, includeInit bool) ([]string, err... method Pod (line 192) | func (*Pod) Pod(fqn string) (string, error) { method GetInstance (line 197) | func (p *Pod) GetInstance(fqn string) (*v1.Pod, error) { method TailLogs (line 213) | func (p *Pod) TailLogs(ctx context.Context, opts *LogOptions) ([]LogCh... method ScanSA (line 259) | func (p *Pod) ScanSA(_ context.Context, fqn string, wait bool) (Refs, ... method Scan (line 289) | func (p *Pod) Scan(_ context.Context, gvr *client.GVR, fqn string, wai... method GetPodSpec (line 532) | func (p *Pod) GetPodSpec(path string) (*v1.PodSpec, error) { method SetImages (line 543) | func (p *Pod) SetImages(ctx context.Context, path string, imageSpecs I... method isControlled (line 578) | func (p *Pod) isControlled(path string) (fqn string, ok bool, err erro... method Sanitize (line 602) | func (p *Pod) Sanitize(ctx context.Context, ns string) (int, error) { function tailLogs (line 357) | func tailLogs(ctx context.Context, logger Logger, opts *LogOptions) LogC... function readLogs (line 472) | func readLogs(ctx context.Context, stream io.ReadCloser, out chan<- *Log... function MetaFQN (line 523) | func MetaFQN(m *metav1.ObjectMeta) string { FILE: internal/dao/pod_test.go function TestGetDefaultContainer (line 14) | func TestGetDefaultContainer(t *testing.T) { FILE: internal/dao/port_forward.go type PortForward (line 28) | type PortForward struct method Delete (line 33) | func (p *PortForward) Delete(_ context.Context, path string, _ *metav1... method List (line 40) | func (p *PortForward) List(ctx context.Context, _ string) ([]runtime.O... function PodToKey (line 81) | func PodToKey(path string) string { function BenchConfigFor (line 92) | func BenchConfigFor(benchFile, path string) config.BenchConfig { FILE: internal/dao/port_forward_test.go function TestBenchForConfig (line 14) | func TestBenchForConfig(t *testing.T) { FILE: internal/dao/port_forwarder.go constant defaultTimeout (line 28) | defaultTimeout = 30 * time.Second type PortForwarder (line 31) | type PortForwarder struct method String (line 52) | func (p *PortForwarder) String() string { method Age (line 57) | func (p *PortForwarder) Age() time.Time { method Active (line 62) | func (p *PortForwarder) Active() bool { method SetActive (line 67) | func (p *PortForwarder) SetActive(b bool) { method Port (line 72) | func (p *PortForwarder) Port() string { method Address (line 77) | func (p *PortForwarder) Address() string { method ContainerPort (line 82) | func (p *PortForwarder) ContainerPort() string { method LocalPort (line 87) | func (p *PortForwarder) LocalPort() string { method ID (line 92) | func (p *PortForwarder) ID() string { method Container (line 97) | func (p *PortForwarder) Container() string { method Stop (line 102) | func (p *PortForwarder) Stop() { method FQN (line 111) | func (p *PortForwarder) FQN() string { method HasPortMapping (line 116) | func (p *PortForwarder) HasPortMapping(portMap string) bool { method Start (line 121) | func (p *PortForwarder) Start(path string, tt port.PortTunnel) (*portf... method forwardPorts (line 173) | func (p *PortForwarder) forwardPorts(method string, u *url.URL, addr, ... function NewPortForwarder (line 43) | func NewPortForwarder(f Factory) *PortForwarder { function PortForwardID (line 203) | func PortForwardID(path, co, portMap string) string { function codec (line 211) | func codec() (serializer.CodecFactory, runtime.ParameterCodec) { FILE: internal/dao/pulse.go type Pulse (line 14) | type Pulse struct method List (line 19) | func (*Pulse) List(context.Context, string) ([]runtime.Object, error) { FILE: internal/dao/rbac.go type Rbac (line 25) | type Rbac struct method List (line 30) | func (r *Rbac) List(ctx context.Context, ns string) ([]runtime.Object,... method loadClusterRoleBinding (line 54) | func (r *Rbac) loadClusterRoleBinding(path string) ([]runtime.Object, ... method loadRoleBinding (line 78) | func (r *Rbac) loadRoleBinding(path string) ([]runtime.Object, error) { method loadClusterRole (line 114) | func (r *Rbac) loadClusterRole(fqn string) ([]runtime.Object, error) { method loadRole (line 128) | func (r *Rbac) loadRole(path string) ([]runtime.Object, error) { function asRuntimeObjects (line 142) | func asRuntimeObjects(rr render.Policies) []runtime.Object { function parseRules (line 151) | func parseRules(ns, binding string, rules []rbacv1.PolicyRule) render.Po... FILE: internal/dao/rbac_policy.go type Policy (line 27) | type Policy struct method List (line 32) | func (p *Policy) List(ctx context.Context, _ string) ([]runtime.Object... method loadClusterRoleBinding (line 62) | func (p *Policy) loadClusterRoleBinding(kind, name string) (render.Pol... method loadRoleBinding (line 93) | func (p *Policy) loadRoleBinding(kind, name string) (render.Policies, ... method fetchRoleBindingNamespaces (line 167) | func (p *Policy) fetchRoleBindingNamespaces(kind, name string) (map[st... method fetchClusterRoles (line 204) | func (p *Policy) fetchClusterRoles() ([]rbacv1.ClusterRole, error) { method fetchRoles (line 222) | func (p *Policy) fetchRoles() ([]rbacv1.Role, error) { function fetchClusterRoleBindings (line 131) | func fetchClusterRoleBindings(f Factory) ([]rbacv1.ClusterRoleBinding, e... function fetchRoleBindings (line 149) | func fetchRoleBindings(f Factory) ([]rbacv1.RoleBinding, error) { function isSameSubject (line 189) | func isSameSubject(kind, ns, bns, name string, subject *rbacv1.Subject) ... FILE: internal/dao/rbac_policy_test.go function TestIsSameSubject (line 13) | func TestIsSameSubject(t *testing.T) { FILE: internal/dao/rbac_subject.go type Subject (line 21) | type Subject struct method List (line 26) | func (s *Subject) List(ctx context.Context, _ string) ([]runtime.Objec... method listClusterRoleBindings (line 53) | func (s *Subject) listClusterRoleBindings(kind string) (render.Subject... method listRoleBindings (line 76) | func (s *Subject) listRoleBindings(kind string) (render.Subjects, erro... FILE: internal/dao/recorder.go constant seriesCacheSize (line 24) | seriesCacheSize = 600 constant seriesCacheExpiry (line 25) | seriesCacheExpiry = 3 * time.Hour constant seriesRecordRate (line 26) | seriesRecordRate = 1 * time.Minute constant nodeMetrics (line 27) | nodeMetrics = "node" constant podMetrics (line 28) | podMetrics = "pod" type MetricsChan (line 31) | type MetricsChan type TimeSeries (line 33) | type TimeSeries type Point (line 35) | type Point struct type Recorder (line 41) | type Recorder struct method Clear (line 65) | func (r *Recorder) Clear() { method dispatchSeries (line 75) | func (r *Recorder) dispatchSeries(kind, ns string) { method Watch (line 104) | func (r *Recorder) Watch(ctx context.Context, ns string) MetricsChan { method Record (line 141) | func (r *Recorder) Record(ctx context.Context) error { method recordNodeMetrics (line 148) | func (r *Recorder) recordNodeMetrics(ctx context.Context) error { method recordClusterMetrics (line 173) | func (r *Recorder) recordClusterMetrics(ctx context.Context, nn *v1.No... method recordPodMetrics (line 209) | func (r *Recorder) recordPodMetrics(ctx context.Context, ns string) er... method recordPodsMetrics (line 230) | func (r *Recorder) recordPodsMetrics(ctx context.Context, ns string) e... function DialRecorder (line 48) | func DialRecorder(c client.Connection) *Recorder { function ResetRecorder (line 60) | func ResetRecorder(c client.Connection) { function FetchPods (line 276) | func FetchPods(_ context.Context, f Factory, ns string) (*v1.PodList, er... FILE: internal/dao/reference.go type Reference (line 19) | type Reference struct method List (line 24) | func (r *Reference) List(ctx context.Context, _ string) ([]runtime.Obj... method Get (line 38) | func (*Reference) Get(context.Context, string) (runtime.Object, error) { method Scan (line 43) | func (r *Reference) Scan(ctx context.Context) ([]runtime.Object, error) { method ScanSA (line 68) | func (r *Reference) ScanSA(ctx context.Context) ([]runtime.Object, err... FILE: internal/dao/registry.go constant crdCat (line 26) | crdCat = "crd" constant k9sCat (line 27) | k9sCat = "k9s" constant helmCat (line 28) | helmCat = "helm" constant scaleCat (line 29) | scaleCat = "scale" type ResourceMetas (line 49) | type ResourceMetas method clear (line 51) | func (m ResourceMetas) clear() { type Meta (line 61) | type Meta struct method Lookup (line 71) | func (m *Meta) Lookup(cmd string) *client.GVR { method RegisterMeta (line 87) | func (m *Meta) RegisterMeta(gvr string, res *metav1.APIResource) { method AllGVRs (line 95) | func (m *Meta) AllGVRs() client.GVRs { method GVK2GVR (line 104) | func (m *Meta) GVK2GVR(gv schema.GroupVersion, kind string) (*client.G... method IsNamespaced (line 118) | func (m *Meta) IsNamespaced(gvr *client.GVR) (bool, error) { method MetaFor (line 128) | func (m *Meta) MetaFor(gvr *client.GVR) (*metav1.APIResource, error) { method LoadResources (line 162) | func (m *Meta) LoadResources(f Factory) error { function NewMeta (line 67) | func NewMeta() *Meta { function IsCRD (line 140) | func IsCRD(r *metav1.APIResource) bool { function IsK8sMeta (line 145) | func IsK8sMeta(m *metav1.APIResource) bool { function IsK9sMeta (line 152) | func IsK9sMeta(m *metav1.APIResource) bool { function IsScalable (line 157) | func IsScalable(m *metav1.APIResource) bool { function loadNonResource (line 180) | func loadNonResource(m ResourceMetas) { function loadK9s (line 186) | func loadK9s(m ResourceMetas) { function loadHelm (line 277) | func loadHelm(m ResourceMetas) { function loadRBAC (line 294) | func loadRBAC(m ResourceMetas) { function loadPreferred (line 318) | func loadPreferred(f Factory, m ResourceMetas) error { function isStandardGroup (line 356) | func isStandardGroup(gv string) bool { function isScalable (line 360) | func isScalable(gvr *client.GVR) bool { function isDeprecated (line 369) | func isDeprecated(gvr *client.GVR) bool { function loadCRDs (line 374) | func loadCRDs(f Factory, m ResourceMetas) { FILE: internal/dao/registry_test.go function TestMetaFor (line 16) | func TestMetaFor(t *testing.T) { FILE: internal/dao/resource.go type Resource (line 22) | type Resource struct method List (line 27) | func (r *Resource) List(ctx context.Context, ns string) ([]runtime.Obj... method Get (line 37) | func (r *Resource) Get(_ context.Context, path string) (runtime.Object... method ToYAML (line 42) | func (r *Resource) ToYAML(path string, showManaged bool) (string, erro... FILE: internal/dao/rest_mapper.go type RestMapper (line 20) | type RestMapper struct method ToRESTMapper (line 25) | func (r *RestMapper) ToRESTMapper() (meta.RESTMapper, error) { method ResourceFor (line 38) | func (r *RestMapper) ResourceFor(resourceArg, kind string) (*meta.REST... method resourceFor (line 46) | func (r *RestMapper) resourceFor(resourceArg string) (schema.GroupVers... method toRESTMapping (line 77) | func (*RestMapper) toRESTMapping(gvr schema.GroupVersionResource, kind... method Name (line 90) | func (*RestMapper) Name() meta.RESTScopeName { FILE: internal/dao/rs.go type ReplicaSet (line 29) | type ReplicaSet struct method ListImages (line 34) | func (r *ReplicaSet) ListImages(_ context.Context, fqn string) ([]stri... method Load (line 44) | func (*ReplicaSet) Load(f Factory, path string) (*appsv1.ReplicaSet, e... method Rollback (line 88) | func (r *ReplicaSet) Rollback(fqn string) error { function getRSRevision (line 59) | func getRSRevision(rs *appsv1.ReplicaSet) (int64, error) { function controllerInfo (line 72) | func controllerInfo(rs *appsv1.ReplicaSet) (name, kind, group string, er... FILE: internal/dao/scalable.go type Scaler (line 24) | type Scaler struct method Replicas (line 29) | func (s *Scaler) Replicas(ctx context.Context, path string) (int32, er... method Scale (line 45) | func (s *Scaler) Scale(ctx context.Context, path string, replicas int3... method scaleClient (line 71) | func (s *Scaler) scaleClient() (scale.ScalesGetter, error) { FILE: internal/dao/screen_dump.go type ScreenDump (line 23) | type ScreenDump struct method Delete (line 28) | func (*ScreenDump) Delete(_ context.Context, path string, _ *metav1.De... method List (line 33) | func (*ScreenDump) List(ctx context.Context, _ string) ([]runtime.Obje... FILE: internal/dao/secret.go type Secret (line 21) | type Secret struct method Describe (line 27) | func (s *Secret) Describe(path string) (string, error) { method ToYAML (line 40) | func (s *Secret) ToYAML(path string, showManaged bool) (string, error) { method decodeYAML (line 48) | func (s *Secret) decodeYAML(path string, showManaged bool) (string, er... method SetDecodeData (line 83) | func (s *Secret) SetDecodeData(b bool) { method Decode (line 89) | func (s *Secret) Decode(encodedDescription, path string) (string, erro... function ExtractSecrets (line 126) | func ExtractSecrets(o runtime.Object) (map[string]string, error) { FILE: internal/dao/secret_test.go function TestEncodedSecretDescribe (line 15) | func TestEncodedSecretDescribe(t *testing.T) { FILE: internal/dao/sts.go type StatefulSet (line 37) | type StatefulSet struct method ListImages (line 42) | func (s *StatefulSet) ListImages(_ context.Context, fqn string) ([]str... method Scale (line 52) | func (s *StatefulSet) Scale(ctx context.Context, path string, replicas... method Restart (line 57) | func (s *StatefulSet) Restart(ctx context.Context, path string, opts *... method GetInstance (line 62) | func (*StatefulSet) GetInstance(f Factory, fqn string) (*appsv1.Statef... method TailLogs (line 78) | func (s *StatefulSet) TailLogs(ctx context.Context, opts *LogOptions) ... method Pod (line 91) | func (s *StatefulSet) Pod(fqn string) (string, error) { method getStatefulSet (line 100) | func (s *StatefulSet) getStatefulSet(fqn string) (*appsv1.StatefulSet,... method ScanSA (line 116) | func (s *StatefulSet) ScanSA(_ context.Context, fqn string, wait bool)... method Scan (line 142) | func (s *StatefulSet) Scan(_ context.Context, gvr *client.GVR, fqn str... method GetPodSpec (line 213) | func (s *StatefulSet) GetPodSpec(path string) (*v1.PodSpec, error) { method SetImages (line 223) | func (s *StatefulSet) SetImages(ctx context.Context, path string, imag... FILE: internal/dao/svc.go type Service (line 25) | type Service struct method TailLogs (line 30) | func (s *Service) TailLogs(ctx context.Context, opts *LogOptions) ([]L... method Pod (line 43) | func (s *Service) Pod(fqn string) (string, error) { method GetInstance (line 53) | func (s *Service) GetInstance(fqn string) (*v1.Service, error) { function podFromSelector (line 71) | func podFromSelector(f Factory, ns string, sel map[string]string) (strin... FILE: internal/dao/table.go constant gvFmt (line 22) | gvFmt = "application/json;as=Table;v=%s;g=%s, application/json" constant includeMeta (line 23) | includeMeta = "Metadata" constant includeObj (line 24) | includeObj = "Object" constant includeNone (line 25) | includeNone = "None" constant header (line 26) | header = "application/json;as=Table;v=v1;g=meta.k8s.io,application/... type Table (line 32) | type Table struct method Get (line 37) | func (t *Table) Get(ctx context.Context, path string) (runtime.Object,... method List (line 59) | func (t *Table) List(ctx context.Context, ns string) ([]runtime.Object... method getClient (line 143) | func (t *Table) getClient(f serializer.CodecFactory) (*rest.RESTClient... method codec (line 163) | func (t *Table) codec() (serializer.CodecFactory, runtime.ParameterCod... function decodeTable (line 105) | func decodeTable(ctx context.Context, table *metav1.Table, namespaced bo... FILE: internal/dao/types.go type Factory (line 22) | type Factory interface type ImageLister (line 49) | type ImageLister interface type Getter (line 55) | type Getter interface type Lister (line 61) | type Lister interface type Accessor (line 67) | type Accessor interface type DrainOptions (line 82) | type DrainOptions struct type NodeMaintainer (line 92) | type NodeMaintainer interface type Loggable (line 101) | type Loggable interface type Describer (line 107) | type Describer interface type Scalable (line 116) | type Scalable interface type ReplicasGetter (line 122) | type ReplicasGetter interface type Controller (line 128) | type Controller interface type Nuker (line 134) | type Nuker interface type Switchable (line 140) | type Switchable interface type Restartable (line 146) | type Restartable interface type Runnable (line 152) | type Runnable interface type Logger (line 158) | type Logger interface type ContainsPodSpec (line 164) | type ContainsPodSpec interface type Sanitizer (line 173) | type Sanitizer interface type Valuer (line 179) | type Valuer interface FILE: internal/dao/utils_test.go type testFactory (line 22) | type testFactory struct method Client (line 40) | func (*testFactory) Client() client.Connection { method Get (line 43) | func (f *testFactory) Get(gvr *client.GVR, fqn string, _ bool, _ label... method List (line 55) | func (f *testFactory) List(gvr *client.GVR, ns string, _ bool, _ label... method ForResource (line 59) | func (*testFactory) ForResource(string, *client.GVR) (informers.Generi... method CanForResource (line 62) | func (*testFactory) CanForResource(string, *client.GVR, []string) (inf... method WaitForCacheSync (line 65) | func (*testFactory) WaitForCacheSync() {} method Forwarders (line 66) | func (*testFactory) Forwarders() watch.Forwarders { method DeleteForwarder (line 69) | func (*testFactory) DeleteForwarder(string) {} function makeFactory (line 26) | func makeFactory() dao.Factory { function load (line 71) | func load(n string) *unstructured.Unstructured { FILE: internal/dao/workload.go constant StatusOK (line 25) | StatusOK = "OK" constant DegradedStatus (line 26) | DegradedStatus = "DEGRADED" type Workload (line 39) | type Workload struct method Delete (line 43) | func (w *Workload) Delete(ctx context.Context, path string, propagatio... method fetch (line 78) | func (a *Workload) fetch(ctx context.Context, gvr *client.GVR, ns stri... method List (line 96) | func (a *Workload) List(ctx context.Context, ns string) ([]runtime.Obj... function readiness (line 136) | func readiness(gvr *client.GVR, r *metav1.TableRow, h []metav1.TableColu... function status (line 151) | func status(gvr *client.GVR, r *metav1.TableRow, h []metav1.TableColumnD... function validity (line 187) | func validity(status string) string { function isReady (line 195) | func isReady(s string) bool { function indexOf (line 223) | func indexOf(n string, defs []metav1.TableColumnDefinition) int { FILE: internal/health/check.go type Check (line 13) | type Check struct method Set (line 31) | func (c *Check) Set(l Level, v int64) { method Inc (line 36) | func (c *Check) Inc(l Level) { method Total (line 41) | func (c *Check) Total(n int64) { method Tally (line 46) | func (c *Check) Tally(l Level) int64 { method GetObjectKind (line 51) | func (Check) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 56) | func (c Check) DeepCopyObject() runtime.Object { type Checks (line 20) | type Checks function NewCheck (line 23) | func NewCheck(gvr *client.GVR) *Check { FILE: internal/health/check_test.go function TestCheck (line 14) | func TestCheck(t *testing.T) { FILE: internal/health/types.go type Level (line 7) | type Level constant Unknown (line 11) | Unknown Level = 1 << iota constant Corpus (line 14) | Corpus constant S1 (line 17) | S1 constant S2 (line 20) | S2 constant S3 (line 23) | S3 type Message (line 27) | type Message struct type Messages (line 35) | type Messages type Counts (line 38) | type Counts type Vital (line 41) | type Vital struct type Vitals (line 47) | type Vitals FILE: internal/helpers.go function IsInverseSelector (line 21) | func IsInverseSelector(s string) bool { function IsLabelSelector (line 29) | func IsLabelSelector(s string) bool { function IsFuzzySelector (line 38) | func IsFuzzySelector(s string) (string, bool) { FILE: internal/helpers_test.go function TestIsLabelSelector (line 13) | func TestIsLabelSelector(t *testing.T) { FILE: internal/keys.go type ContextKey (line 7) | type ContextKey constant KeyFactory (line 11) | KeyFactory ContextKey = "factory" constant KeyLabels (line 12) | KeyLabels ContextKey = "labels" constant KeyFields (line 13) | KeyFields ContextKey = "fields" constant KeyTable (line 14) | KeyTable ContextKey = "table" constant KeyDir (line 15) | KeyDir ContextKey = "dir" constant KeyPath (line 16) | KeyPath ContextKey = "path" constant KeySubject (line 17) | KeySubject ContextKey = "subject" constant KeyGVR (line 18) | KeyGVR ContextKey = "gvr" constant KeyFQN (line 19) | KeyFQN ContextKey = "fqn" constant KeyForwards (line 20) | KeyForwards ContextKey = "forwards" constant KeyContainers (line 21) | KeyContainers ContextKey = "containers" constant KeyBenchCfg (line 22) | KeyBenchCfg ContextKey = "benchcfg" constant KeyAliases (line 23) | KeyAliases ContextKey = "aliases" constant KeyUID (line 24) | KeyUID ContextKey = "uid" constant KeySubjectKind (line 25) | KeySubjectKind ContextKey = "subjectKind" constant KeySubjectName (line 26) | KeySubjectName ContextKey = "subjectName" constant KeyNamespace (line 27) | KeyNamespace ContextKey = "namespace" constant KeyCluster (line 28) | KeyCluster ContextKey = "cluster" constant KeyApp (line 29) | KeyApp ContextKey = "app" constant KeyStyles (line 30) | KeyStyles ContextKey = "styles" constant KeyMetrics (line 31) | KeyMetrics ContextKey = "metrics" constant KeyHasMetrics (line 32) | KeyHasMetrics ContextKey = "has-metrics" constant KeyToast (line 33) | KeyToast ContextKey = "toast" constant KeyWithMetrics (line 34) | KeyWithMetrics ContextKey = "withMetrics" constant KeyViewConfig (line 35) | KeyViewConfig ContextKey = "viewConfig" constant KeyWait (line 36) | KeyWait ContextKey = "wait" constant KeyPodCounting (line 37) | KeyPodCounting ContextKey = "podCounting" constant KeyEnableImgScan (line 38) | KeyEnableImgScan ContextKey = "vulScan" FILE: internal/model/cluster.go constant clusterCacheSize (line 19) | clusterCacheSize = 100 constant clusterCacheExpiry (line 20) | clusterCacheExpiry = 1 * time.Minute constant clusterNodesKey (line 21) | clusterNodesKey = "nodes" type MetricsServer (line 26) | type MetricsServer interface type MetricsService (line 35) | type MetricsService interface type Cluster (line 42) | type Cluster struct method Version (line 59) | func (c *Cluster) Version() string { method ContextName (line 69) | func (c *Cluster) ContextName() string { method ClusterName (line 78) | func (c *Cluster) ClusterName() string { method UserName (line 87) | func (c *Cluster) UserName() string { method Metrics (line 96) | func (c *Cluster) Metrics(ctx context.Context, mx *client.ClusterMetri... function NewCluster (line 50) | func NewCluster(f dao.Factory) *Cluster { FILE: internal/model/cluster_info.go constant k9sGitURL (line 24) | k9sGitURL = "https://api.github.com/repos/derailed/k9s/releases/la... constant cacheSize (line 25) | cacheSize = 10 constant cacheExpiry (line 26) | cacheExpiry = 1 * time.Hour constant k9sLatestRevKey (line 27) | k9sLatestRevKey = "k9sRev" type ClusterInfoListener (line 31) | type ClusterInfoListener interface type ClusterMeta (line 40) | type ClusterMeta struct method Deltas (line 63) | func (c *ClusterMeta) Deltas(n *ClusterMeta) bool { function NewClusterMeta (line 49) | func NewClusterMeta() *ClusterMeta { type ClusterInfo (line 77) | type ClusterInfo struct method fetchK9sLatestRev (line 102) | func (c *ClusterInfo) fetchK9sLatestRev() string { method Reset (line 119) | func (c *ClusterInfo) Reset(f dao.Factory) { method Refresh (line 132) | func (c *ClusterInfo) Refresh() { method AddListener (line 171) | func (c *ClusterInfo) AddListener(l ClusterInfoListener) { method RemoveListener (line 176) | func (c *ClusterInfo) RemoveListener(l ClusterInfoListener) { method fireMetaChanged (line 190) | func (c *ClusterInfo) fireMetaChanged(prev, cur *ClusterMeta) { method fireNoMetaChanged (line 196) | func (c *ClusterInfo) fireNoMetaChanged(data *ClusterMeta) { function NewClusterInfo (line 89) | func NewClusterInfo(f dao.Factory, v string, cfg *config.K9s) *ClusterIn... function fetchLatestRev (line 204) | func fetchLatestRev() (string, error) { FILE: internal/model/cluster_info_test.go function init (line 14) | func init() { function TestClusterMetaDelta (line 18) | func TestClusterMetaDelta(t *testing.T) { function makeClusterMeta (line 48) | func makeClusterMeta(cluster string) *model.ClusterMeta { FILE: internal/model/cmd_buff.go constant maxBuff (line 13) | maxBuff = 10 constant keyEntryDelay (line 15) | keyEntryDelay = 100 * time.Millisecond constant CommandBuffer (line 18) | CommandBuffer BufferKind = 1 << iota constant FilterBuffer (line 20) | FilterBuffer type BufferKind (line 25) | type BufferKind type BuffWatcher (line 28) | type BuffWatcher interface type CmdBuff (line 41) | type CmdBuff struct method InCmdMode (line 63) | func (c *CmdBuff) InCmdMode() bool { method IsActive (line 75) | func (c *CmdBuff) IsActive() bool { method SetActive (line 83) | func (c *CmdBuff) SetActive(b bool) { method GetText (line 92) | func (c *CmdBuff) GetText() string { method GetKind (line 100) | func (c *CmdBuff) GetKind() BufferKind { method GetSuggestion (line 108) | func (c *CmdBuff) GetSuggestion() string { method hasCancel (line 115) | func (c *CmdBuff) hasCancel() bool { method setCancel (line 122) | func (c *CmdBuff) setCancel(f context.CancelFunc) { method resetCancel (line 128) | func (c *CmdBuff) resetCancel() { method SetText (line 135) | func (c *CmdBuff) SetText(text, suggestion string, wipe bool) { method Add (line 147) | func (c *CmdBuff) Add(r rune) { method Delete (line 166) | func (c *CmdBuff) Delete() { method ClearText (line 187) | func (c *CmdBuff) ClearText(fire bool) { method Reset (line 198) | func (c *CmdBuff) Reset() { method Empty (line 205) | func (c *CmdBuff) Empty() bool { method AddListener (line 216) | func (c *CmdBuff) AddListener(w BuffWatcher) { method RemoveListener (line 223) | func (c *CmdBuff) RemoveListener(l BuffWatcher) { method fireBufferCompleted (line 229) | func (c *CmdBuff) fireBufferCompleted(t, s string) { method fireBufferChanged (line 235) | func (c *CmdBuff) fireBufferChanged(t, s string) { method fireActive (line 241) | func (c *CmdBuff) fireActive(b bool) { function NewCmdBuff (line 53) | func NewCmdBuff(key rune, kind BufferKind) *CmdBuff { FILE: internal/model/cmd_buff_test.go type testListener (line 13) | type testListener struct method BufferChanged (line 19) | func (l *testListener) BufferChanged(t, s string) { method BufferCompleted (line 23) | func (l *testListener) BufferCompleted(t, s string) { method BufferActive (line 27) | func (l *testListener) BufferActive(s bool, _ model.BufferKind) { function TestCmdBuffActivate (line 35) | func TestCmdBuffActivate(t *testing.T) { function TestCmdBuffDeactivate (line 45) | func TestCmdBuffDeactivate(t *testing.T) { function TestCmdBuffChanged (line 55) | func TestCmdBuffChanged(t *testing.T) { function TestCmdBuffAdd (line 87) | func TestCmdBuffAdd(t *testing.T) { function TestCmdBuffDel (line 108) | func TestCmdBuffDel(t *testing.T) { function TestCmdBuffEmpty (line 130) | func TestCmdBuffEmpty(t *testing.T) { FILE: internal/model/describe.go type Describe (line 24) | type Describe struct method GVR (line 45) | func (d *Describe) GVR() *client.GVR { method GetPath (line 50) | func (d *Describe) GetPath() string { method SetOptions (line 55) | func (*Describe) SetOptions(context.Context, ViewerToggleOpts) {} method Filter (line 58) | func (d *Describe) Filter(q string) { method filterChanged (line 63) | func (d *Describe) filterChanged(lines []string) { method filter (line 67) | func (d *Describe) filter(q string, lines []string) fuzzy.Matches { method fuzzyFilter (line 77) | func (*Describe) fuzzyFilter(q string, lines []string) fuzzy.Matches { method fireResourceChanged (line 81) | func (d *Describe) fireResourceChanged(lines []string, matches fuzzy.M... method fireResourceFailed (line 87) | func (d *Describe) fireResourceFailed(err error) { method ClearFilter (line 94) | func (*Describe) ClearFilter() { method Peek (line 98) | func (d *Describe) Peek() []string { method Refresh (line 103) | func (d *Describe) Refresh(ctx context.Context) error { method Watch (line 108) | func (d *Describe) Watch(ctx context.Context) error { method updater (line 116) | func (d *Describe) updater(ctx context.Context) { method refresh (line 140) | func (d *Describe) refresh(ctx context.Context) error { method reconcile (line 159) | func (d *Describe) reconcile(ctx context.Context) error { method describe (line 175) | func (d *Describe) describe(ctx context.Context, gvr *client.GVR, path... method AddListener (line 192) | func (d *Describe) AddListener(l ResourceViewerListener) { method RemoveListener (line 197) | func (d *Describe) RemoveListener(l ResourceViewerListener) { method Toggle (line 212) | func (d *Describe) Toggle() { function NewDescribe (line 36) | func NewDescribe(gvr *client.GVR, path string) *Describe { FILE: internal/model/fish_buff.go type SuggestionListener (line 9) | type SuggestionListener interface type SuggestionFunc (line 17) | type SuggestionFunc type FishBuff (line 20) | type FishBuff struct method PrevSuggestion (line 37) | func (f *FishBuff) PrevSuggestion() (string, bool) { method NextSuggestion (line 55) | func (f *FishBuff) NextSuggestion() (string, bool) { method ClearSuggestions (line 73) | func (f *FishBuff) ClearSuggestions() { method CurrentSuggestion (line 81) | func (f *FishBuff) CurrentSuggestion() (string, bool) { method AutoSuggests (line 90) | func (*FishBuff) AutoSuggests() bool { method Suggestions (line 95) | func (f *FishBuff) Suggestions() []string { method SetSuggestionFn (line 103) | func (f *FishBuff) SetSuggestionFn(fn SuggestionFunc) { method Notify (line 108) | func (f *FishBuff) Notify(_ bool) { method Add (line 116) | func (f *FishBuff) Add(r rune) { method Delete (line 122) | func (f *FishBuff) Delete() { method fireSuggestionChanged (line 127) | func (f *FishBuff) fireSuggestionChanged(ss []string) { function NewFishBuff (line 29) | func NewFishBuff(key rune, kind BufferKind) *FishBuff { FILE: internal/model/fish_buff_test.go function TestFishAdd (line 14) | func TestFishAdd(t *testing.T) { function TestFishDelete (line 43) | func TestFishDelete(t *testing.T) { type mockSuggestionListener (line 75) | type mockSuggestionListener struct method BufferChanged (line 81) | func (m *mockSuggestionListener) BufferChanged(_, _ string) { method BufferCompleted (line 85) | func (m *mockSuggestionListener) BufferCompleted(text, suggest string) { method BufferActive (line 92) | func (m *mockSuggestionListener) BufferActive(state bool, _ model.Buff... method SuggestionChanged (line 96) | func (m *mockSuggestionListener) SuggestionChanged(_, sugg string) { FILE: internal/model/flash.go constant DefaultFlashDelay (line 17) | DefaultFlashDelay = 6 * time.Second constant FlashInfo (line 20) | FlashInfo FlashLevel = iota constant FlashWarn (line 22) | FlashWarn constant FlashErr (line 24) | FlashErr type LevelMessage (line 28) | type LevelMessage struct method IsClear (line 38) | func (l LevelMessage) IsClear() bool { function newClearMessage (line 33) | func newClearMessage() LevelMessage { type FlashLevel (line 43) | type FlashLevel type FlashChan (line 46) | type FlashChan type FlashListener (line 49) | type FlashListener interface type Flash (line 58) | type Flash struct method Channel (line 74) | func (f *Flash) Channel() FlashChan { method Info (line 79) | func (f *Flash) Info(msg string) { method Infof (line 84) | func (f *Flash) Infof(fmat string, args ...any) { method Warn (line 89) | func (f *Flash) Warn(msg string) { method Warnf (line 95) | func (f *Flash) Warnf(fmat string, args ...any) { method Err (line 100) | func (f *Flash) Err(err error) { method Errf (line 106) | func (f *Flash) Errf(fmat string, args ...any) { method Clear (line 121) | func (f *Flash) Clear() { method SetMessage (line 126) | func (f *Flash) SetMessage(level FlashLevel, msg string) { method refresh (line 140) | func (f *Flash) refresh(ctx context.Context) { method setLevelMessage (line 152) | func (f *Flash) setLevelMessage(msg LevelMessage) { method fireFlashChanged (line 156) | func (f *Flash) fireFlashChanged() { method fireCleared (line 160) | func (f *Flash) fireCleared() { function NewFlash (line 66) | func NewFlash(dur time.Duration) *Flash { FILE: internal/model/flash_test.go function TestFlash (line 16) | func TestFlash(t *testing.T) { function TestFlashBurst (line 54) | func TestFlashBurst(t *testing.T) { type flash (line 73) | type flash struct method getMetrics (line 83) | func (f *flash) getMetrics() (val int, lvl model.FlashLevel, msg strin... method listen (line 87) | func (f *flash) listen(c model.FlashChan) { function newFlash (line 79) | func newFlash() *flash { FILE: internal/model/helpers.go function getMeta (line 21) | func getMeta(ctx context.Context, gvr *client.GVR) (ResourceMeta, error) { function resourceMeta (line 32) | func resourceMeta(gvr *client.GVR) ResourceMeta { function MetaFQN (line 48) | func MetaFQN(m *metav1.ObjectMeta) string { function FQN (line 53) | func FQN(ns, n string) string { function NewExpBackOff (line 61) | func NewExpBackOff(ctx context.Context, start, maxVal time.Duration) bac... function rxFilter (line 67) | func rxFilter(q string, lines []string) fuzzy.Matches { FILE: internal/model/helpers_int_test.go function Test_rxFilter (line 13) | func Test_rxFilter(t *testing.T) { FILE: internal/model/helpers_test.go function TestMetaFQN (line 14) | func TestMetaFQN(t *testing.T) { FILE: internal/model/hint.go type HintListener (line 7) | type HintListener interface type Hint (line 12) | type Hint struct method RemoveListener (line 23) | func (h *Hint) RemoveListener(l HintListener) { method AddListener (line 38) | func (h *Hint) AddListener(l HintListener) { method SetHints (line 43) | func (h *Hint) SetHints(hh MenuHints) { method Peek (line 49) | func (h *Hint) Peek() MenuHints { method fireChanged (line 53) | func (h *Hint) fireChanged() { function NewHint (line 18) | func NewHint() *Hint { FILE: internal/model/hint_test.go function TestHint (line 13) | func TestHint(t *testing.T) { function TestHintRemoveListener (line 45) | func TestHintRemoveListener(t *testing.T) { type hintL (line 67) | type hintL struct method HintsChanged (line 71) | func (h *hintL) HintsChanged(hh model.MenuHints) { FILE: internal/model/history.go constant MaxHistory (line 15) | MaxHistory = 20 type History (line 18) | type History struct method List (line 33) | func (h *History) List() []string { method Top (line 38) | func (h *History) Top() (string, bool) { method SwitchNS (line 44) | func (h *History) SwitchNS(ns string) { method Last (line 60) | func (h *History) Last(idx int) (string, bool) { method at (line 66) | func (h *History) at(idx int) (string, bool) { method Back (line 75) | func (h *History) Back() (string, bool) { method Forward (line 85) | func (h *History) Forward() (string, bool) { method Pop (line 96) | func (h *History) Pop() bool { method popN (line 103) | func (h *History) popN(n int) bool { method Push (line 115) | func (h *History) Push(c string) { method Clear (line 131) | func (h *History) Clear() { method Empty (line 137) | func (h *History) Empty() bool { function NewHistory (line 25) | func NewHistory(limit int) *History { FILE: internal/model/history_test.go function TestHistoryClear (line 14) | func TestHistoryClear(t *testing.T) { function TestHistoryPush (line 25) | func TestHistoryPush(t *testing.T) { function TestHistoryTop (line 36) | func TestHistoryTop(t *testing.T) { function TestHistoryBack (line 88) | func TestHistoryBack(t *testing.T) { function TestHistoryForward (line 138) | func TestHistoryForward(t *testing.T) { FILE: internal/model/log.go type LogsListener (line 22) | type LogsListener interface type Log (line 43) | type Log struct method GVR (line 66) | func (l *Log) GVR() *client.GVR { method LogOptions (line 70) | func (l *Log) LogOptions() *dao.LogOptions { method SinceSeconds (line 75) | func (l *Log) SinceSeconds() int64 { method IsHead (line 83) | func (l *Log) IsHead() bool { method ToggleShowTimestamp (line 91) | func (l *Log) ToggleShowTimestamp(b bool) { method Head (line 96) | func (l *Log) Head(ctx context.Context) { method SetSinceSeconds (line 104) | func (l *Log) SetSinceSeconds(ctx context.Context, i int64) { method Configure (line 110) | func (l *Log) Configure(opts config.Logger) { method GetPath (line 116) | func (l *Log) GetPath() string { method GetContainer (line 121) | func (l *Log) GetContainer() string { method HasDefaultContainer (line 126) | func (l *Log) HasDefaultContainer() bool { method Init (line 131) | func (l *Log) Init(f dao.Factory) { method Clear (line 136) | func (l *Log) Clear() { method Refresh (line 146) | func (l *Log) Refresh() { method Restart (line 154) | func (l *Log) Restart(ctx context.Context) { method Start (line 162) | func (l *Log) Start(ctx context.Context) { method Stop (line 170) | func (l *Log) Stop() { method Set (line 175) | func (l *Log) Set(lines *dao.LogItems) { method ClearFilter (line 187) | func (l *Log) ClearFilter() { method Filter (line 199) | func (l *Log) Filter(q string) { method cancel (line 208) | func (l *Log) cancel() { method load (line 217) | func (l *Log) load(ctx context.Context) error { method Append (line 245) | func (l *Log) Append(line *dao.LogItem) { method Notify (line 264) | func (l *Log) Notify() { method ToggleAllContainers (line 275) | func (l *Log) ToggleAllContainers(ctx context.Context) { method updateLogs (line 280) | func (l *Log) updateLogs(ctx context.Context, c dao.LogChan) { method AddListener (line 310) | func (l *Log) AddListener(listener LogsListener) { method RemoveListener (line 318) | func (l *Log) RemoveListener(listener LogsListener) { method applyFilter (line 335) | func (l *Log) applyFilter(index int, q string) ([][]byte, error) { method fireLogBuffChanged (line 364) | func (l *Log) fireLogBuffChanged(index int) { method fireLogResume (line 382) | func (l *Log) fireLogResume() { method fireCanceled (line 388) | func (l *Log) fireCanceled() { method fireLogError (line 394) | func (l *Log) fireLogError(err error) { method fireLogChanged (line 400) | func (l *Log) fireLogChanged(lines [][]byte) { method fireLogCleared (line 406) | func (l *Log) fireLogCleared() { function NewLog (line 57) | func NewLog(gvr *client.GVR, opts *dao.LogOptions, flushTimeout time.Dur... FILE: internal/model/log_int_test.go function TestUpdateLogs (line 17) | func TestUpdateLogs(t *testing.T) { function BenchmarkUpdateLogs (line 37) | func BenchmarkUpdateLogs(b *testing.B) { function makeLogOpts (line 61) | func makeLogOpts(count int) *dao.LogOptions { type mockLogView (line 69) | type mockLogView struct method LogChanged (line 77) | func (t *mockLogView) LogChanged(ll [][]byte) { method LogStop (line 80) | func (*mockLogView) LogStop() {} method LogCanceled (line 81) | func (*mockLogView) LogCanceled() {} method LogResume (line 82) | func (*mockLogView) LogResume() {} method LogCleared (line 83) | func (*mockLogView) LogCleared() {} method LogFailed (line 84) | func (*mockLogView) LogFailed(error) {} function newMockLogView (line 73) | func newMockLogView() *mockLogView { FILE: internal/model/log_test.go function init (line 24) | func init() { function TestLogFullBuffer (line 28) | func TestLogFullBuffer(t *testing.T) { function TestLogFilter (line 48) | func TestLogFilter(t *testing.T) { function TestLogStartStop (line 103) | func TestLogStartStop(t *testing.T) { function TestLogClear (line 127) | func TestLogClear(t *testing.T) { function TestLogBasic (line 150) | func TestLogBasic(t *testing.T) { function TestLogAppend (line 169) | func TestLogAppend(t *testing.T) { function TestLogTimedout (line 201) | func TestLogTimedout(t *testing.T) { function TestToggleAllContainers (line 227) | func TestToggleAllContainers(t *testing.T) { function makeLogOpts (line 245) | func makeLogOpts(count int) *dao.LogOptions { type testView (line 255) | type testView struct method LogCanceled (line 266) | func (*testView) LogCanceled() {} method LogStop (line 267) | func (*testView) LogStop() {} method LogResume (line 268) | func (*testView) LogResume() {} method LogChanged (line 270) | func (t *testView) LogChanged(ll [][]byte) { method LogCleared (line 275) | func (t *testView) LogCleared() { method LogFailed (line 280) | func (t *testView) LogFailed(error) { function newTestView (line 262) | func newTestView() *testView { type testFactory (line 286) | type testFactory struct method Client (line 290) | func (testFactory) Client() client.Connection { method Get (line 293) | func (testFactory) Get(*client.GVR, string, bool, labels.Selector) (ru... method List (line 296) | func (testFactory) List(*client.GVR, string, bool, labels.Selector) ([... method ForResource (line 299) | func (testFactory) ForResource(string, *client.GVR) (informers.Generic... method CanForResource (line 302) | func (testFactory) CanForResource(string, *client.GVR, []string) (info... method WaitForCacheSync (line 305) | func (testFactory) WaitForCacheSync() {} method Forwarders (line 306) | func (testFactory) Forwarders() watch.Forwarders { method DeleteForwarder (line 309) | func (testFactory) DeleteForwarder(string) {} function makeFactory (line 311) | func makeFactory() dao.Factory { FILE: internal/model/menu_hint.go type MenuHint (line 11) | type MenuHint struct method IsBlank (line 18) | func (m MenuHint) IsBlank() bool { method String (line 23) | func (m MenuHint) String() string { type MenuHints (line 28) | type MenuHints method Len (line 31) | func (h MenuHints) Len() int { method Swap (line 36) | func (h MenuHints) Swap(i, j int) { method Less (line 41) | func (h MenuHints) Less(i, j int) bool { FILE: internal/model/menu_hint_test.go function TestMenuHintsSort (line 14) | func TestMenuHintsSort(t *testing.T) { function TestMenuHintBlank (line 59) | func TestMenuHintBlank(t *testing.T) { FILE: internal/model/pulse.go type PulseListener (line 14) | type PulseListener interface type Pulse (line 26) | type Pulse struct method Watch (line 43) | func (p *Pulse) Watch(ctx context.Context) (HealthChan, dao.MetricsCha... method Refresh (line 59) | func (*Pulse) Refresh(context.Context) {} method GetNamespace (line 62) | func (p *Pulse) GetNamespace() string { method SetNamespace (line 67) | func (p *Pulse) SetNamespace(ns string) { method AddListener (line 75) | func (p *Pulse) AddListener(l PulseListener) { method RemoveListener (line 80) | func (p *Pulse) RemoveListener(l PulseListener) { function NewPulse (line 34) | func NewPulse(gvr *client.GVR) *Pulse { type HealthChan (line 40) | type HealthChan FILE: internal/model/pulse_health.go constant pulseRate (line 17) | pulseRate = 10 * time.Second type HealthPoint (line 19) | type HealthPoint struct type GVRs (line 24) | type GVRs method First (line 48) | func (g GVRs) First() *client.GVR { method Last (line 52) | func (g GVRs) Last() *client.GVR { method Index (line 56) | func (g GVRs) Index(gvr *client.GVR) int { type PulseHealth (line 67) | type PulseHealth struct method Watch (line 76) | func (h *PulseHealth) Watch(ctx context.Context, ns string) HealthChan { method checkPulse (line 100) | func (h *PulseHealth) checkPulse(ctx context.Context, ns string, c Hea... method check (line 112) | func (h *PulseHealth) check(ctx context.Context, ns string, gvr *clien... function NewPulseHealth (line 72) | func NewPulseHealth(f dao.Factory) *PulseHealth { function isTable (line 150) | func isTable(oo []runtime.Object) bool { FILE: internal/model/rev_values.go type RevValues (line 23) | type RevValues struct method GVR (line 59) | func (v *RevValues) GVR() *client.GVR { method GetPath (line 64) | func (v *RevValues) GetPath() string { method SetOptions (line 69) | func (v *RevValues) SetOptions(ctx context.Context, opts ViewerToggleO... method Filter (line 77) | func (v *RevValues) Filter(q string) { method filterChanged (line 82) | func (v *RevValues) filterChanged(lines []string) { method filter (line 86) | func (v *RevValues) filter(q string, lines []string) fuzzy.Matches { method fuzzyFilter (line 96) | func (*RevValues) fuzzyFilter(q string, lines []string) fuzzy.Matches { method fireResourceChanged (line 100) | func (v *RevValues) fireResourceChanged(lines []string, matches fuzzy.... method fireResourceFailed (line 106) | func (v *RevValues) fireResourceFailed(err error) { method ClearFilter (line 113) | func (v *RevValues) ClearFilter() { method Peek (line 118) | func (v *RevValues) Peek() []string { method Refresh (line 123) | func (v *RevValues) Refresh(ctx context.Context) error { method Watch (line 128) | func (v *RevValues) Watch(ctx context.Context) error { method updater (line 137) | func (v *RevValues) updater(ctx context.Context) { method refresh (line 161) | func (v *RevValues) refresh(context.Context) error { method reconcile (line 173) | func (v *RevValues) reconcile() { method AddListener (line 178) | func (v *RevValues) AddListener(l ResourceViewerListener) { method RemoveListener (line 183) | func (v *RevValues) RemoveListener(l ResourceViewerListener) { function NewRevValues (line 36) | func NewRevValues(gvr *client.GVR, path, rev string) *RevValues { function getHelmHistDao (line 46) | func getHelmHistDao() *dao.HelmHistory { function getRevValues (line 50) | func getRevValues(path, _ string) []string { FILE: internal/model/semver.go type SemVer (line 15) | type SemVer struct method String (line 28) | func (v *SemVer) String() string { method parse (line 32) | func (*SemVer) parse(version string) (major, minor, patch int) { method IsCurrent (line 56) | func (v *SemVer) IsCurrent(latest *SemVer) bool { function NewSemVer (line 20) | func NewSemVer(version string) *SemVer { function NormalizeVersion (line 45) | func NormalizeVersion(version string) string { FILE: internal/model/semver_test.go function TestNewSemVer (line 13) | func TestNewSemVer(t *testing.T) { function TestSemVerIsCurrent (line 43) | func TestSemVerIsCurrent(t *testing.T) { FILE: internal/model/stack.go constant StackPush (line 16) | StackPush StackAction = 1 << iota constant StackPop (line 19) | StackPop type StackAction (line 23) | type StackAction type StackEvent (line 26) | type StackEvent struct type StackListener (line 35) | type StackListener interface type Stack (line 47) | type Stack struct method Flatten (line 59) | func (s *Stack) Flatten() []string { method RemoveListener (line 71) | func (s *Stack) RemoveListener(l StackListener) { method AddListener (line 86) | func (s *Stack) AddListener(l StackListener) { method Push (line 94) | func (s *Stack) Push(c Component) { method Pop (line 106) | func (s *Stack) Pop() (Component, bool) { method Peek (line 124) | func (s *Stack) Peek() []Component { method Clear (line 132) | func (s *Stack) Clear() { method Empty (line 139) | func (s *Stack) Empty() bool { method IsLast (line 147) | func (s *Stack) IsLast() bool { method Previous (line 152) | func (s *Stack) Previous() Component { method Top (line 164) | func (s *Stack) Top() Component { method notify (line 174) | func (s *Stack) notify(a StackAction, c Component) { method Dump (line 189) | func (s *Stack) Dump() { function NewStack (line 54) | func NewStack() *Stack { FILE: internal/model/stack_test.go function init (line 19) | func init() { function TestStackClear (line 23) | func TestStackClear(t *testing.T) { function TestStackPrevious (line 49) | func TestStackPrevious(t *testing.T) { function TestStackIsLast (line 88) | func TestStackIsLast(t *testing.T) { function TestStackFlatten (line 123) | func TestStackFlatten(t *testing.T) { function TestStackPush (line 151) | func TestStackPush(t *testing.T) { function TestStackTop (line 195) | func TestStackTop(t *testing.T) { function TestStackAddListener (line 227) | func TestStackAddListener(t *testing.T) { function TestStackAddListenerAfter (line 243) | func TestStackAddListenerAfter(t *testing.T) { function TestStackRemoveListener (line 255) | func TestStackRemoveListener(t *testing.T) { type stackL (line 275) | type stackL struct method StackPushed (line 279) | func (s *stackL) StackPushed(model.Component) { method StackPopped (line 283) | func (s *stackL) StackPopped(_, _ model.Component) { method StackTop (line 287) | func (s *stackL) StackTop(model.Component) { s.tops++ } type c (line 289) | type c struct method InCmdMode (line 297) | func (c) InCmdMode() bool {... method Name (line 298) | func (c c) Name() string {... method SetCommand (line 299) | func (c) SetCommand(*cmd.Interpreter) {} method Hints (line 300) | func (c) Hints() model.MenuHints {... method HasFocus (line 301) | func (c) HasFocus() bool {... method ExtraHints (line 302) | func (c) ExtraHints() map[string]string {... method Draw (line 303) | func (c) Draw(tcell.Screen) {} method InputHandler (line 304) | func (c) InputHandler() func(*tcell.EventKey, func(tview.Primitive)) {... method MouseHandler (line 305) | func (c) MouseHandler() func(action tview.MouseAction, event *tcell.Ev... method SetRect (line 308) | func (c) SetRect(int, int, int, int) {} method GetRect (line 309) | func (c) GetRect() (a, b, c, d int) { return 0, 0, 0, 0 } method GetFocusable (line 310) | func (c) GetFocusable() tview.Focusable { return nil } method Focus (line 311) | func (c) Focus(func(tview.Primitive)) {} method Blur (line 312) | func (c) Blur() {} method Start (line 313) | func (c) Start() {} method Stop (line 314) | func (c) Stop() {} method Init (line 315) | func (c) Init(context.Context) error { return nil } method SetFilter (line 316) | func (c) SetFilter(string, bool) {} method SetLabelSelector (line 317) | func (c) SetLabelSelector(labels.Selector, bool) {} function makeC (line 293) | func makeC(n string) c { FILE: internal/model/table.go constant initRefreshRate (line 26) | initRefreshRate = 300 * time.Millisecond type TableListener (line 29) | type TableListener interface type Table (line 41) | type Table struct method SetViewSetting (line 62) | func (t *Table) SetViewSetting(ctx context.Context, vs *config.ViewSet... method SetLabelSelector (line 75) | func (t *Table) SetLabelSelector(sel labels.Selector) { method GetLabelSelector (line 83) | func (t *Table) GetLabelSelector() labels.Selector { method SetInstance (line 91) | func (t *Table) SetInstance(path string) { method AddListener (line 96) | func (t *Table) AddListener(l TableListener) { method RemoveListener (line 104) | func (t *Table) RemoveListener(l TableListener) { method Watch (line 121) | func (t *Table) Watch(ctx context.Context) error { method Refresh (line 131) | func (t *Table) Refresh(ctx context.Context) error { method Get (line 136) | func (t *Table) Get(ctx context.Context, path string) (runtime.Object,... method Delete (line 146) | func (t *Table) Delete(ctx context.Context, path string, propagation *... method GetNamespace (line 161) | func (t *Table) GetNamespace() string { method SetNamespace (line 166) | func (t *Table) SetNamespace(ns string) { method InNamespace (line 171) | func (t *Table) InNamespace(ns string) bool { method SetRefreshRate (line 176) | func (t *Table) SetRefreshRate(d time.Duration) { method ClusterWide (line 181) | func (t *Table) ClusterWide() bool { method Empty (line 186) | func (t *Table) Empty() bool { method RowCount (line 191) | func (t *Table) RowCount() int { method Peek (line 196) | func (t *Table) Peek() *model1.TableData { method updater (line 203) | func (t *Table) updater(ctx context.Context) { method refresh (line 229) | func (t *Table) refresh(ctx context.Context) error { method list (line 249) | func (t *Table) list(ctx context.Context, a dao.Accessor) ([]runtime.O... method reconcile (line 268) | func (t *Table) reconcile(ctx context.Context) error { method fireTableChanged (line 293) | func (t *Table) fireTableChanged(data *model1.TableData) { method fireNoData (line 304) | func (t *Table) fireNoData(data *model1.TableData) { method fireTableLoadFailed (line 315) | func (t *Table) fireTableLoadFailed(err error) { function NewTable (line 54) | func NewTable(gvr *client.GVR) *Table { FILE: internal/model/table_int_test.go function TestTableReconcile (line 27) | func TestTableReconcile(t *testing.T) { function TestTableList (line 44) | func TestTableList(t *testing.T) { function TestTableGet (line 55) | func TestTableGet(t *testing.T) { function TestTableMeta (line 69) | func TestTableMeta(t *testing.T) { function mustLoad (line 100) | func mustLoad(n string) *unstructured.Unstructured { function load (line 112) | func load(t *testing.T, n string) *unstructured.Unstructured { function makeFactory (line 123) | func makeFactory() testFactory { type testFactory (line 127) | type testFactory struct method Client (line 133) | func (testFactory) Client() client.Connection { method Get (line 137) | func (f testFactory) Get(*client.GVR, string, bool, labels.Selector) (... method List (line 144) | func (f testFactory) List(*client.GVR, string, bool, labels.Selector) ... method ForResource (line 151) | func (testFactory) ForResource(string, *client.GVR) (informers.Generic... method CanForResource (line 155) | func (testFactory) CanForResource(string, *client.GVR, []string) (info... method WaitForCacheSync (line 158) | func (testFactory) WaitForCacheSync() {} method Forwarders (line 159) | func (testFactory) Forwarders() watch.Forwarders { method DeleteForwarder (line 162) | func (testFactory) DeleteForwarder(string) {} type accessor (line 166) | type accessor struct method SetIncludeObject (line 172) | func (*accessor) SetIncludeObject(bool) {} method List (line 174) | func (*accessor) List(context.Context, string) ([]runtime.Object, erro... method Get (line 178) | func (*accessor) Get(context.Context, string) (runtime.Object, error) { method Init (line 182) | func (a *accessor) Init(_ dao.Factory, gvr *client.GVR) { method GVR (line 186) | func (a *accessor) GVR() string { FILE: internal/model/table_test.go function TestTableRefresh (line 27) | func TestTableRefresh(t *testing.T) { function TestTableNS (line 47) | func TestTableNS(t *testing.T) { function TestTableAddListener (line 56) | func TestTableAddListener(t *testing.T) { function TestTableRmListener (line 65) | func TestTableRmListener(*testing.T) { type tableListener (line 75) | type tableListener struct method TableNoData (line 79) | func (*tableListener) TableNoData(*model1.TableData) {} method TableDataChanged (line 81) | func (l *tableListener) TableDataChanged(*model1.TableData) { method TableLoadFailed (line 85) | func (l *tableListener) TableLoadFailed(error) { type tableFactory (line 89) | type tableFactory struct method Client (line 95) | func (tableFactory) Client() client.Connection { method Get (line 99) | func (f tableFactory) Get(*client.GVR, string, bool, labels.Selector) ... method List (line 106) | func (f tableFactory) List(*client.GVR, string, bool, labels.Selector)... method ForResource (line 113) | func (tableFactory) ForResource(string, *client.GVR) (informers.Generi... method CanForResource (line 117) | func (tableFactory) CanForResource(string, *client.GVR, []string) (inf... method WaitForCacheSync (line 120) | func (tableFactory) WaitForCacheSync() {} method Forwarders (line 121) | func (tableFactory) Forwarders() watch.Forwarders { method DeleteForwarder (line 124) | func (tableFactory) DeleteForwarder(string) {} function makeTableFactory (line 126) | func makeTableFactory() tableFactory { function mustLoad (line 130) | func mustLoad(n string) *unstructured.Unstructured { FILE: internal/model/text.go type Filterable (line 14) | type Filterable interface type Textable (line 20) | type Textable interface type TextListener (line 28) | type TextListener interface type Text (line 37) | type Text struct method Peek (line 49) | func (t *Text) Peek() []string { method ClearFilter (line 54) | func (t *Text) ClearFilter() { method Filter (line 60) | func (t *Text) Filter(q string) { method SetText (line 66) | func (t *Text) SetText(buff string) { method AddListener (line 72) | func (t *Text) AddListener(listener TextListener) { method RemoveListener (line 77) | func (t *Text) RemoveListener(listener TextListener) { method filterChanged (line 90) | func (t *Text) filterChanged(lines []string) { method fireTextChanged (line 94) | func (t *Text) fireTextChanged(lines []string) { method fireTextFiltered (line 100) | func (t *Text) fireTextFiltered(lines []string, matches fuzzy.Matches) { method filter (line 109) | func (t *Text) filter(q string, lines []string) fuzzy.Matches { method fuzzyFilter (line 119) | func (*Text) fuzzyFilter(q string, lines []string) fuzzy.Matches { function NewText (line 44) | func NewText() *Text { FILE: internal/model/text_test.go function TestNewText (line 14) | func TestNewText(t *testing.T) { function TestTextFilterRXMatch (line 28) | func TestTextFilterRXMatch(t *testing.T) { function TestTextFilterFuzzyMatch (line 44) | func TestTextFilterFuzzyMatch(t *testing.T) { function TestTextFilterNoMatch (line 60) | func TestTextFilterNoMatch(t *testing.T) { type textLis (line 78) | type textLis struct method TextChanged (line 82) | func (l *textLis) TextChanged(ll []string) { method TextFiltered (line 87) | func (l *textLis) TextFiltered(_ []string, mm fuzzy.Matches) { FILE: internal/model/tree.go constant initTreeRefreshRate (line 25) | initTreeRefreshRate = 500 * time.Millisecond type TreeListener (line 28) | type TreeListener interface type Tree (line 37) | type Tree struct method ClearFilter (line 56) | func (t *Tree) ClearFilter() { method SetFilter (line 61) | func (t *Tree) SetFilter(q string) { method AddListener (line 66) | func (t *Tree) AddListener(l TreeListener) { method RemoveListener (line 71) | func (t *Tree) RemoveListener(l TreeListener) { method Watch (line 86) | func (t *Tree) Watch(ctx context.Context) { method Refresh (line 92) | func (t *Tree) Refresh(ctx context.Context) { method GetNamespace (line 97) | func (t *Tree) GetNamespace() string { method SetNamespace (line 102) | func (t *Tree) SetNamespace(ns string) { method SetRefreshRate (line 111) | func (t *Tree) SetRefreshRate(d time.Duration) { method ClusterWide (line 116) | func (t *Tree) ClusterWide() bool { method InNamespace (line 121) | func (t *Tree) InNamespace(ns string) bool { method Empty (line 126) | func (t *Tree) Empty() bool { method Peek (line 131) | func (t *Tree) Peek() *xray.TreeNode { method Describe (line 136) | func (t *Tree) Describe(ctx context.Context, gvr *client.GVR, path str... method ToYAML (line 151) | func (t *Tree) ToYAML(ctx context.Context, gvr *client.GVR, path strin... method updater (line 165) | func (t *Tree) updater(ctx context.Context) { method refresh (line 181) | func (t *Tree) refresh(ctx context.Context) { method list (line 195) | func (t *Tree) list(ctx context.Context, a dao.Accessor) ([]runtime.Ob... method reconcile (line 205) | func (t *Tree) reconcile(ctx context.Context) error { method resourceMeta (line 239) | func (t *Tree) resourceMeta() ResourceMeta { method fireTreeChanged (line 254) | func (t *Tree) fireTreeChanged(root *xray.TreeNode) { method fireTreeLoadFailed (line 260) | func (t *Tree) fireTreeLoadFailed(err error) { method getMeta (line 266) | func (t *Tree) getMeta(ctx context.Context, gvr *client.GVR) (Resource... function NewTree (line 48) | func NewTree(gvr *client.GVR) *Tree { function rxMatch (line 280) | func rxMatch(q, path string) bool { function treeHydrate (line 292) | func treeHydrate(ctx context.Context, ns string, oo []runtime.Object, re... function genericTreeHydrate (line 310) | func genericTreeHydrate(ctx context.Context, ns string, table *metav1.Ta... FILE: internal/model/types.go constant maxReaderRetryInterval (line 21) | maxReaderRetryInterval = 2 * time.Minute constant defaultReaderRefreshRate (line 22) | defaultReaderRefreshRate = 5 * time.Second type ResourceViewerListener (line 26) | type ResourceViewerListener interface type ViewerToggleOpts (line 32) | type ViewerToggleOpts type ResourceViewer (line 35) | type ResourceViewer interface type EncDecResourceViewer (line 51) | type EncDecResourceViewer interface type Igniter (line 57) | type Igniter interface type Hinter (line 69) | type Hinter interface type Primitive (line 78) | type Primitive interface type Commander (line 86) | type Commander interface type Component (line 92) | type Component interface type Viewer (line 102) | type Viewer interface type Filterer (line 108) | type Filterer interface type Cruder (line 117) | type Cruder interface type Lister (line 126) | type Lister interface type Describer (line 134) | type Describer interface type TreeRenderer (line 143) | type TreeRenderer interface type ResourceMeta (line 148) | type ResourceMeta struct FILE: internal/model/values.go type Values (line 23) | type Values struct method Init (line 45) | func (v *Values) Init(f dao.Factory) error { method getValues (line 54) | func (v *Values) getValues() ([]string, error) { method GVR (line 74) | func (v *Values) GVR() *client.GVR { method ToggleValues (line 79) | func (v *Values) ToggleValues() error { method GetPath (line 92) | func (v *Values) GetPath() string { method SetOptions (line 97) | func (v *Values) SetOptions(ctx context.Context, opts ViewerToggleOpts) { method Filter (line 105) | func (v *Values) Filter(q string) { method filterChanged (line 110) | func (v *Values) filterChanged(lines []string) { method filter (line 114) | func (v *Values) filter(q string, lines []string) fuzzy.Matches { method fuzzyFilter (line 124) | func (*Values) fuzzyFilter(q string, lines []string) fuzzy.Matches { method fireResourceChanged (line 128) | func (v *Values) fireResourceChanged(lines []string, matches fuzzy.Mat... method fireResourceFailed (line 134) | func (v *Values) fireResourceFailed(err error) { method ClearFilter (line 141) | func (v *Values) ClearFilter() { method Peek (line 146) | func (v *Values) Peek() []string { method Refresh (line 151) | func (v *Values) Refresh(ctx context.Context) error { method Watch (line 156) | func (v *Values) Watch(ctx context.Context) error { method updater (line 165) | func (v *Values) updater(ctx context.Context) { method refresh (line 189) | func (v *Values) refresh(context.Context) error { method reconcile (line 201) | func (v *Values) reconcile() { method AddListener (line 206) | func (v *Values) AddListener(l ResourceViewerListener) { method RemoveListener (line 211) | func (v *Values) RemoveListener(l ResourceViewerListener) { function NewValues (line 36) | func NewValues(gvr *client.GVR, path string) *Values { FILE: internal/model/yaml.go constant ManagedFieldsOpts (line 24) | ManagedFieldsOpts = "ManagedFields" type YAML (line 27) | type YAML struct method GVR (line 47) | func (y *YAML) GVR() *client.GVR { method GetPath (line 52) | func (y *YAML) GetPath() string { method SetOptions (line 57) | func (y *YAML) SetOptions(ctx context.Context, opts ViewerToggleOpts) { method Filter (line 65) | func (y *YAML) Filter(q string) { method filterChanged (line 70) | func (y *YAML) filterChanged(lines []string) { method filter (line 74) | func (y *YAML) filter(q string, lines []string) fuzzy.Matches { method fuzzyFilter (line 84) | func (*YAML) fuzzyFilter(q string, lines []string) fuzzy.Matches { method fireResourceChanged (line 88) | func (y *YAML) fireResourceChanged(lines []string, matches fuzzy.Match... method fireResourceFailed (line 94) | func (y *YAML) fireResourceFailed(err error) { method ClearFilter (line 101) | func (y *YAML) ClearFilter() { method Peek (line 106) | func (y *YAML) Peek() []string { method Refresh (line 111) | func (y *YAML) Refresh(ctx context.Context) error { method Watch (line 116) | func (y *YAML) Watch(ctx context.Context) error { method updater (line 125) | func (y *YAML) updater(ctx context.Context) { method refresh (line 149) | func (y *YAML) refresh(ctx context.Context) error { method reconcile (line 163) | func (y *YAML) reconcile(ctx context.Context) error { method AddListener (line 179) | func (y *YAML) AddListener(l ResourceViewerListener) { method RemoveListener (line 184) | func (y *YAML) RemoveListener(l ResourceViewerListener) { method ToYAML (line 199) | func (y *YAML) ToYAML(ctx context.Context, gvr *client.GVR, path strin... method Toggle (line 217) | func (y *YAML) Toggle() { function NewYAML (line 39) | func NewYAML(gvr *client.GVR, path string) *YAML { FILE: internal/model1/color.go function DefaultColorer (line 35) | func DefaultColorer(ns string, h Header, re *RowEvent) tcell.Color { FILE: internal/model1/color_test.go function TestDefaultColorer (line 14) | func TestDefaultColorer(t *testing.T) { FILE: internal/model1/delta.go type DeltaRow (line 9) | type DeltaRow method Labelize (line 27) | func (d DeltaRow) Labelize(cols []int, labelCol int) DeltaRow { method Diff (line 44) | func (d DeltaRow) Diff(r DeltaRow, ageCol int) bool { method Customize (line 64) | func (d DeltaRow) Customize(cols []int, out DeltaRow) { method IsBlank (line 79) | func (d DeltaRow) IsBlank() bool { method Clone (line 94) | func (d DeltaRow) Clone() DeltaRow { function NewDeltaRow (line 12) | func NewDeltaRow(o, n Row, h Header) DeltaRow { FILE: internal/model1/delta_test.go function TestDeltaLabelize (line 13) | func TestDeltaLabelize(t *testing.T) { function TestDeltaCustomize (line 45) | func TestDeltaCustomize(t *testing.T) { function TestDeltaNew (line 138) | func TestDeltaNew(t *testing.T) { function TestDeltaBlank (line 199) | func TestDeltaBlank(t *testing.T) { function TestDeltaDiff (line 225) | func TestDeltaDiff(t *testing.T) { FILE: internal/model1/fields.go type Fields (line 9) | type Fields method Customize (line 12) | func (f Fields) Customize(cols []int, out Fields) { method Diff (line 25) | func (f Fields) Diff(ff Fields, ageCol int) bool { method Clone (line 36) | func (f Fields) Clone() Fields { FILE: internal/model1/header.go constant ageCol (line 16) | ageCol = "AGE" type Attrs (line 18) | type Attrs struct method Merge (line 31) | func (a Attrs) Merge(b Attrs) Attrs { type HeaderColumn (line 60) | type HeaderColumn struct method String (line 65) | func (h HeaderColumn) String() string { method Clone (line 70) | func (h HeaderColumn) Clone() HeaderColumn { type Header (line 77) | type Header method Clear (line 79) | func (h Header) Clear() Header { method Clone (line 86) | func (h Header) Clone() Header { method Labelize (line 96) | func (h Header) Labelize(cols []int, labelCol int, rr *RowEvents) Head... method MapIndices (line 110) | func (h Header) MapIndices(cols []string, wide bool) []int { method Customize (line 134) | func (h Header) Customize(cols []string, wide bool) Header { method Diff (line 169) | func (h Header) Diff(header Header) bool { method FilterColIndices (line 177) | func (h Header) FilterColIndices(ns string, wide bool) sets.Set[int] { method ColumnNames (line 195) | func (h Header) ColumnNames(wide bool) []string { method HasAge (line 211) | func (h Header) HasAge() bool { method IsMetricsCol (line 218) | func (h Header) IsMetricsCol(col int) bool { method IsTimeCol (line 227) | func (h Header) IsTimeCol(col int) bool { method IsCapacityCol (line 236) | func (h Header) IsCapacityCol(col int) bool { method IndexOf (line 245) | func (h Header) IndexOf(colName string, includeWide bool) (int, bool) { method Dump (line 258) | func (h Header) Dump() { FILE: internal/model1/header_test.go function TestHeaderMapIndices (line 13) | func TestHeaderMapIndices(t *testing.T) { function TestHeaderIndexOf (line 51) | func TestHeaderIndexOf(t *testing.T) { function TestHeaderCustomize (line 88) | func TestHeaderCustomize(t *testing.T) { function TestHeaderDiff (line 169) | func TestHeaderDiff(t *testing.T) { function TestHeaderHasAge (line 228) | func TestHeaderHasAge(t *testing.T) { function TestHeaderColumns (line 256) | func TestHeaderColumns(t *testing.T) { function TestHeaderClone (line 284) | func TestHeaderClone(t *testing.T) { function makeHeader (line 312) | func makeHeader() model1.Header { FILE: internal/model1/helpers.go constant poolSize (line 20) | poolSize = 10 function Hydrate (line 22) | func Hydrate(ns string, oo []runtime.Object, rr Rows, re Renderer) error { function GenericHydrate (line 43) | func GenericHydrate(ns string, table *metav1.Table, rr Rows, re Renderer... function IsValid (line 70) | func IsValid(_ string, h Header, r Row) bool { function sortLabels (line 82) | func sortLabels(m map[string]string) (keys, vals []string) { function labelize (line 95) | func labelize(labels string) map[string]string { function durationToSeconds (line 108) | func durationToSeconds(duration string) int64 { function runesToNum (line 140) | func runesToNum(rr []rune) int64 { function capacityToNumber (line 152) | func capacityToNumber(capacity string) int64 { function Less (line 161) | func Less(isNumber, isDuration, isCapacity bool, id1, id2, v1, v2 string... function lessDuration (line 180) | func lessDuration(s1, s2 string) bool { function lessCapacity (line 185) | func lessCapacity(s1, s2 string) bool { function lessNumber (line 191) | func lessNumber(s1, s2 string) bool { FILE: internal/model1/helpers_test.go function TestSortLabels (line 13) | func TestSortLabels(t *testing.T) { function TestLabelize (line 37) | func TestLabelize(t *testing.T) { function TestIsValid (line 56) | func TestIsValid(t *testing.T) { function TestDurationToSecond (line 103) | func TestDurationToSecond(t *testing.T) { function TestCapacityToNumber (line 128) | func TestCapacityToNumber(t *testing.T) { function BenchmarkDurationToSecond (line 146) | func BenchmarkDurationToSecond(b *testing.B) { FILE: internal/model1/pool.go type jobFn (line 11) | type jobFn type WorkerPool (line 13) | type WorkerPool struct method Add (line 49) | func (p *WorkerPool) Add(job jobFn) { method Drain (line 64) | func (p *WorkerPool) Drain() []error { function NewWorkerPool (line 24) | func NewWorkerPool(ctx context.Context, size int) *WorkerPool { FILE: internal/model1/pool_test.go function TestWorkerPoolPlain (line 13) | func TestWorkerPoolPlain(t *testing.T) { function TestWorkerPoolWithError (line 34) | func TestWorkerPoolWithError(t *testing.T) { FILE: internal/model1/row.go type Row (line 7) | type Row struct method Labelize (line 18) | func (r Row) Labelize(cols []int, labelCol int, labels []string) Row { method Customize (line 32) | func (r Row) Customize(cols []int) Row { method Diff (line 41) | func (r Row) Diff(ro Row, ageCol int) bool { method Clone (line 49) | func (r Row) Clone() Row { method Len (line 57) | func (r Row) Len() int { function NewRow (line 13) | func NewRow(size int) Row { type RowSorter (line 64) | type RowSorter struct method Len (line 73) | func (s RowSorter) Len() int { method Swap (line 77) | func (s RowSorter) Swap(i, j int) { method Less (line 81) | func (s RowSorter) Less(i, j int) bool { FILE: internal/model1/row_event.go type ReRangeFn (line 12) | type ReRangeFn type ResEvent (line 15) | type ResEvent type RowEvent (line 18) | type RowEvent struct method Clone (line 42) | func (r RowEvent) Clone() RowEvent { method Customize (line 51) | func (r RowEvent) Customize(cols []int) RowEvent { method ExtractHeaderLabels (line 66) | func (r RowEvent) ExtractHeaderLabels(labelCol int) []string { method Labelize (line 72) | func (r RowEvent) Labelize(cols []int, labelCol int, labels []string) ... method Diff (line 81) | func (r RowEvent) Diff(re RowEvent, ageCol int) bool { function NewRowEvent (line 25) | func NewRowEvent(kind ResEvent, row Row) RowEvent { function NewRowEventWithDeltas (line 33) | func NewRowEventWithDeltas(row Row, delta DeltaRow) RowEvent { type reIndex (line 93) | type reIndex type RowEvents (line 96) | type RowEvents struct method reindex (line 117) | func (r *RowEvents) reindex() { method At (line 123) | func (r *RowEvents) At(i int) (RowEvent, bool) { method Set (line 131) | func (r *RowEvents) Set(i int, re RowEvent) { method Add (line 136) | func (r *RowEvents) Add(re RowEvent) { method ExtractHeaderLabels (line 142) | func (r *RowEvents) ExtractHeaderLabels(labelCol int) []string { method Labelize (line 152) | func (r *RowEvents) Labelize(cols []int, labelCol int, labels []string... method Customize (line 162) | func (r *RowEvents) Customize(cols []int) *RowEvents { method Diff (line 172) | func (r *RowEvents) Diff(re *RowEvents, ageCol int) bool { method Clone (line 186) | func (r *RowEvents) Clone() *RowEvents { method Upsert (line 196) | func (r *RowEvents) Upsert(re RowEvent) { method Delete (line 205) | func (r *RowEvents) Delete(fqn string) error { method Len (line 217) | func (r *RowEvents) Len() int { method Empty (line 221) | func (r *RowEvents) Empty() bool { method Clear (line 226) | func (r *RowEvents) Clear() { method Range (line 233) | func (r *RowEvents) Range(f ReRangeFn) { method Get (line 241) | func (r *RowEvents) Get(id string) (RowEvent, bool) { method FindIndex (line 251) | func (r *RowEvents) FindIndex(id string) (int, bool) { method Sort (line 258) | func (r *RowEvents) Sort(ns string, sortCol int, isDuration, numCol, i... method Dump (line 277) | func (re RowEvents) Dump(msg string) { function NewRowEvents (line 101) | func NewRowEvents(size int) *RowEvents { function NewRowEventsWithEvts (line 108) | func NewRowEventsWithEvts(ee ...RowEvent) *RowEvents { type RowEventSorter (line 287) | type RowEventSorter struct method Len (line 297) | func (r RowEventSorter) Len() int { method Swap (line 301) | func (r RowEventSorter) Swap(i, j int) { method Less (line 305) | func (r RowEventSorter) Less(i, j int) bool { FILE: internal/model1/row_event_test.go function TestRowEventCustomize (line 15) | func TestRowEventCustomize(t *testing.T) { function TestRowEventDiff (line 110) | func TestRowEventDiff(t *testing.T) { function TestRowEventsDiff (line 181) | func TestRowEventsDiff(t *testing.T) { function TestRowEventsUpsert (line 265) | func TestRowEventsUpsert(t *testing.T) { function TestRowEventsCustomize (line 297) | func TestRowEventsCustomize(t *testing.T) { function TestRowEventsDelete (line 364) | func TestRowEventsDelete(t *testing.T) { function TestRowEventsSort (line 416) | func TestRowEventsSort(t *testing.T) { function TestRowEventsClone (line 504) | func TestRowEventsClone(t *testing.T) { function makeRowEvents (line 535) | func makeRowEvents() *model1.RowEvents { FILE: internal/model1/row_test.go function BenchmarkRowCustomize (line 16) | func BenchmarkRowCustomize(b *testing.B) { function TestFieldCustomize (line 26) | func TestFieldCustomize(t *testing.T) { function TestFieldClone (line 64) | func TestFieldClone(t *testing.T) { function TestRowLabelize (line 72) | func TestRowLabelize(t *testing.T) { function TestRowCustomize (line 104) | func TestRowCustomize(t *testing.T) { function TestRowsDelete (line 136) | func TestRowsDelete(t *testing.T) { function TestRowsUpsert (line 196) | func TestRowsUpsert(t *testing.T) { function TestRowsSortText (line 236) | func TestRowsSortText(t *testing.T) { function TestRowsSortDuration (line 316) | func TestRowsSortDuration(t *testing.T) { function TestRowsSortMetrics (line 381) | func TestRowsSortMetrics(t *testing.T) { function TestRowsSortCapacity (line 423) | func TestRowsSortCapacity(t *testing.T) { function TestLess (line 465) | func TestLess(t *testing.T) { FILE: internal/model1/rows.go type Rows (line 9) | type Rows method Delete (line 12) | func (rr Rows) Delete(id string) Rows { method Upsert (line 29) | func (rr Rows) Upsert(r Row) Rows { method Find (line 40) | func (rr Rows) Find(id string) (int, bool) { method Sort (line 51) | func (rr Rows) Sort(col int, asc, isNum, isDur, isCapacity bool) { FILE: internal/model1/table_data.go type SortFn (line 26) | type SortFn type SortColumn (line 29) | type SortColumn struct method IsSet (line 35) | func (s SortColumn) IsSet() bool { constant spacer (line 39) | spacer = " " type FilterOpts (line 41) | type FilterOpts struct type TableData (line 48) | type TableData struct method AddRow (line 87) | func (t *TableData) AddRow(re RowEvent) { method SetRow (line 91) | func (t *TableData) SetRow(idx int, re RowEvent) { method FindRow (line 95) | func (t *TableData) FindRow(id string) (RowEvent, bool) { method RowAt (line 99) | func (t *TableData) RowAt(idx int) (RowEvent, bool) { method RowsRange (line 103) | func (t *TableData) RowsRange(f ReRangeFn) { method Sort (line 107) | func (t *TableData) Sort(sc SortColumn) { method Header (line 122) | func (t *TableData) Header() Header { method HeaderCount (line 127) | func (t *TableData) HeaderCount() int { method HeadCol (line 134) | func (t *TableData) HeadCol(n string, w bool) (header HeaderColumn, id... method Filter (line 143) | func (t *TableData) Filter(f FilterOpts) *TableData { method rxFilter (line 166) | func (t *TableData) rxFilter(q string, inverse bool) (*RowEvents, erro... method fuzzyFilter (line 200) | func (t *TableData) fuzzyFilter(q string) *RowEvents { method filterToast (line 221) | func (t *TableData) filterToast() *RowEvents { method GetNamespace (line 237) | func (t *TableData) GetNamespace() string { method Reset (line 244) | func (t *TableData) Reset(ns string) { method Render (line 252) | func (t *TableData) Render(_ context.Context, r Renderer, oo []runtime... method Empty (line 282) | func (t *TableData) Empty() bool { method SetRowEvents (line 289) | func (t *TableData) SetRowEvents(re *RowEvents) { method GetRowEvents (line 293) | func (t *TableData) GetRowEvents() *RowEvents { method RowCount (line 298) | func (t *TableData) RowCount() int { method IndexOfHeader (line 306) | func (t *TableData) IndexOfHeader(h string) (int, bool) { method Labelize (line 311) | func (t *TableData) Labelize(labels []string) *TableData { method ComputeSortCol (line 330) | func (t *TableData) ComputeSortCol(vs *config.ViewSetting, sc SortColu... method sortCol (line 350) | func (t *TableData) sortCol(vs *config.ViewSetting) (SortColumn, error) { method Clear (line 380) | func (t *TableData) Clear() { method Clone (line 389) | func (t *TableData) Clone() *TableData { method ColumnNames (line 401) | func (t *TableData) ColumnNames(w bool) []string { method GetHeader (line 409) | func (t *TableData) GetHeader() Header { method SetHeader (line 417) | func (t *TableData) SetHeader(ns string, h Header) { method Update (line 425) | func (t *TableData) Update(rows Rows) { method Delete (line 460) | func (t *TableData) Delete(newKeys sets.Set[string]) { method Diff (line 485) | func (t *TableData) Diff(t2 *TableData) bool { function NewTableData (line 57) | func NewTableData(gvr *client.GVR) *TableData { function NewTableDataFull (line 64) | func NewTableDataFull(gvr *client.GVR, ns string, h Header, re *RowEvent... function NewTableDataWithRows (line 71) | func NewTableDataWithRows(gvr *client.GVR, h Header, re *RowEvents) *Tab... function NewTableDataFromTable (line 78) | func NewTableDataFromTable(td *TableData) *TableData { FILE: internal/model1/table_data_test.go function init (line 16) | func init() { function TestTableDataComputeSortCol (line 20) | func TestTableDataComputeSortCol(t *testing.T) { function TestTableDataDiff (line 92) | func TestTableDataDiff(t *testing.T) { function TestTableDataUpdate (line 240) | func TestTableDataUpdate(t *testing.T) { function TestTableDataDelete (line 330) | func TestTableDataDelete(t *testing.T) { FILE: internal/model1/test_helper_test.go function testTime (line 11) | func testTime() time.Time { FILE: internal/model1/types.go constant NAValue (line 15) | NAValue = "na" constant EventUnchanged (line 18) | EventUnchanged ResEvent = 1 << iota constant EventAdd (line 21) | EventAdd constant EventUpdate (line 24) | EventUpdate constant EventDelete (line 27) | EventDelete constant EventClear (line 30) | EventClear type DecoratorFunc (line 34) | type DecoratorFunc type ColorerFunc (line 37) | type ColorerFunc type Renderer (line 40) | type Renderer interface type Generic (line 61) | type Generic interface FILE: internal/perf/benchmark.go constant benchTimeout (line 28) | benchTimeout = 2 * time.Minute constant benchFmat (line 29) | benchFmat = "%s_%s_%d.txt" constant k9sUA (line 30) | k9sUA = "k9s/" type Benchmark (line 34) | type Benchmark struct method init (line 51) | func (b *Benchmark) init(base, version string) error { method Cancel (line 89) | func (b *Benchmark) Cancel() { method Canceled (line 104) | func (b *Benchmark) Canceled() bool { method Run (line 109) | func (b *Benchmark) Run(cluster, ct string, done func()) { method save (line 127) | func (b *Benchmark) save(cluster, ct string, r io.Reader) error { function NewBenchmark (line 43) | func NewBenchmark(base, version string, cfg *config.BenchConfig) (*Bench... FILE: internal/pool.go constant DefaultPoolSize (line 11) | DefaultPoolSize = 10 type jobFn (line 13) | type jobFn type WorkerPool (line 15) | type WorkerPool struct method Add (line 51) | func (p *WorkerPool) Add(job jobFn) { method Drain (line 66) | func (p *WorkerPool) Drain() []error { function NewWorkerPool (line 26) | func NewWorkerPool(ctx context.Context, size int) *WorkerPool { FILE: internal/pool_test.go function TestWorkerPoolPlain (line 13) | func TestWorkerPoolPlain(t *testing.T) { function TestWorkerPoolWithError (line 34) | func TestWorkerPoolWithError(t *testing.T) { FILE: internal/port/ann.go type Annotations (line 10) | type Annotations method PreferredPorts (line 12) | func (a Annotations) PreferredPorts(specs ContainerPortSpecs) (PFAnns,... FILE: internal/port/ann_test.go function TestPreferredPorts (line 14) | func TestPreferredPorts(t *testing.T) { FILE: internal/port/co_portspec.go type ContainerPortSpecs (line 15) | type ContainerPortSpecs method Dump (line 17) | func (c ContainerPortSpecs) Dump() string { method MatchSpec (line 27) | func (c ContainerPortSpecs) MatchSpec(s string) bool { method ToTunnels (line 42) | func (c ContainerPortSpecs) ToTunnels(address string) PortTunnels { method Find (line 52) | func (c ContainerPortSpecs) Find(pf *PFAnn) (ContainerPortSpec, bool) { method Match (line 63) | func (c ContainerPortSpecs) Match(pf *PFAnn) bool { method MatchAnnotations (line 73) | func (c ContainerPortSpecs) MatchAnnotations(s string) PFAnns { function FromContainerPorts (line 90) | func FromContainerPorts(co string, pp []v1.ContainerPort) ContainerPortS... type ContainerPortSpec (line 103) | type ContainerPortSpec struct method MatchSpec (line 118) | func (c ContainerPortSpec) MatchSpec(s string) bool { method ToTunnel (line 127) | func (c ContainerPortSpec) ToTunnel(address string) PortTunnel { method Port (line 135) | func (c ContainerPortSpec) Port() intstr.IntOrString { method ToPFAnn (line 143) | func (c ContainerPortSpec) ToPFAnn() *PFAnn { method Match (line 152) | func (c ContainerPortSpec) Match(ann *PFAnn) bool { method String (line 168) | func (c ContainerPortSpec) String() string { function NewPortSpec (line 110) | func NewPortSpec(co, portName string, port int32) ContainerPortSpec { FILE: internal/port/co_portspec_test.go function TestContainerPortSpecMatch (line 14) | func TestContainerPortSpecMatch(t *testing.T) { function TestContainerPortSpecString (line 73) | func TestContainerPortSpecString(t *testing.T) { function TestContainerPortSpecsMatch (line 96) | func TestContainerPortSpecsMatch(t *testing.T) { FILE: internal/port/pf.go constant K9sAutoPortForwardsKey (line 17) | K9sAutoPortForwardsKey = "k9scli.io/auto-port-forwards" constant K9sPortForwardsKey (line 20) | K9sPortForwardsKey = "k9scli.io/port-forwards" type PFAnn (line 30) | type PFAnn struct method Match (line 87) | func (p *PFAnn) Match(ss ContainerPortSpecs) bool { method AsSpec (line 98) | func (p *PFAnn) AsSpec() string { method String (line 107) | func (p *PFAnn) String() string { method PortNum (line 111) | func (p *PFAnn) PortNum() (string, error) { method ToTunnel (line 122) | func (p *PFAnn) ToTunnel(address string) (PortTunnel, error) { function ParsePlainPF (line 37) | func ParsePlainPF(ann string) (*PFAnn, error) { function ParsePF (line 57) | func ParsePF(ann string) (*PFAnn, error) { FILE: internal/port/pf_test.go function TestParsePF (line 16) | func TestParsePF(t *testing.T) { function TestPFMatch (line 81) | func TestPFMatch(t *testing.T) { function TestPFPortNum (line 123) | func TestPFPortNum(t *testing.T) { function TestPFToTunnel (line 158) | func TestPFToTunnel(t *testing.T) { function TestPFString (line 199) | func TestPFString(t *testing.T) { FILE: internal/port/pfs.go type PortChecker (line 13) | type PortChecker type PFAnns (line 16) | type PFAnns method ToPortSpec (line 19) | func (aa PFAnns) ToPortSpec(pp ContainerPortSpecs) (ports, localPorts ... method ToTunnels (line 36) | func (aa PFAnns) ToTunnels(address string, _ ContainerPortSpecs, avail... function ParsePFs (line 53) | func ParsePFs(ann string) (PFAnns, error) { function ToTunnels (line 67) | func ToTunnels(address, specs, localPorts string) (PortTunnels, error) { FILE: internal/port/pfs_test.go function TestParsePFs (line 17) | func TestParsePFs(t *testing.T) { function TestPFsToTunnel (line 69) | func TestPFsToTunnel(t *testing.T) { function TestPFsToPortSpec (line 116) | func TestPFsToPortSpec(t *testing.T) { function TestToTunnels (line 148) | func TestToTunnels(t *testing.T) { FILE: internal/port/tunnel.go type PortTunnels (line 16) | type PortTunnels method CheckAvailable (line 19) | func (t PortTunnels) CheckAvailable(ctx context.Context) error { type PortTunnel (line 30) | type PortTunnel struct method String (line 45) | func (t PortTunnel) String() string { method PortMap (line 50) | func (t PortTunnel) PortMap() string { function NewPortTunnel (line 35) | func NewPortTunnel(a, co, lp, cp string) PortTunnel { function IsPortFree (line 59) | func IsPortFree(ctx context.Context, t PortTunnel) bool { FILE: internal/port/tunnel_test.go function TestPortTunnelMap (line 13) | func TestPortTunnelMap(t *testing.T) { FILE: internal/render/alias.go type Alias (line 25) | type Alias struct method Header (line 30) | func (Alias) Header(string) model1.Header { method Render (line 36) | func (Alias) Render(o any, _ string, r *model1.Row) error { type AliasRes (line 58) | type AliasRes struct method GetObjectKind (line 64) | func (AliasRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 69) | func (a AliasRes) DeepCopyObject() runtime.Object { FILE: internal/render/alias_test.go function TestAliasColorer (line 17) | func TestAliasColorer(t *testing.T) { function TestAliasHeader (line 55) | func TestAliasHeader(t *testing.T) { function TestAliasRender (line 68) | func TestAliasRender(t *testing.T) { function BenchmarkAlias (line 84) | func BenchmarkAlias(b *testing.B) { FILE: internal/render/base.go type DecoratorFunc (line 16) | type DecoratorFunc type Base (line 21) | type Base struct method SetIncludeObject (line 27) | func (b *Base) SetIncludeObject(f bool) { method IsGeneric (line 32) | func (*Base) IsGeneric() bool { method doHeader (line 36) | func (b *Base) doHeader(dh model1.Header) model1.Header { method SetViewSetting (line 45) | func (b *Base) SetViewSetting(vs *config.ViewSetting) { method ColorerFunc (line 60) | func (*Base) ColorerFunc() model1.ColorerFunc { method Happy (line 65) | func (*Base) Happy(string, *model1.Row) bool { method Healthy (line 70) | func (*Base) Healthy(context.Context, any) error { FILE: internal/render/benchmark.go type Benchmark (line 32) | type Benchmark struct method ColorerFunc (line 37) | func (Benchmark) ColorerFunc() model1.ColorerFunc { method Header (line 48) | func (Benchmark) Header(string) model1.Header { method Render (line 64) | func (b Benchmark) Render(o any, ns string, r *model1.Row) error { method diagnose (line 87) | func (Benchmark) diagnose(ns string, ff model1.Fields) error { method readFile (line 106) | func (Benchmark) readFile(file string) (string, error) { method initRow (line 114) | func (Benchmark) initRow(row model1.Fields, f os.FileInfo) error { method augmentRow (line 127) | func (b Benchmark) augmentRow(fields model1.Fields, data string) { method countReq (line 160) | func (Benchmark) countReq(rr [][]string) string { type BenchInfo (line 175) | type BenchInfo struct method GetObjectKind (line 181) | func (BenchInfo) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 186) | func (b BenchInfo) DeepCopyObject() runtime.Object { FILE: internal/render/benchmark_int_test.go function init (line 16) | func init() { function TestAugmentRow (line 20) | func TestAugmentRow(t *testing.T) { FILE: internal/render/cm.go type ConfigMap (line 18) | type ConfigMap struct method Header (line 23) | func (m ConfigMap) Header(_ string) model1.Header { method Render (line 36) | func (m ConfigMap) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 54) | func (ConfigMap) defaultRow(o any, r *model1.Row) error { FILE: internal/render/container.go constant falseStr (line 23) | falseStr = "false" type ContainerWithMetrics (line 26) | type ContainerWithMetrics interface type Container (line 44) | type Container struct method ColorerFunc (line 49) | func (Container) ColorerFunc() model1.ColorerFunc { method Header (line 75) | func (Container) Header(_ string) model1.Header { method Render (line 104) | func (c Container) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 113) | func (c Container) defaultRow(cr ContainerRes, r *model1.Row) error { method diagnose (line 148) | func (Container) diagnose(state, ready string) error { function containerRequests (line 162) | func containerRequests(co *v1.Container) v1.ResourceList { function gatherContainerMX (line 175) | func gatherContainerMX(co *v1.Container, mx *mv1beta1.ContainerMetrics) ... function ToContainerPorts (line 212) | func ToContainerPorts(pp []v1.ContainerPort) string { function ToContainerState (line 228) | func ToContainerState(s v1.ContainerState) string { constant on (line 249) | on = "on" constant off (line 250) | off = "off" function probe (line 253) | func probe(p *v1.Probe) string { type ContainerRes (line 261) | type ContainerRes struct method GetObjectKind (line 270) | func (ContainerRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 275) | func (c ContainerRes) DeepCopyObject() runtime.Object { FILE: internal/render/container_int_test.go function Test_gatherContainerMX (line 15) | func Test_gatherContainerMX(t *testing.T) { FILE: internal/render/container_test.go function TestContainer (line 21) | func TestContainer(t *testing.T) { function BenchmarkContainerRender (line 58) | func BenchmarkContainerRender(b *testing.B) { function toQty (line 80) | func toQty(s string) resource.Quantity { function makeContainerMetrics (line 85) | func makeContainerMetrics() *mv1beta1.ContainerMetrics { function makeAge (line 95) | func makeAge() metav1.Time { function makeContainer (line 99) | func makeContainer() *v1.Container { function makeContainerStatus (line 121) | func makeContainerStatus() *v1.ContainerStatus { function testTime (line 129) | func testTime() time.Time { FILE: internal/render/context.go type Context (line 20) | type Context struct method ColorerFunc (line 25) | func (Context) ColorerFunc() model1.ColorerFunc { method Header (line 37) | func (Context) Header(string) model1.Header { method Render (line 47) | func (Context) Render(o any, _ string, r *model1.Row) error { type NamedContext (line 72) | type NamedContext struct method IsCurrentContext (line 89) | func (c *NamedContext) IsCurrentContext(n string) bool { method GetObjectKind (line 99) | func (*NamedContext) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 104) | func (c *NamedContext) DeepCopyObject() runtime.Object { type ContextNamer (line 79) | type ContextNamer interface function NewNamedContext (line 84) | func NewNamedContext(c ContextNamer, n string, ctx *api.Context) *NamedC... FILE: internal/render/context_test.go function TestContextHeader (line 16) | func TestContextHeader(t *testing.T) { function TestContextRender (line 22) | func TestContextRender(t *testing.T) { type config (line 61) | type config struct method CurrentContextName (line 63) | func (config) CurrentContextName() (string, error) { FILE: internal/render/cr.go type ClusterRole (line 17) | type ClusterRole struct method Header (line 22) | func (c ClusterRole) Header(_ string) model1.Header { method Render (line 34) | func (p ClusterRole) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 55) | func (ClusterRole) defaultRow(raw *unstructured.Unstructured, r *model... FILE: internal/render/cr_test.go function TestClusterRoleRender (line 15) | func TestClusterRoleRender(t *testing.T) { FILE: internal/render/crb.go type ClusterRoleBinding (line 26) | type ClusterRoleBinding struct method Header (line 31) | func (c ClusterRoleBinding) Header(_ string) model1.Header { method Render (line 36) | func (c ClusterRoleBinding) Render(o any, _ string, row *model1.Row) e... method defaultRow (line 57) | func (ClusterRoleBinding) defaultRow(raw *unstructured.Unstructured, r... FILE: internal/render/crb_test.go function TestClusterRoleBindingRender (line 15) | func TestClusterRoleBindingRender(t *testing.T) { FILE: internal/render/crd.go type CustomResourceDefinition (line 33) | type CustomResourceDefinition struct method Header (line 38) | func (c CustomResourceDefinition) Header(_ string) model1.Header { method Render (line 43) | func (c CustomResourceDefinition) Render(o any, _ string, row *model1.... method defaultRow (line 65) | func (c CustomResourceDefinition) defaultRow(raw *unstructured.Unstruc... method diagnose (line 102) | func (CustomResourceDefinition) diagnose(n string, vv []v1.CustomResou... FILE: internal/render/crd_test.go function TestCustomResourceDefinitionRender (line 15) | func TestCustomResourceDefinitionRender(t *testing.T) { FILE: internal/render/cronjob.go type CronJob (line 36) | type CronJob struct method Header (line 41) | func (c CronJob) Header(_ string) model1.Header { method Render (line 46) | func (c CronJob) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 68) | func (CronJob) defaultRow(raw *unstructured.Unstructured, r *model1.Ro... function jobSelector (line 102) | func jobSelector(spec *batchv1.JobSpec) string { function podContainerNames (line 121) | func podContainerNames(spec *v1.PodSpec, includeInit bool) string { function podImageNames (line 136) | func podImageNames(spec *v1.PodSpec, includeInit bool) string { FILE: internal/render/cronjob_test.go function TestCronJobRender (line 15) | func TestCronJobRender(t *testing.T) { FILE: internal/render/cust_col.go type colAttr (line 19) | type colAttr constant number (line 22) | number colAttr = 'N' constant age (line 23) | age colAttr = 'T' constant wide (line 24) | wide colAttr = 'W' constant show (line 25) | show colAttr = 'S' constant alignLeft (line 26) | alignLeft colAttr = 'L' constant alignRight (line 27) | alignRight colAttr = 'R' constant hide (line 28) | hide colAttr = 'H' type colAttrs (line 31) | type colAttrs struct function newColFlags (line 43) | func newColFlags(flags string) colAttrs { type colDef (line 72) | type colDef struct method toHeaderCol (line 98) | func (c colDef) toHeaderCol() model1.HeaderColumn { function parse (line 80) | func parse(s string) (colDef, error) { FILE: internal/render/cust_col_test.go function TestCustCol_parse (line 14) | func TestCustCol_parse(t *testing.T) { FILE: internal/render/cust_cols.go type ColsSpecs (line 24) | type ColsSpecs method parseSpecs (line 31) | func (cc ColsSpecs) parseSpecs() (ColumnSpecs, error) { function NewColsSpecs (line 27) | func NewColsSpecs(cols ...string) ColsSpecs { type RenderedCols (line 49) | type RenderedCols method hydrateRow (line 51) | func (rr RenderedCols) hydrateRow(row *model1.Row) { method HasHeader (line 60) | func (rr RenderedCols) HasHeader(n string) bool { type RenderedCol (line 71) | type RenderedCol struct method has (line 77) | func (r RenderedCol) has(n string) bool { type ColumnSpec (line 82) | type ColumnSpec struct type ColumnSpecs (line 88) | type ColumnSpecs method isEmpty (line 90) | func (c ColumnSpecs) isEmpty() bool { method Header (line 95) | func (cc ColumnSpecs) Header(rh model1.Header) model1.Header { method realize (line 112) | func (cc ColumnSpecs) realize(o runtime.Object, rh model1.Header, row ... function hydrate (line 148) | func hydrate(o runtime.Object, cc ColumnSpecs, parsers []*jsonpath.JSONP... function isJQSpec (line 264) | func isJQSpec(spec string) bool { function jqParse (line 268) | func jqParse(spec string, o map[string]any) (string, bool) { FILE: internal/render/cust_cols_test.go function TestParseSpecs (line 18) | func TestParseSpecs(t *testing.T) { function TestHydrateNilObject (line 240) | func TestHydrateNilObject(t *testing.T) { FILE: internal/render/dir.go type Dir (line 19) | type Dir struct method IsGeneric (line 22) | func (Dir) IsGeneric() bool { method Healthy (line 27) | func (Dir) Healthy(context.Context, any) error { method ColorerFunc (line 32) | func (Dir) ColorerFunc() model1.ColorerFunc { method SetViewSetting (line 38) | func (Dir) SetViewSetting(*config.ViewSetting) {} method Header (line 41) | func (Dir) Header(string) model1.Header { method Render (line 49) | func (Dir) Render(o any, _ string, r *model1.Row) error { type DirRes (line 69) | type DirRes struct method GetObjectKind (line 75) | func (DirRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 80) | func (d DirRes) DeepCopyObject() runtime.Object { FILE: internal/render/dp.go type Deployment (line 33) | type Deployment struct method ColorerFunc (line 38) | func (Deployment) ColorerFunc() model1.ColorerFunc { method Header (line 57) | func (d Deployment) Header(_ string) model1.Header { method Render (line 62) | func (d Deployment) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 83) | func (d Deployment) defaultRow(raw *unstructured.Unstructured, r *mode... method diagnose (line 110) | func (Deployment) diagnose(desired, avail int32) error { FILE: internal/render/dp_test.go function TestDpRender (line 15) | func TestDpRender(t *testing.T) { function BenchmarkDpRender (line 24) | func BenchmarkDpRender(b *testing.B) { FILE: internal/render/ds.go type DaemonSet (line 33) | type DaemonSet struct method Header (line 38) | func (d DaemonSet) Header(_ string) model1.Header { method Render (line 43) | func (d DaemonSet) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 64) | func (d DaemonSet) defaultRow(raw *unstructured.Unstructured, r *model... method diagnose (line 90) | func (DaemonSet) diagnose(d, r int32) error { FILE: internal/render/ds_test.go function TestDaemonSetRender (line 15) | func TestDaemonSetRender(t *testing.T) { FILE: internal/render/ep.go type Endpoints (line 26) | type Endpoints struct method Header (line 31) | func (e Endpoints) Header(_ string) model1.Header { method Render (line 36) | func (e Endpoints) Render(o any, ns string, row *model1.Row) error { method defaultRow (line 52) | func (e Endpoints) defaultRow(o any, ns string, r *model1.Row) error { function toEPs (line 78) | func toEPs(ss []v1.EndpointSubset) string { function portsToStrs (line 90) | func portsToStrs(pp []v1.EndpointPort, ss []string) { function processIPs (line 96) | func processIPs(aa, pp []string, addrs []v1.EndpointAddress) { FILE: internal/render/ep_test.go function TestEndpointsRender (line 15) | func TestEndpointsRender(t *testing.T) { FILE: internal/render/eps.go type EndpointSlice (line 28) | type EndpointSlice struct method Header (line 33) | func (e EndpointSlice) Header(_ string) model1.Header { method Render (line 38) | func (e EndpointSlice) Render(o any, ns string, row *model1.Row) error { method defaultRow (line 54) | func (e EndpointSlice) defaultRow(o any, ns string, r *model1.Row) err... function toEPss (line 82) | func toEPss(ee []discoveryv1.Endpoint) string { function toPorts (line 95) | func toPorts(ee []discoveryv1.EndpointPort) string { FILE: internal/render/eps_test.go function TestEndpointSliceRender (line 15) | func TestEndpointSliceRender(t *testing.T) { FILE: internal/render/ev.go type Event (line 15) | type Event struct method Healthy (line 20) | func (*Event) Healthy(_ context.Context, o any) error { FILE: internal/render/generic.go type Generic (line 22) | type Generic struct method Header (line 27) | func (m Generic) Header(_ string) model1.Header { method Render (line 32) | func (m Generic) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 53) | func (Generic) defaultRow(raw *unstructured.Unstructured, r *model1.Ro... FILE: internal/render/helm/chart.go type Chart (line 24) | type Chart struct method IsGeneric (line 27) | func (Chart) IsGeneric() bool { method SetViewSetting (line 31) | func (Chart) SetViewSetting(*config.ViewSetting) {} method ColorerFunc (line 34) | func (Chart) ColorerFunc() model1.ColorerFunc { method Header (line 39) | func (Chart) Header(_ string) model1.Header { method Render (line 53) | func (c Chart) Render(o any, _ string, r *model1.Row) error { method Healthy (line 75) | func (c Chart) Healthy(_ context.Context, o any) error { method diagnose (line 84) | func (Chart) diagnose(s string) error { type ReleaseRes (line 96) | type ReleaseRes struct method GetObjectKind (line 101) | func (ReleaseRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 106) | func (h ReleaseRes) DeepCopyObject() runtime.Object { FILE: internal/render/helm/history.go type History (line 18) | type History struct method SetViewSetting (line 20) | func (History) SetViewSetting(*config.ViewSetting) {} method IsGeneric (line 23) | func (History) IsGeneric() bool { method ColorerFunc (line 28) | func (History) ColorerFunc() model1.ColorerFunc { method Header (line 33) | func (History) Header(_ string) model1.Header { method Render (line 45) | func (c History) Render(o any, _ string, r *model1.Row) error { method Healthy (line 66) | func (History) Healthy(context.Context, any) error { method diagnose (line 70) | func (History) diagnose(string) error { FILE: internal/render/helpers.go function ExtractImages (line 28) | func ExtractImages(spec *v1.PodSpec) []string { function computeVulScore (line 37) | func computeVulScore(ns string, lbls map[string]string, spec *v1.PodSpec... function runesToNum (line 48) | func runesToNum(rr []rune) int64 { function AsThousands (line 61) | func AsThousands(n int64) string { function AsStatus (line 67) | func AsStatus(err error) string { function asSelector (line 74) | func asSelector(s *metav1.LabelSelector) string { function toSelector (line 85) | func toSelector(m map[string]string) string { function blank (line 95) | func blank(ss []string) bool { function join (line 106) | func join(ss []string, sep string) string { function AsPerc (line 141) | func AsPerc(p string) string { function PrintPerc (line 146) | func PrintPerc(p int) string { function IntToStr (line 151) | func IntToStr(p int) string { function missing (line 155) | func missing(s string) string { function naStrings (line 159) | func naStrings(ss []string) string { function na (line 166) | func na(s string) string { function check (line 170) | func check(s, sub string) string { function boolToStr (line 178) | func boolToStr(b bool) string { function ToAge (line 188) | func ToAge(t metav1.Time) string { function toAgeHuman (line 196) | func toAgeHuman(s string) string { function Truncate (line 210) | func Truncate(str string, width int) string { function mapToStr (line 214) | func mapToStr(m map[string]string) string { function mapToIfc (line 236) | func mapToIfc(m any) (s string) { function toMu (line 269) | func toMu(v int64) string { function toMc (line 277) | func toMc(v int64) string { function toMi (line 284) | func toMi(v int64) string { function boolPtrToStr (line 291) | func boolPtrToStr(b *bool) string { function strPtrToStr (line 299) | func strPtrToStr(s *string) string { function Pad (line 307) | func Pad(s string, width int) string { FILE: internal/render/helpers_test.go function TestTableGenericHydrate (line 23) | func TestTableGenericHydrate(t *testing.T) { function TestTableHydrate (line 50) | func TestTableHydrate(t *testing.T) { function TestToAge (line 62) | func TestToAge(t *testing.T) { function TestToAgeHuman (line 81) | func TestToAgeHuman(t *testing.T) { function TestJoin (line 103) | func TestJoin(t *testing.T) { function TestBoolPtrToStr (line 123) | func TestBoolPtrToStr(t *testing.T) { function TestNamespaced (line 140) | func TestNamespaced(t *testing.T) { function TestMissing (line 154) | func TestMissing(t *testing.T) { function TestBoolToStr (line 167) | func TestBoolToStr(t *testing.T) { function TestNa (line 181) | func TestNa(t *testing.T) { function TestTruncate (line 194) | func TestTruncate(t *testing.T) { function TestToSelector (line 225) | func TestToSelector(t *testing.T) { function TestBlank (line 255) | func TestBlank(t *testing.T) { function TestMetaFQN (line 279) | func TestMetaFQN(t *testing.T) { function TestFQN (line 296) | func TestFQN(t *testing.T) { function TestMapToStr (line 313) | func TestMapToStr(t *testing.T) { function BenchmarkMapToStr (line 326) | func BenchmarkMapToStr(b *testing.B) { function TestRunesToNum (line 339) | func TestRunesToNum(t *testing.T) { function BenchmarkRunesToNum (line 370) | func BenchmarkRunesToNum(b *testing.B) { function TestToMc (line 380) | func TestToMc(t *testing.T) { function TestToMi (line 395) | func TestToMi(t *testing.T) { function TestIntToStr (line 410) | func TestIntToStr(t *testing.T) { function BenchmarkIntToStr (line 424) | func BenchmarkIntToStr(b *testing.B) { function load (line 435) | func load(t *testing.T, n string) *unstructured.Unstructured { FILE: internal/render/hpa.go type HorizontalPodAutoscaler (line 15) | type HorizontalPodAutoscaler struct method ColorerFunc (line 20) | func (*HorizontalPodAutoscaler) ColorerFunc() model1.ColorerFunc { FILE: internal/render/hpa_test.go function TestHorizontalPodAutoscalerColorer (line 15) | func TestHorizontalPodAutoscalerColorer(t *testing.T) { FILE: internal/render/img_scan.go constant CVEParseIdx (line 18) | CVEParseIdx = 5 constant sevColName (line 19) | sevColName = "SEVERITY" type ImageScan (line 23) | type ImageScan struct method ColorerFunc (line 28) | func (ImageScan) ColorerFunc() model1.ColorerFunc { method Header (line 57) | func (ImageScan) Header(string) model1.Header { method Render (line 70) | func (ImageScan) Render(o any, _ string, r *model1.Row) error { type ImageScanRes (line 94) | type ImageScanRes struct method GetObjectKind (line 100) | func (ImageScanRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 105) | func (is ImageScanRes) DeepCopyObject() runtime.Object { FILE: internal/render/job.go type Job (line 34) | type Job struct method Header (line 39) | func (j Job) Header(_ string) model1.Header { method Render (line 44) | func (j Job) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 64) | func (j Job) defaultRow(raw *unstructured.Unstructured, r *model1.Row)... method diagnose (line 91) | func (Job) diagnose(ready string, status *batchv1.JobStatus) error { constant maxShow (line 102) | maxShow = 2 function toContainers (line 104) | func toContainers(p *v1.PodSpec) (containers, images string) { function parseContainers (line 121) | func parseContainers(cos []v1.Container) (nn, ii []string) { function toCompletion (line 130) | func toCompletion(spec *batchv1.JobSpec, status *batchv1.JobStatus) (s s... function toDuration (line 147) | func toDuration(status *batchv1.JobStatus) string { FILE: internal/render/job_test.go function TestJobRender (line 15) | func TestJobRender(t *testing.T) { FILE: internal/render/node.go constant labelNodeRolePrefix (line 30) | labelNodeRolePrefix = "node-role.kubernetes.io/" constant labelNodeRoleSuffix (line 31) | labelNodeRoleSuffix = "kubernetes.io/role" type Node (line 67) | type Node struct method ColorerFunc (line 72) | func (*Node) ColorerFunc() model1.ColorerFunc { method Header (line 89) | func (n Node) Header(_ string) model1.Header { method Render (line 94) | func (n Node) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 116) | func (n Node) defaultRow(nwm *NodeWithMetrics, r *model1.Row) error { method Healthy (line 171) | func (n Node) Healthy(_ context.Context, o any) error { method diagnose (line 189) | func (Node) diagnose(ss []string) error { type NodeWithMetrics (line 218) | type NodeWithMetrics struct method GetObjectKind (line 225) | func (*NodeWithMetrics) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 230) | func (n *NodeWithMetrics) DeepCopyObject() runtime.Object { type metric (line 234) | type metric struct function gatherNodeMX (line 241) | func gatherNodeMX(no *v1.Node, mx *mv1beta1.NodeMetrics) (c, a metric) { function extractNodeGPU (line 267) | func extractNodeGPU(rl v1.ResourceList) (main, shared *resource.Quantity) { function nodeRoles (line 285) | func nodeRoles(node *v1.Node, res []string) { function getIPs (line 308) | func getIPs(addrs []v1.NodeAddress) (iIP, eIP string) { function status (line 322) | func status(conds []v1.NodeCondition, exempt bool, res []string) { FILE: internal/render/node_int_test.go function Test_extractNodeGPU (line 13) | func Test_extractNodeGPU(t *testing.T) { function Test_gatherNodeMX (line 77) | func Test_gatherNodeMX(t *testing.T) { function makeQ (line 193) | func makeQ(t *testing.T, v string) *resource.Quantity { FILE: internal/render/node_test.go function TestNodeRender (line 17) | func TestNodeRender(t *testing.T) { function BenchmarkNodeRender (line 33) | func BenchmarkNodeRender(b *testing.B) { function makeNodeMX (line 53) | func makeNodeMX(name, cpu, mem string) *mv1beta1.NodeMetrics { FILE: internal/render/np.go type NetworkPolicy (line 34) | type NetworkPolicy struct method Header (line 39) | func (p NetworkPolicy) Header(_ string) model1.Header { method Render (line 44) | func (p NetworkPolicy) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 65) | func (NetworkPolicy) defaultRow(raw *unstructured.Unstructured, r *mod... function ingress (line 103) | func ingress(ii []netv1.NetworkPolicyIngressRule) (port, selector, block... function egress (line 120) | func egress(ee []netv1.NetworkPolicyEgressRule) (port, selector, block s... function portsToStr (line 137) | func portsToStr(pp []netv1.NetworkPolicyPort) string { function peersToStr (line 152) | func peersToStr(pp []netv1.NetworkPolicyPeer) (selector, ip string) { function renderBlock (line 170) | func renderBlock(b *netv1.IPBlock) string { function renderPeer (line 187) | func renderPeer(i netv1.NetworkPolicyPeer) string { function expToStr (line 211) | func expToStr(ee []metav1.LabelSelectorRequirement) string { function labToStr (line 219) | func labToStr(e metav1.LabelSelectorRequirement) string { FILE: internal/render/np_test.go function TestNetworkPolicyRender (line 15) | func TestNetworkPolicyRender(t *testing.T) { FILE: internal/render/ns.go type Namespace (line 31) | type Namespace struct method ColorerFunc (line 36) | func (Namespace) ColorerFunc() model1.ColorerFunc { method Header (line 54) | func (n Namespace) Header(_ string) model1.Header { method Render (line 59) | func (n Namespace) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 80) | func (n Namespace) defaultRow(raw *unstructured.Unstructured, r *model... method Healthy (line 100) | func (n Namespace) Healthy(_ context.Context, o any) error { method diagnose (line 116) | func (Namespace) diagnose(phase v1.NamespacePhase) error { FILE: internal/render/ns_test.go function TestNSColorer (line 16) | func TestNSColorer(t *testing.T) { function TestNamespaceRender (line 73) | func TestNamespaceRender(t *testing.T) { FILE: internal/render/pdb.go type PodDisruptionBudget (line 34) | type PodDisruptionBudget struct method Header (line 39) | func (p PodDisruptionBudget) Header(_ string) model1.Header { method Render (line 44) | func (p PodDisruptionBudget) Render(o any, _ string, row *model1.Row) ... method defaultRow (line 65) | func (p PodDisruptionBudget) defaultRow(raw *unstructured.Unstructured... method diagnose (line 90) | func (PodDisruptionBudget) diagnose(v *intstr.IntOrString, healthy int... function numbToStr (line 103) | func numbToStr(n *intstr.IntOrString) string { FILE: internal/render/pdb_test.go function TestPodDisruptionBudgetRender (line 15) | func TestPodDisruptionBudgetRender(t *testing.T) { FILE: internal/render/pod.go constant NodeUnreachablePodReason (line 32) | NodeUnreachablePodReason = "NodeLost" constant vulIdx (line 33) | vulIdx = 2 constant PhaseTerminating (line 37) | PhaseTerminating = "Terminating" constant PhaseInitialized (line 38) | PhaseInitialized = "Initialized" constant PhaseRunning (line 39) | PhaseRunning = "Running" constant PhaseNotReady (line 40) | PhaseNotReady = "NoReady" constant PhaseCompleted (line 41) | PhaseCompleted = "Completed" constant PhaseContainerCreating (line 42) | PhaseContainerCreating = "ContainerCreating" constant PhasePodInitializing (line 43) | PhasePodInitializing = "PodInitializing" constant PhaseUnknown (line 44) | PhaseUnknown = "Unknown" constant PhaseCrashLoop (line 45) | PhaseCrashLoop = "CrashLoopBackOff" constant PhaseError (line 46) | PhaseError = "Error" constant PhaseImagePullBackOff (line 47) | PhaseImagePullBackOff = "ImagePullBackOff" constant PhaseOOMKilled (line 48) | PhaseOOMKilled = "OOMKilled" constant PhasePending (line 49) | PhasePending = "Pending" constant PhaseContainerStatusUnknown (line 50) | PhaseContainerStatusUnknown = "ContainerStatusUnknown" constant PhaseEvicted (line 51) | PhaseEvicted = "Evicted" type Pod (line 84) | type Pod struct method ColorerFunc (line 96) | func (*Pod) ColorerFunc() model1.ColorerFunc { method Header (line 127) | func (p *Pod) Header(string) model1.Header { method Render (line 132) | func (p *Pod) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 152) | func (p *Pod) defaultRow(pwm *PodWithMetrics, row *model1.Row) error { method Healthy (line 214) | func (p *Pod) Healthy(_ context.Context, o any) error { method diagnose (line 245) | func (*Pod) diagnose(phase string, cr, ct int, ready bool, rgr, rgt in... method mapQOS (line 394) | func (*Pod) mapQOS(class v1.PodQOSClass) string { method ContainerStats (line 407) | func (*Pod) ContainerStats(cc []v1.ContainerStatus) (readyCnt, termina... method initContainerStats (line 428) | func (*Pod) initContainerStats(cc []v1.Container, cos []v1.ContainerSt... method readinessGateStats (line 442) | func (*Pod) readinessGateStats(spec *v1.PodSpec, st *v1.PodStatus) (re... method Phase (line 457) | func (p *Pod) Phase(dt *metav1.Time, spec *v1.PodSpec, st *v1.PodStatu... method containerPhase (line 482) | func (*Pod) containerPhase(st *v1.PodStatus, status string) (string, b... method initContainerPhase (line 505) | func (*Pod) initContainerPhase(spec *v1.PodSpec, pst *v1.PodStatus, st... function NewPod (line 89) | func NewPod() *Pod { function asNominated (line 268) | func asNominated(n string) string { function asReadinessGate (line 275) | func asReadinessGate(spec *v1.PodSpec, st *v1.PodStatus) string { type PodWithMetrics (line 297) | type PodWithMetrics struct method GetObjectKind (line 303) | func (*PodWithMetrics) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 308) | func (p *PodWithMetrics) DeepCopyObject() runtime.Object { function gatherPodMX (line 312) | func gatherPodMX(spec *v1.PodSpec, ccmx []mv1beta1.ContainerMetrics) (c,... function cosLimits (line 329) | func cosLimits(cc []v1.Container) (cpuQ, memQ, gpuQ *resource.Quantity) { function cosRequests (line 350) | func cosRequests(cc []v1.Container) (cpuQ, memQ, gpuQ *resource.Quantity) { function extractGPU (line 369) | func extractGPU(rl v1.ResourceList) *resource.Quantity { function currentRes (line 379) | func currentRes(ccmx []mv1beta1.ContainerMetrics) (cpuQ, memQ *resource.... function checkInitContainerStatus (line 526) | func checkInitContainerStatus(cs *v1.ContainerStatus, count, initCount i... function PodStatus (line 551) | func PodStatus(pod *v1.Pod) string { function hasPodReadyCondition (line 627) | func hasPodReadyCondition(conditions []v1.PodCondition) bool { function isSideCarContainer (line 637) | func isSideCarContainer(p *v1.ContainerRestartPolicy) bool { function filterSidecarCO (line 641) | func filterSidecarCO(cc []v1.Container) []v1.Container { FILE: internal/render/pod_int_test.go function Test_checkInitContainerStatus (line 20) | func Test_checkInitContainerStatus(t *testing.T) { function Test_containerPhase (line 143) | func Test_containerPhase(t *testing.T) { function Test_isSideCarContainer (line 293) | func Test_isSideCarContainer(t *testing.T) { function Test_filterSidecarCO (line 319) | func Test_filterSidecarCO(t *testing.T) { function Test_lastRestart (line 381) | func Test_lastRestart(t *testing.T) { function Test_gatherPodMX (line 457) | func Test_gatherPodMX(t *testing.T) { function Test_podLimits (line 570) | func Test_podLimits(t *testing.T) { function Test_podRequests (line 601) | func Test_podRequests(t *testing.T) { function Test_readinessGateStats (line 633) | func Test_readinessGateStats(t *testing.T) { function Test_diagnose (line 706) | func Test_diagnose(t *testing.T) { function makeContainer (line 778) | func makeContainer(n string, restartable bool, rc, rm, lc, lm string) v1... function makeRes (line 792) | func makeRes(c, m string) v1.ResourceList { function makeCoMX (line 804) | func makeCoMX(n, c, m string) mv1beta1.ContainerMetrics { function testTime (line 811) | func testTime() time.Time { FILE: internal/render/pod_test.go function init (line 20) | func init() { function TestPodColorer (line 29) | func TestPodColorer(t *testing.T) { function TestPodRender (line 155) | func TestPodRender(t *testing.T) { function BenchmarkPodRender (line 171) | func BenchmarkPodRender(b *testing.B) { function TestPodInitRender (line 186) | func TestPodInitRender(t *testing.T) { function TestPodSidecarRender (line 202) | func TestPodSidecarRender(t *testing.T) { function TestCheckPodStatus (line 218) | func TestCheckPodStatus(t *testing.T) { function TestCheckPhase (line 547) | func TestCheckPhase(t *testing.T) { function makePodMX (line 667) | func makePodMX(name, cpu, mem string) *mv1beta1.PodMetrics { function makeRes (line 679) | func makeRes(c, m string) v1.ResourceList { FILE: internal/render/policy.go function rbacVerbHeader (line 19) | func rbacVerbHeader() model1.Header { type Policy (line 34) | type Policy struct method ColorerFunc (line 39) | func (Policy) ColorerFunc() model1.ColorerFunc { method Header (line 46) | func (Policy) Header(string) model1.Header { method Render (line 60) | func (Policy) Render(o any, _ string, r *model1.Row) error { function cleanseResource (line 82) | func cleanseResource(r string) string { type PolicyRes (line 96) | type PolicyRes struct method GR (line 116) | func (p *PolicyRes) GR() string { method Merge (line 121) | func (p *PolicyRes) Merge(p1 *PolicyRes) (*PolicyRes, error) { method hasVerb (line 135) | func (p *PolicyRes) hasVerb(v1 string) bool { method GetObjectKind (line 146) | func (*PolicyRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 151) | func (p *PolicyRes) DeepCopyObject() runtime.Object { function NewPolicyRes (line 105) | func NewPolicyRes(ns, binding, res, grp string, vv []string) *PolicyRes { type Policies (line 156) | type Policies method Upsert (line 159) | func (pp Policies) Upsert(p *PolicyRes) Policies { method find (line 175) | func (pp Policies) find(gr string) (int, bool) { FILE: internal/render/policy_int_test.go function Test_cleanseResource (line 12) | func Test_cleanseResource(t *testing.T) { FILE: internal/render/policy_test.go function TestPolicyResMerge (line 16) | func TestPolicyResMerge(t *testing.T) { function TestPolicyRender (line 48) | func TestPolicyRender(t *testing.T) { FILE: internal/render/port_forward_test.go function TestPortForwardRender (line 16) | func TestPortForwardRender(t *testing.T) { type fwd (line 45) | type fwd struct method ID (line 47) | func (fwd) ID() string { method Path (line 51) | func (fwd) Path() string { method Container (line 55) | func (fwd) Container() string { method Port (line 59) | func (fwd) Port() string { method Active (line 63) | func (fwd) Active() bool { method Age (line 67) | func (fwd) Age() time.Time { method Address (line 71) | func (fwd) Address() string { FILE: internal/render/portforward.go type Forwarder (line 20) | type Forwarder interface type PortForward (line 41) | type PortForward struct method ColorerFunc (line 46) | func (PortForward) ColorerFunc() model1.ColorerFunc { method Header (line 53) | func (PortForward) Header(string) model1.Header { method Render (line 68) | func (PortForward) Render(o any, _ string, r *model1.Row) error { function trimContainer (line 95) | func trimContainer(n string) string { function UrlFor (line 106) | func UrlFor(host, path, port, address string) string { type BenchCfg (line 118) | type BenchCfg struct type ForwardRes (line 124) | type ForwardRes struct method GetObjectKind (line 130) | func (ForwardRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 135) | func (f ForwardRes) DeepCopyObject() runtime.Object { FILE: internal/render/pv.go constant terminatingPhase (line 19) | terminatingPhase = "Terminating" type PersistentVolume (line 22) | type PersistentVolume struct method ColorerFunc (line 27) | func (PersistentVolume) ColorerFunc() model1.ColorerFunc { method Header (line 51) | func (p PersistentVolume) Header(_ string) model1.Header { method Render (line 71) | func (p PersistentVolume) Render(o any, _ string, row *model1.Row) err... method defaultRow (line 91) | func (p PersistentVolume) defaultRow(raw *unstructured.Unstructured, r... method diagnose (line 132) | func (PersistentVolume) diagnose(phase v1.PersistentVolumePhase) error { method volumeMode (line 140) | func (PersistentVolume) volumeMode(m *v1.PersistentVolumeMode) string { function accessMode (line 151) | func accessMode(aa []v1.PersistentVolumeAccessMode) string { function accessContains (line 170) | func accessContains(cc []v1.PersistentVolumeAccessMode, a v1.PersistentV... function accessDedup (line 180) | func accessDedup(cc []v1.PersistentVolumeAccessMode) []v1.PersistentVolu... FILE: internal/render/pv_test.go function TestPersistentVolumeRender (line 15) | func TestPersistentVolumeRender(t *testing.T) { function TestTerminatingPersistentVolumeRender (line 24) | func TestTerminatingPersistentVolumeRender(t *testing.T) { FILE: internal/render/pvc.go type PersistentVolumeClaim (line 30) | type PersistentVolumeClaim struct method Header (line 35) | func (p PersistentVolumeClaim) Header(_ string) model1.Header { method Render (line 40) | func (p PersistentVolumeClaim) Render(o any, _ string, row *model1.Row... method defaultRow (line 62) | func (p PersistentVolumeClaim) defaultRow(raw *unstructured.Unstructur... method diagnose (line 105) | func (PersistentVolumeClaim) diagnose(r string) error { FILE: internal/render/pvc_test.go function TestPersistentVolumeClaimRender (line 15) | func TestPersistentVolumeClaimRender(t *testing.T) { FILE: internal/render/rbac.go constant allVerbs (line 15) | allVerbs = "*" type Rbac (line 36) | type Rbac struct method ColorerFunc (line 41) | func (Rbac) ColorerFunc() model1.ColorerFunc { method Header (line 46) | func (Rbac) Header(string) model1.Header { method Render (line 58) | func (r Rbac) Render(o any, ns string, ro *model1.Row) error { function asVerbs (line 79) | func asVerbs(verbs []string) []string { function toVerbIcon (line 103) | func toVerbIcon(ok bool) string { function hasVerb (line 110) | func hasVerb(verbs []string, verb string) bool { type RuleRes (line 130) | type RuleRes struct method GetObjectKind (line 147) | func (*RuleRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 152) | func (r *RuleRes) DeepCopyObject() runtime.Object { function NewRuleRes (line 138) | func NewRuleRes(res, grp string, vv []string) *RuleRes { type Rules (line 157) | type Rules method Upsert (line 160) | func (rr Rules) Upsert(r *RuleRes) Rules { method find (line 171) | func (rr Rules) find(res string) (int, bool) { FILE: internal/render/reference.go type Reference (line 17) | type Reference struct method ColorerFunc (line 22) | func (Reference) ColorerFunc() model1.ColorerFunc { method Header (line 29) | func (Reference) Header(string) model1.Header { method Render (line 39) | func (Reference) Render(o any, _ string, r *model1.Row) error { type ReferenceRes (line 59) | type ReferenceRes struct method GetObjectKind (line 66) | func (ReferenceRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 71) | func (a ReferenceRes) DeepCopyObject() runtime.Object { FILE: internal/render/reference_test.go function TestReferenceRender (line 16) | func TestReferenceRender(t *testing.T) { FILE: internal/render/render_test.go function load (line 18) | func load(t testing.TB, n string) *unstructured.Unstructured { FILE: internal/render/ro.go type Role (line 17) | type Role struct method Header (line 22) | func (r Role) Header(_ string) model1.Header { method Render (line 35) | func (r Role) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 55) | func (Role) defaultRow(raw *unstructured.Unstructured, row *model1.Row... FILE: internal/render/ro_test.go function TestRoleRender (line 15) | func TestRoleRender(t *testing.T) { FILE: internal/render/rob.go type RoleBinding (line 29) | type RoleBinding struct method Header (line 34) | func (r RoleBinding) Header(_ string) model1.Header { method Render (line 39) | func (r RoleBinding) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 59) | func (RoleBinding) defaultRow(raw *unstructured.Unstructured, row *mod... function renderSubjects (line 86) | func renderSubjects(ss []rbacv1.Subject) (kind, subjects string) { function toSubjectAlias (line 99) | func toSubjectAlias(s string) string { FILE: internal/render/rob_test.go function TestRoleBindingRender (line 15) | func TestRoleBindingRender(t *testing.T) { FILE: internal/render/rs.go type ReplicaSet (line 20) | type ReplicaSet struct method ColorerFunc (line 25) | func (ReplicaSet) ColorerFunc() model1.ColorerFunc { method Header (line 30) | func (r ReplicaSet) Header(_ string) model1.Header { method Render (line 49) | func (r ReplicaSet) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 69) | func (r ReplicaSet) defaultRow(raw *unstructured.Unstructured, row *mo... method diagnose (line 102) | func (ReplicaSet) diagnose(rs *appsv1.ReplicaSet) error { FILE: internal/render/rs_test.go function TestReplicaSetRender (line 15) | func TestReplicaSetRender(t *testing.T) { FILE: internal/render/sa.go type ServiceAccount (line 27) | type ServiceAccount struct method Header (line 32) | func (s ServiceAccount) Header(_ string) model1.Header { method Render (line 37) | func (s ServiceAccount) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 57) | func (ServiceAccount) defaultRow(raw *unstructured.Unstructured, r *mo... FILE: internal/render/sa_test.go function TestServiceAccountRender (line 15) | func TestServiceAccountRender(t *testing.T) { FILE: internal/render/sc.go type StorageClass (line 30) | type StorageClass struct method Header (line 35) | func (s StorageClass) Header(_ string) model1.Header { method Render (line 40) | func (s StorageClass) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 60) | func (s StorageClass) defaultRow(raw *unstructured.Unstructured, r *mo... method nameWithDefault (line 82) | func (StorageClass) nameWithDefault(meta *metav1.ObjectMeta) string { FILE: internal/render/sc_test.go function TestStorageClassRender (line 15) | func TestStorageClassRender(t *testing.T) { FILE: internal/render/screen_dump.go type ScreenDump (line 20) | type ScreenDump struct method ColorerFunc (line 25) | func (ScreenDump) ColorerFunc() model1.ColorerFunc { method Header (line 32) | func (ScreenDump) Header(string) model1.Header { method Render (line 42) | func (ScreenDump) Render(o any, _ string, r *model1.Row) error { function timeToAge (line 62) | func timeToAge(timestamp time.Time) string { type FileRes (line 67) | type FileRes struct method GetObjectKind (line 73) | func (FileRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 78) | func (c FileRes) DeepCopyObject() runtime.Object { FILE: internal/render/screen_dump_test.go function TestScreenDumpRender (line 17) | func TestScreenDumpRender(t *testing.T) { type fileInfo (line 36) | type fileInfo struct method Name (line 40) | func (fileInfo) Name() string { return "bob" } method Size (line 41) | func (fileInfo) Size() int64 { return 100 } method ModTime (line 42) | func (fileInfo) ModTime() time.Time { return testTime() } method IsDir (line 43) | func (fileInfo) IsDir() bool { return false } method Sys (line 44) | func (fileInfo) Sys() any { return nil } method Mode (line 46) | func (fileInfo) Mode() os.FileMode { FILE: internal/render/secret.go type Secret (line 27) | type Secret struct method Header (line 32) | func (s Secret) Header(_ string) model1.Header { method Render (line 37) | func (s Secret) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 57) | func (Secret) defaultRow(raw *unstructured.Unstructured, r *model1.Row... FILE: internal/render/section.go type Level (line 7) | type Level constant OkLevel (line 11) | OkLevel Level = iota constant InfoLevel (line 13) | InfoLevel constant WarnLevel (line 15) | WarnLevel constant ErrorLevel (line 17) | ErrorLevel type Sections (line 22) | type Sections type Section (line 25) | type Section struct type Outcome (line 32) | type Outcome type Issues (line 35) | type Issues type Issue (line 38) | type Issue struct FILE: internal/render/sts.go type StatefulSet (line 32) | type StatefulSet struct method Header (line 37) | func (s StatefulSet) Header(_ string) model1.Header { method Render (line 42) | func (s StatefulSet) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 62) | func (s StatefulSet) defaultRow(raw *unstructured.Unstructured, r *mod... method diagnose (line 91) | func (StatefulSet) diagnose(d, c, r int32) error { FILE: internal/render/sts_test.go function TestStatefulSetRender (line 15) | func TestStatefulSetRender(t *testing.T) { FILE: internal/render/subject.go type Subject (line 16) | type Subject struct method ColorerFunc (line 21) | func (Subject) ColorerFunc() model1.ColorerFunc { method Header (line 28) | func (Subject) Header(string) model1.Header { method Render (line 38) | func (s Subject) Render(o any, _ string, r *model1.Row) error { type SubjectRes (line 59) | type SubjectRes struct method GetObjectKind (line 64) | func (SubjectRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 69) | func (s SubjectRes) DeepCopyObject() runtime.Object { type Subjects (line 74) | type Subjects method Upsert (line 77) | func (ss Subjects) Upsert(s SubjectRes) Subjects { method find (line 88) | func (ss Subjects) find(res string) (int, bool) { FILE: internal/render/svc.go type Service (line 34) | type Service struct method Header (line 39) | func (s Service) Header(_ string) model1.Header { method Render (line 44) | func (s Service) Render(o any, _ string, row *model1.Row) error { method defaultRow (line 64) | func (s Service) defaultRow(raw *unstructured.Unstructured, r *model1.... method diagnose (line 88) | func (Service) diagnose() error { function toIP (line 95) | func toIP(ip string) string { function getSvcExtIPS (line 102) | func getSvcExtIPS(svc *v1.Service) []string { function lbIngressIP (line 126) | func lbIngressIP(s v1.LoadBalancerStatus) string { function toIPs (line 140) | func toIPs(svcType v1.ServiceType, ips []string) string { function ToPorts (line 153) | func ToPorts(pp []v1.ServicePort) string { FILE: internal/render/svc_test.go function TestServiceRender (line 15) | func TestServiceRender(t *testing.T) { function BenchmarkSvcRender (line 24) | func BenchmarkSvcRender(b *testing.B) { FILE: internal/render/table.go constant ageTableCol (line 20) | ageTableCol = "Age" type Table (line 25) | type Table struct method IsGeneric (line 33) | func (*Table) IsGeneric() bool { method setAgeIndex (line 37) | func (t *Table) setAgeIndex(idx int) { method getAgeIndex (line 43) | func (t *Table) getAgeIndex() int { method SetTable (line 50) | func (t *Table) SetTable(ns string, table *metav1.Table) { method ColorerFunc (line 56) | func (*Table) ColorerFunc() model1.ColorerFunc { method Header (line 61) | func (t *Table) Header(string) model1.Header { method defaultHeader (line 66) | func (t *Table) defaultHeader() model1.Header { method Render (line 87) | func (t *Table) Render(o any, ns string, r *model1.Row) error { method defaultRow (line 112) | func (t *Table) defaultRow(row *metav1.TableRow, ns string, r *model1.... FILE: internal/render/table_int_test.go function Test_defaultHeader (line 11) | func Test_defaultHeader(t *testing.T) { FILE: internal/render/table_test.go function TestGenericRender (line 20) | func TestGenericRender(t *testing.T) { function TestGenericCustRender (line 94) | func TestGenericCustRender(t *testing.T) { function makeNSGeneric (line 144) | func makeNSGeneric() *metav1beta1.Table { function makeNoNSGeneric (line 177) | func makeNoNSGeneric() *metav1beta1.Table { function makeAgeGeneric (line 207) | func makeAgeGeneric() *metav1beta1.Table { FILE: internal/render/types.go constant NonResource (line 8) | NonResource = "*" constant Terminating (line 13) | Terminating = "Terminating" constant Running (line 16) | Running = "Running" constant Initialized (line 19) | Initialized = "Initialized" constant Completed (line 22) | Completed = "Completed" constant ContainerCreating (line 25) | ContainerCreating = "ContainerCreating" constant PodInitializing (line 28) | PodInitializing = "PodInitializing" constant Pending (line 31) | Pending = "Pending" constant Blank (line 34) | Blank = "" constant MissingValue (line 39) | MissingValue = "" constant NAValue (line 42) | NAValue = "n/a" constant UnknownValue (line 45) | UnknownValue = "" constant UnsetValue (line 48) | UnsetValue = "" constant ZeroValue (line 51) | ZeroValue = "0" FILE: internal/render/workload.go type Workload (line 28) | type Workload struct method ColorerFunc (line 33) | func (Workload) ColorerFunc() model1.ColorerFunc { method Header (line 51) | func (Workload) Header(string) model1.Header { method Render (line 56) | func (Workload) Render(o any, _ string, r *model1.Row) error { type WorkloadRes (line 76) | type WorkloadRes struct method GetObjectKind (line 81) | func (*WorkloadRes) GetObjectKind() schema.ObjectKind { method DeepCopyObject (line 86) | func (a *WorkloadRes) DeepCopyObject() runtime.Object { FILE: internal/slogs/child.go function CLog (line 9) | func CLog(subsys string) *slog.Logger { FILE: internal/slogs/keys.go constant Error (line 8) | Error = "error" constant Stack (line 11) | Stack = "stack" constant Subsys (line 14) | Subsys = "subsys" constant SchemaFile (line 17) | SchemaFile = "schema-file" constant RefType (line 20) | RefType = "ref-type" constant GVR (line 23) | GVR = "gvr" constant AuthSpec (line 26) | AuthSpec = "auth-spec" constant AuthStatus (line 29) | AuthStatus = "auth-status" constant AuthReason (line 32) | AuthReason = "auth-reason" constant Port (line 35) | Port = "port" constant Address (line 38) | Address = "address" constant ResName (line 41) | ResName = "res-name" constant Verb (line 44) | Verb = "verb" constant ResType (line 47) | ResType = "res-type" constant View (line 50) | View = "view" constant GOR (line 53) | GOR = "gor" constant Shortcut (line 56) | Shortcut = "shortcut" constant Page (line 59) | Page = "page" constant Skin (line 62) | Skin = "skin" constant CmdHist (line 65) | CmdHist = "cmd-hist" constant Image (line 68) | Image = "image" constant FQN (line 71) | FQN = "fqn" constant ConfigName (line 74) | ConfigName = "config-name" constant CompName (line 77) | CompName = "comp-name" constant Command (line 80) | Command = "cmd" constant Context (line 83) | Context = "context" constant Cluster (line 86) | Cluster = "cluster" constant Container (line 89) | Container = "container" constant Options (line 92) | Options = "options" constant Count (line 95) | Count = "count" constant MaxRetries (line 98) | MaxRetries = "max-retries" constant Retry (line 101) | Retry = "retry" constant Message (line 104) | Message = "message" constant Index (line 107) | Index = "index" constant Path (line 110) | Path = "path" constant Dir (line 113) | Dir = "dir" constant FileName (line 116) | FileName = "file-name" constant Key (line 119) | Key = "key" constant Plugin (line 122) | Plugin = "plugin" constant Component (line 125) | Component = "component" constant RowID (line 128) | RowID = "row-id" constant Cell (line 131) | Cell = "cell" constant HeaderSize (line 134) | HeaderSize = "row-size" constant Namespace (line 137) | Namespace = "ns" constant AllNS (line 140) | AllNS = "all-ns" constant Max (line 143) | Max = "max" constant Elapsed (line 146) | Elapsed = "elapsed" constant Log (line 149) | Log = "log" constant Annotation (line 152) | Annotation = "annotation" constant Bool (line 155) | Bool = "bool" constant Replicas (line 158) | Replicas = "replicas" constant Revision (line 161) | Revision = "revision" constant ColName (line 164) | ColName = "col-name" constant URL (line 167) | URL = "url" constant Attr (line 170) | Attr = "attr" constant Name (line 173) | Name = "name" constant Matches (line 176) | Matches = "matches" constant Line (line 179) | Line = "line" constant Sig (line 182) | Sig = "signal" constant Bin (line 185) | Bin = "binary" constant Args (line 188) | Args = "args" constant PodPhase (line 191) | PodPhase = "pod-phase" constant ShellPodCfg (line 194) | ShellPodCfg = "shell-pod-cfg" constant PFID (line 197) | PFID = "port-fwd-id" constant PFTunnel (line 200) | PFTunnel = "port-fwd-tunnel" constant Config (line 203) | Config = "config" constant ResKind (line 206) | ResKind = "res-kind" constant ResGrpVersion (line 209) | ResGrpVersion = "res-grp-version" constant ID (line 212) | ID = "id" constant ViewSetting (line 215) | ViewSetting = "view-setting" constant JQExp (line 218) | JQExp = "jq-exp" constant Duration (line 221) | Duration = "duration" constant Type (line 224) | Type = "type" constant Requested (line 227) | Requested = "requested" constant Minimum (line 230) | Minimum = "minimum" FILE: internal/tchart/component.go type Component (line 12) | type Component struct method SetFocusColorNames (line 40) | func (c *Component) SetFocusColorNames(fg, bg string) { method SetBackgroundColor (line 45) | func (c *Component) SetBackgroundColor(color tcell.Color) { method ID (line 54) | func (c *Component) ID() string { method SetLegend (line 59) | func (c *Component) SetLegend(l string) { method InputHandler (line 66) | func (c *Component) InputHandler() func(event *tcell.EventKey, setFocu... method IsDial (line 80) | func (*Component) IsDial() bool { method SetBlurFunc (line 85) | func (c *Component) SetBlurFunc(handler func(key tcell.Key)) *Component { method SetSeriesColors (line 91) | func (c *Component) SetSeriesColors(cc ...tcell.Color) { method GetSeriesColorNames (line 98) | func (c *Component) GetSeriesColorNames() []string { method colorForSeries (line 117) | func (c *Component) colorForSeries() []tcell.Color { method asRect (line 123) | func (c *Component) asRect() image.Rectangle { function NewComponent (line 25) | func NewComponent(id string) *Component { FILE: internal/tchart/component_int_test.go function TestComponentAsRect (line 11) | func TestComponentAsRect(t *testing.T) { function TestComponentColorForSeries (line 18) | func TestComponentColorForSeries(t *testing.T) { FILE: internal/tchart/component_test.go function TestCoSeriesColorNames (line 11) | func TestCoSeriesColorNames(t *testing.T) { FILE: internal/tchart/dot_matrix.go constant b (line 13) | b = ' ' constant h (line 14) | h = tview.BoxDrawingsHeavyHorizontal constant v (line 15) | v = tview.BoxDrawingsHeavyVertical constant tl (line 16) | tl = tview.BoxDrawingsHeavyDownAndRight constant tr (line 17) | tr = tview.BoxDrawingsHeavyDownAndLeft constant bl (line 18) | bl = tview.BoxDrawingsHeavyUpAndRight constant br (line 19) | br = tview.BoxDrawingsHeavyUpAndLeft constant teeL (line 20) | teeL = tview.BoxDrawingsHeavyVerticalAndLeft constant teeR (line 21) | teeR = tview.BoxDrawingsHeavyVerticalAndRight constant lh (line 22) | lh = '\u2578' constant rh (line 23) | rh = '\u257a' constant hv (line 24) | hv = '\u2579' constant lv (line 25) | lv = '\u257b' type Matrix (line 29) | type Matrix type Orientation (line 32) | type Orientation type DotMatrix (line 35) | type DotMatrix struct method Print (line 48) | func (DotMatrix) Print(n int) Matrix { function NewDotMatrix (line 40) | func NewDotMatrix() DotMatrix { function To3x3Char (line 53) | func To3x3Char(numb int) Matrix { FILE: internal/tchart/dot_matrix_test.go function TestDial3x3 (line 11) | func TestDial3x3(t *testing.T) { FILE: internal/tchart/gauge.go constant DeltaSame (line 14) | DeltaSame delta = iota constant DeltaMore (line 17) | DeltaMore constant DeltaLess (line 20) | DeltaLess type State (line 23) | type State struct type delta (line 27) | type delta type Gauge (line 30) | type Gauge struct method SetResolution (line 46) | func (g *Gauge) SetResolution(n int) { method IsDial (line 51) | func (*Gauge) IsDial() bool { method SetColorIndex (line 55) | func (*Gauge) SetColorIndex(int) {} method SetMax (line 56) | func (*Gauge) SetMax(float64) {} method GetMax (line 57) | func (*Gauge) GetMax() float64 { return 0 } method AddMetric (line 60) | func (*Gauge) AddMetric(time.Time, float64) {} method Add (line 63) | func (g *Gauge) Add(ok, fault int) { method Draw (line 79) | func (g *Gauge) Draw(sc tcell.Screen) { method drawNum (line 115) | func (g *Gauge) drawNum(sc tcell.Screen, o image.Point, n number, styl... method drawDial (line 141) | func (*Gauge) drawDial(sc tcell.Screen, m Matrix, o image.Point, style... function NewGauge (line 39) | func NewGauge(id string) *Gauge { type number (line 71) | type number struct function computeDelta (line 157) | func computeDelta(d1, d2 int) delta { function printDelta (line 173) | func printDelta(sc tcell.Screen, d delta, o image.Point, s tcell.Style) { FILE: internal/tchart/gauge_int_test.go function TestComputeDeltas (line 9) | func TestComputeDeltas(t *testing.T) { FILE: internal/tchart/series.go type MetricSeries (line 10) | type MetricSeries method Empty (line 35) | func (mm MetricSeries) Empty() bool { method Merge (line 39) | func (mm MetricSeries) Merge(metrics MetricSeries) { method Dump (line 45) | func (mm MetricSeries) Dump() { method Add (line 52) | func (mm MetricSeries) Add(t time.Time, f float64) { method Keys (line 58) | func (mm MetricSeries) Keys() Times { method Truncate (line 68) | func (mm MetricSeries) Truncate(size int) { type Times (line 12) | type Times method Len (line 14) | func (tt Times) Len() int { method Swap (line 18) | func (tt Times) Swap(i, j int) { method Less (line 22) | func (tt Times) Less(i, j int) bool { method Includes (line 26) | func (tt Times) Includes(ti time.Time) bool { FILE: internal/tchart/series_test.go function TestSeriesAdd (line 11) | func TestSeriesAdd(t *testing.T) { function TestSeriesTruncate (line 40) | func TestSeriesTruncate(t *testing.T) { function makeSeries (line 62) | func makeSeries() tchart.MetricSeries { FILE: internal/tchart/sparkline.go constant axisColor (line 15) | axisColor = "#ff0066" type block (line 17) | type block struct type SparkLine (line 23) | type SparkLine struct method GetSeriesColorNames (line 42) | func (s *SparkLine) GetSeriesColorNames() []string { method SetColorIndex (line 61) | func (s *SparkLine) SetColorIndex(n int) { method SetMax (line 65) | func (s *SparkLine) SetMax(m float64) { method GetMax (line 71) | func (s *SparkLine) GetMax() float64 { method Add (line 75) | func (*SparkLine) Add(int, int) {} method AddMetric (line 78) | func (s *SparkLine) AddMetric(t time.Time, f float64) { method printYAxis (line 84) | func (s *SparkLine) printYAxis(screen tcell.Screen, rect image.Rectang... method printXAxis (line 92) | func (s *SparkLine) printXAxis(screen tcell.Screen, rect image.Rectang... method Draw (line 118) | func (s *SparkLine) Draw(screen tcell.Screen) { method drawBlock (line 160) | func (s *SparkLine) drawBlock(r image.Rectangle, screen tcell.Screen, ... method cutSet (line 176) | func (s *SparkLine) cutSet(width int) { method makeBlock (line 185) | func (*SparkLine) makeBlock(v, scale float64) block { function NewSparkLine (line 33) | func NewSparkLine(id, unit string) *SparkLine { FILE: internal/ui/action.go type RangeFn (line 18) | type RangeFn type ActionHandler (line 21) | type ActionHandler type ActionOpts (line 24) | type ActionOpts struct type KeyAction (line 33) | type KeyAction struct type KeyMap (line 40) | type KeyMap type KeyActions (line 43) | type KeyActions struct method Get (line 86) | func (a *KeyActions) Get(key tcell.Key) (KeyAction, bool) { method Len (line 96) | func (a *KeyActions) Len() int { method Reset (line 104) | func (a *KeyActions) Reset(aa *KeyActions) { method Range (line 110) | func (a *KeyActions) Range(f RangeFn) { method Add (line 122) | func (a *KeyActions) Add(k tcell.Key, ka KeyAction) { method Bulk (line 130) | func (a *KeyActions) Bulk(aa KeyMap) { method Merge (line 140) | func (a *KeyActions) Merge(aa *KeyActions) { method Clear (line 150) | func (a *KeyActions) Clear() { method ClearDanger (line 160) | func (a *KeyActions) ClearDanger() { method Set (line 172) | func (a *KeyActions) Set(aa *KeyActions) { method Delete (line 182) | func (a *KeyActions) Delete(kk ...tcell.Key) { method Hints (line 192) | func (a *KeyActions) Hints() model.MenuHints { function NewKeyAction (line 50) | func NewKeyAction(d string, a ActionHandler, visible bool) KeyAction { function NewSharedKeyAction (line 57) | func NewSharedKeyAction(d string, a ActionHandler, visible bool) KeyActi... function NewKeyActionWithOpts (line 65) | func NewKeyActionWithOpts(d string, a ActionHandler, opts ActionOpts) Ke... function NewKeyActions (line 74) | func NewKeyActions() *KeyActions { function NewKeyActionsFromMap (line 81) | func NewKeyActionsFromMap(mm KeyMap) *KeyActions { FILE: internal/ui/action_test.go function TestKeyActionsHints (line 14) | func TestKeyActionsHints(t *testing.T) { FILE: internal/ui/app.go type App (line 20) | type App struct method Init (line 55) | func (a *App) Init() { method QueueUpdate (line 65) | func (a *App) QueueUpdate(f func()) { method QueueUpdateDraw (line 75) | func (a *App) QueueUpdateDraw(f func()) { method IsRunning (line 85) | func (a *App) IsRunning() bool { method SetRunning (line 92) | func (a *App) SetRunning(f bool) { method BufferCompleted (line 99) | func (*App) BufferCompleted(_, _ string) {} method BufferChanged (line 102) | func (*App) BufferChanged(_, _ string) {} method BufferActive (line 105) | func (a *App) BufferActive(state bool, _ model.BufferKind) { method SuggestionChanged (line 120) | func (*App) SuggestionChanged([]string) {} method StylesChanged (line 123) | func (a *App) StylesChanged(s *config.Styles) { method Conn (line 140) | func (a *App) Conn() client.Connection { method bindKeys (line 144) | func (a *App) bindKeys() { method BailOut (line 155) | func (a *App) BailOut(exitCode int) { method ResetPrompt (line 165) | func (a *App) ResetPrompt(m PromptModel) { method ResetCmd (line 173) | func (a *App) ResetCmd() { method saveCmd (line 177) | func (a *App) saveCmd(*tcell.EventKey) *tcell.EventKey { method ActivateCmd (line 187) | func (a *App) ActivateCmd(b bool) { method GetCmd (line 192) | func (a *App) GetCmd() string { method CmdBuff (line 197) | func (a *App) CmdBuff() *model.FishBuff { method HasCmd (line 202) | func (a *App) HasCmd() bool { method InCmdMode (line 207) | func (a *App) InCmdMode() bool { method HasAction (line 212) | func (a *App) HasAction(key tcell.Key) (KeyAction, bool) { method GetActions (line 217) | func (a *App) GetActions() *KeyActions { method AddActions (line 222) | func (a *App) AddActions(aa *KeyActions) { method Views (line 227) | func (a *App) Views() map[string]tview.Primitive { method clearCmd (line 231) | func (a *App) clearCmd(evt *tcell.EventKey) *tcell.EventKey { method activateCmd (line 240) | func (a *App) activateCmd(evt *tcell.EventKey) *tcell.EventKey { method redrawCmd (line 251) | func (a *App) redrawCmd(evt *tcell.EventKey) *tcell.EventKey { method Crumbs (line 259) | func (a *App) Crumbs() *Crumbs { method Logo (line 264) | func (a *App) Logo() *Logo { method Prompt (line 269) | func (a *App) Prompt() *Prompt { method Menu (line 274) | func (a *App) Menu() *Menu { method Flash (line 279) | func (a *App) Flash() *model.Flash { function NewApp (line 34) | func NewApp(cfg *config.Config, _ string) *App { function AsKey (line 287) | func AsKey(evt *tcell.EventKey) tcell.Key { FILE: internal/ui/app_test.go function TestAppGetCmd (line 14) | func TestAppGetCmd(t *testing.T) { function TestAppInCmdMode (line 22) | func TestAppInCmdMode(t *testing.T) { function TestAppResetCmd (line 32) | func TestAppResetCmd(t *testing.T) { function TestAppHasCmd (line 42) | func TestAppHasCmd(t *testing.T) { function TestAppGetActions (line 53) | func TestAppGetActions(t *testing.T) { function TestAppViews (line 62) | func TestAppViews(t *testing.T) { FILE: internal/ui/config.go type synchronizer (line 22) | type synchronizer interface type Configurator (line 31) | type Configurator struct method CustomView (line 39) | func (c *Configurator) CustomView() *config.CustomView { method HasSkin (line 48) | func (c *Configurator) HasSkin() bool { method CustomViewsWatcher (line 53) | func (c *Configurator) CustomViewsWatcher(ctx context.Context, s synch... method RefreshCustomViews (line 92) | func (c *Configurator) RefreshCustomViews() error { method SkinsDirWatcher (line 99) | func (c *Configurator) SkinsDirWatcher(ctx context.Context, s synchron... method ConfigWatcher (line 135) | func (c *Configurator) ConfigWatcher(ctx context.Context, s synchroniz... method activeSkin (line 192) | func (c *Configurator) activeSkin() (string, bool) { method activeConfig (line 228) | func (c *Configurator) activeConfig() (cluster, contxt string, ok bool) { method RefreshStyles (line 245) | func (c *Configurator) RefreshStyles(s synchronizer) { method loadSkinFile (line 268) | func (c *Configurator) loadSkinFile(synchronizer) { method updateStyles (line 299) | func (c *Configurator) updateStyles(f string, invert bool) { FILE: internal/ui/config_int_test.go function Test_activeConfig (line 17) | func Test_activeConfig(t *testing.T) { FILE: internal/ui/config_test.go function TestSkinnedContext (line 24) | func TestSkinnedContext(t *testing.T) { function TestBenchConfig (line 55) | func TestBenchConfig(t *testing.T) { type synchronizer (line 67) | type synchronizer struct method Flash (line 73) | func (synchronizer) Flash() *model.Flash { method Logo (line 76) | func (synchronizer) Logo() *ui.Logo { return nil } method UpdateClusterInfo (line 77) | func (synchronizer) UpdateClusterInfo() {} method QueueUpdateDraw (line 78) | func (synchronizer) QueueUpdateDraw(func()) {} method QueueUpdate (line 79) | func (synchronizer) QueueUpdate(func()) {} function newMockSynchronizer (line 69) | func newMockSynchronizer() synchronizer { FILE: internal/ui/crumbs.go type Crumbs (line 16) | type Crumbs struct method StylesChanged (line 40) | func (c *Crumbs) StylesChanged(s *config.Styles) { method StackPushed (line 47) | func (c *Crumbs) StackPushed(comp model.Component) { method StackPopped (line 53) | func (c *Crumbs) StackPopped(_, _ model.Component) { method StackTop (line 59) | func (*Crumbs) StackTop(model.Component) {} method refresh (line 62) | func (c *Crumbs) refresh(crumbs []string) { function NewCrumbs (line 24) | func NewCrumbs(styles *config.Styles) *Crumbs { FILE: internal/ui/crumbs_test.go function init (line 21) | func init() { function TestNewCrumbs (line 25) | func TestNewCrumbs(t *testing.T) { type c (line 36) | type c struct method SetCommand (line 44) | func (c) SetCommand(*cmd.Interpreter) {} method InCmdMode (line 45) | func (c) InCmdMode() bool {... method HasFocus (line 46) | func (c) HasFocus() bool {... method Hints (line 47) | func (c) Hints() model.MenuHints {... method ExtraHints (line 48) | func (c) ExtraHints() map[string]string {... method Name (line 49) | func (c c) Name() string {... method Draw (line 50) | func (c) Draw(tcell.Screen) {} method InputHandler (line 51) | func (c) InputHandler() func(*tcell.EventKey, func(tview.Primitive)) {... method MouseHandler (line 52) | func (c) MouseHandler() func(action tview.MouseAction, event *tcell.Ev... method SetRect (line 55) | func (c) SetRect(int, int, int, int) {} method GetRect (line 56) | func (c) GetRect() (a, b, c, d int) { return 0, 0, 0, 0 } method GetFocusable (line 57) | func (c c) GetFocusable() tview.Focusable { return c } method Focus (line 58) | func (c) Focus(func(tview.Primitive)) {} method Blur (line 59) | func (c) Blur() {} method Start (line 60) | func (c) Start() {} method Stop (line 61) | func (c) Stop() {} method Init (line 62) | func (c) Init(context.Context) error { return nil } method SetFilter (line 63) | func (c) SetFilter(string, bool) {} method SetLabelSelector (line 64) | func (c) SetLabelSelector(labels.Selector, bool) {} function makeComponent (line 40) | func makeComponent(n string) c { FILE: internal/ui/deltas.go constant DeltaSign (line 18) | DeltaSign = "Δ" constant PlusSign (line 20) | PlusSign = "[red::b]↑" constant MinusSign (line 22) | MinusSign = "[green::b]↓" function deltaNumb (line 27) | func deltaNumb(o, n string) (string, bool) { function deltaPerc (line 46) | func deltaPerc(o, n string) (string, bool) { function deltaQty (line 64) | func deltaQty(o, n string) (string, bool) { function deltaDur (line 81) | func deltaDur(o, n string) (string, bool) { function Deltas (line 99) | func Deltas(o, n string) string { function percentage (line 129) | func percentage(s string) (int, bool) { function numerical (line 138) | func numerical(s string) (int, bool) { FILE: internal/ui/deltas_test.go function TestDeltas (line 13) | func TestDeltas(t *testing.T) { FILE: internal/ui/dialog/confirm.go constant dialogKey (line 12) | dialogKey = "dialog" type confirmFunc (line 14) | type confirmFunc function ShowConfirmAck (line 16) | func ShowConfirmAck(app *ui.App, pages *ui.Pages, acceptStr string, over... function ShowConfirm (line 70) | func ShowConfirm(styles *config.Dialog, pages *ui.Pages, title, msg stri... function dismiss (line 106) | func dismiss(pages *ui.Pages) { FILE: internal/ui/dialog/confirm_test.go function TestConfirmDialog (line 15) | func TestConfirmDialog(t *testing.T) { FILE: internal/ui/dialog/delete.go constant noDeletePropagation (line 14) | noDeletePropagation = "None" constant defaultPropagationIdx (line 15) | defaultPropagationIdx = 0 type okFunc (line 19) | type okFunc type cancelFunc (line 20) | type cancelFunc function ShowDelete (line 31) | func ShowDelete(styles *config.Dialog, pages *ui.Pages, msg string, ok o... FILE: internal/ui/dialog/delete_test.go function TestDeleteDialog (line 16) | func TestDeleteDialog(t *testing.T) { FILE: internal/ui/dialog/error.go function ShowError (line 17) | func ShowError(styles *config.Dialog, pages *ui.Pages, msg string) { function cowTalk (line 43) | func cowTalk(says string) string { FILE: internal/ui/dialog/error_test.go function TestErrorDialog (line 15) | func TestErrorDialog(t *testing.T) { FILE: internal/ui/dialog/plugin_inputs.go constant pluginInputsKey (line 17) | pluginInputsKey = "pluginInputs" type PluginInputValues (line 20) | type PluginInputValues type PluginInputsOkFunc (line 23) | type PluginInputsOkFunc type PluginInputsFlashFunc (line 26) | type PluginInputsFlashFunc function ShowPluginInputs (line 29) | func ShowPluginInputs( function dismissPluginInputs (line 181) | func dismissPluginInputs(pages *ui.Pages) { FILE: internal/ui/dialog/prompt.go type promptAction (line 14) | type promptAction function ShowPrompt (line 17) | func ShowPrompt(styles *config.Dialog, pages *ui.Pages, title, msg strin... FILE: internal/ui/dialog/prompt_test.go function TestShowPrompt (line 18) | func TestShowPrompt(t *testing.T) { FILE: internal/ui/dialog/restart.go type RestartFn (line 13) | type RestartFn type RestartDialogOpts (line 15) | type RestartDialogOpts struct function ShowRestart (line 22) | func ShowRestart(styles *config.Dialog, pages *ui.Pages, opts *RestartDi... FILE: internal/ui/dialog/selection.go type SelectAction (line 12) | type SelectAction function ShowSelection (line 14) | func ShowSelection(styles *config.Dialog, pages *ui.Pages, title string,... FILE: internal/ui/dialog/transfer.go constant confirmKey (line 15) | confirmKey = "confirm" type TransferFn (line 17) | type TransferFn type TransferArgs (line 19) | type TransferArgs struct type TransferDialogOpts (line 25) | type TransferDialogOpts struct function ShowUploads (line 34) | func ShowUploads(styles *config.Dialog, pages *ui.Pages, opts *TransferD... function dismissConfirm (line 125) | func dismissConfirm(pages *ui.Pages) { FILE: internal/ui/flash.go constant emoHappy (line 17) | emoHappy = "😎" constant emoDoh (line 18) | emoDoh = "😗" constant emoRed (line 19) | emoRed = "😡" type Flash (line 23) | type Flash struct method SetTestMode (line 46) | func (f *Flash) SetTestMode(b bool) { method StylesChanged (line 51) | func (f *Flash) StylesChanged(s *config.Styles) { method Watch (line 57) | func (f *Flash) Watch(ctx context.Context, c model.FlashChan) { method SetMessage (line 70) | func (f *Flash) SetMessage(m model.LevelMessage) { method flashEmoji (line 87) | func (f *Flash) flashEmoji(l model.FlashLevel) string { function NewFlash (line 31) | func NewFlash(app *App) *Flash { function flashColor (line 104) | func flashColor(l model.FlashLevel) tcell.Color { FILE: internal/ui/flash_test.go function TestFlash (line 17) | func TestFlash(t *testing.T) { FILE: internal/ui/indicator.go type StatusIndicator (line 18) | type StatusIndicator struct method StylesChanged (line 44) | func (s *StatusIndicator) StylesChanged(styles *config.Styles) { method ClusterInfoUpdated (line 53) | func (s *StatusIndicator) ClusterInfoUpdated(data *model.ClusterMeta) { method ClusterInfoChanged (line 74) | func (s *StatusIndicator) ClusterInfoChanged(prev, cur *model.ClusterM... method SetPermanent (line 98) | func (s *StatusIndicator) SetPermanent(info string) { method Reset (line 104) | func (s *StatusIndicator) Reset() { method Err (line 110) | func (s *StatusIndicator) Err(msg string) { method Warn (line 115) | func (s *StatusIndicator) Warn(msg string) { method Info (line 120) | func (s *StatusIndicator) Info(msg string) { method update (line 124) | func (s *StatusIndicator) update(msg, c string) { method setText (line 128) | func (s *StatusIndicator) setText(msg string) { function NewStatusIndicator (line 28) | func NewStatusIndicator(app *App, styles *config.Styles) *StatusIndicator { constant statusIndicatorFmt (line 50) | statusIndicatorFmt = "[%s::b]K9s [%s::]%s [%s::]%s:%s:%s [%s::]%s[%s::]:... function AsPercDelta (line 151) | func AsPercDelta(ov, nv int) string { FILE: internal/ui/indicator_test.go function TestIndicatorReset (line 15) | func TestIndicatorReset(t *testing.T) { function TestIndicatorInfo (line 24) | func TestIndicatorInfo(t *testing.T) { function TestIndicatorWarn (line 31) | func TestIndicatorWarn(t *testing.T) { function TestIndicatorErr (line 38) | func TestIndicatorErr(t *testing.T) { FILE: internal/ui/key.go function init (line 8) | func init() { function initKeys (line 12) | func initKeys() { constant Key0 (line 25) | Key0 tcell.Key = iota + 48 constant Key1 (line 26) | Key1 constant Key2 (line 27) | Key2 constant Key3 (line 28) | Key3 constant Key4 (line 29) | Key4 constant Key5 (line 30) | Key5 constant Key6 (line 31) | Key6 constant Key7 (line 32) | Key7 constant Key8 (line 33) | Key8 constant Key9 (line 34) | Key9 constant KeyShift0 (line 39) | KeyShift0 tcell.Key = 41 constant KeyShift1 (line 40) | KeyShift1 tcell.Key = 33 constant KeyShift2 (line 41) | KeyShift2 tcell.Key = 64 constant KeyShift3 (line 42) | KeyShift3 tcell.Key = 35 constant KeyShift4 (line 43) | KeyShift4 tcell.Key = 36 constant KeyShift5 (line 44) | KeyShift5 tcell.Key = 37 constant KeyShift6 (line 45) | KeyShift6 tcell.Key = 94 constant KeyShift7 (line 46) | KeyShift7 tcell.Key = 38 constant KeyShift8 (line 47) | KeyShift8 tcell.Key = 42 constant KeyShift9 (line 48) | KeyShift9 tcell.Key = 40 constant KeyA (line 53) | KeyA tcell.Key = iota + 97 constant KeyB (line 54) | KeyB constant KeyC (line 55) | KeyC constant KeyD (line 56) | KeyD constant KeyE (line 57) | KeyE constant KeyF (line 58) | KeyF constant KeyG (line 59) | KeyG constant KeyH (line 60) | KeyH constant KeyI (line 61) | KeyI constant KeyJ (line 62) | KeyJ constant KeyK (line 63) | KeyK constant KeyL (line 64) | KeyL constant KeyM (line 65) | KeyM constant KeyN (line 66) | KeyN constant KeyO (line 67) | KeyO constant KeyP (line 68) | KeyP constant KeyQ (line 69) | KeyQ constant KeyR (line 70) | KeyR constant KeyS (line 71) | KeyS constant KeyT (line 72) | KeyT constant KeyU (line 73) | KeyU constant KeyV (line 74) | KeyV constant KeyW (line 75) | KeyW constant KeyX (line 76) | KeyX constant KeyY (line 77) | KeyY constant KeyZ (line 78) | KeyZ constant KeyHelp (line 79) | KeyHelp = 63 constant KeySlash (line 80) | KeySlash = 47 constant KeyColon (line 81) | KeyColon = 58 constant KeySpace (line 82) | KeySpace = 32 constant KeyDash (line 83) | KeyDash = 45 constant KeyLeftBracket (line 84) | KeyLeftBracket = 91 constant KeyRightBracket (line 85) | KeyRightBracket = 93 constant KeyShiftA (line 90) | KeyShiftA tcell.Key = iota + 65 constant KeyShiftB (line 91) | KeyShiftB constant KeyShiftC (line 92) | KeyShiftC constant KeyShiftD (line 93) | KeyShiftD constant KeyShiftE (line 94) | KeyShiftE constant KeyShiftF (line 95) | KeyShiftF constant KeyShiftG (line 96) | KeyShiftG constant KeyShiftH (line 97) | KeyShiftH constant KeyShiftI (line 98) | KeyShiftI constant KeyShiftJ (line 99) | KeyShiftJ constant KeyShiftK (line 100) | KeyShiftK constant KeyShiftL (line 101) | KeyShiftL constant KeyShiftM (line 102) | KeyShiftM constant KeyShiftN (line 103) | KeyShiftN constant KeyShiftO (line 104) | KeyShiftO constant KeyShiftP (line 105) | KeyShiftP constant KeyShiftQ (line 106) | KeyShiftQ constant KeyShiftR (line 107) | KeyShiftR constant KeyShiftS (line 108) | KeyShiftS constant KeyShiftT (line 109) | KeyShiftT constant KeyShiftU (line 110) | KeyShiftU constant KeyShiftV (line 111) | KeyShiftV constant KeyShiftW (line 112) | KeyShiftW constant KeyShiftX (line 113) | KeyShiftX constant KeyShiftY (line 114) | KeyShiftY constant KeyShiftZ (line 115) | KeyShiftZ function initNumbKeys (line 132) | func initNumbKeys() { function initStdKeys (line 145) | func initStdKeys() { function initShiftNumKeys (line 174) | func initShiftNumKeys() { function initShiftKeys (line 187) | func initShiftKeys() { FILE: internal/ui/logo.go type Logo (line 16) | type Logo struct method Logo (line 43) | func (l *Logo) Logo() *tview.TextView { method Status (line 48) | func (l *Logo) Status() *tview.TextView { method StylesChanged (line 53) | func (l *Logo) StylesChanged(s *config.Styles) { method IsBenchmarking (line 62) | func (l *Logo) IsBenchmarking() bool { method Reset (line 68) | func (l *Logo) Reset() { method Err (line 74) | func (l *Logo) Err(msg string) { method Warn (line 79) | func (l *Logo) Warn(msg string) { method Info (line 84) | func (l *Logo) Info(msg string) { method update (line 88) | func (l *Logo) update(msg string, c config.Color) { method refreshStatus (line 93) | func (l *Logo) refreshStatus(msg string, c config.Color) { method refreshLogo (line 103) | func (l *Logo) refreshLogo(c config.Color) { function NewLogo (line 25) | func NewLogo(styles *config.Styles) *Logo { function logo (line 115) | func logo() *tview.TextView { function status (line 125) | func status() *tview.TextView { FILE: internal/ui/logo_test.go function TestNewLogoView (line 14) | func TestNewLogoView(t *testing.T) { function TestLogoStatus (line 23) | func TestLogoStatus(t *testing.T) { FILE: internal/ui/menu.go constant menuIndexFmt (line 21) | menuIndexFmt = " [key:-:b]<%d> [fg:-:fgstyle]%s " constant maxRows (line 22) | maxRows = 6 type Menu (line 28) | type Menu struct method StylesChanged (line 47) | func (m *Menu) StylesChanged(s *config.Styles) { method StackPushed (line 60) | func (m *Menu) StackPushed(c model.Component) { method StackPopped (line 65) | func (m *Menu) StackPopped(_, top model.Component) { method StackTop (line 74) | func (m *Menu) StackTop(t model.Component) { method HydrateMenu (line 79) | func (m *Menu) HydrateMenu(hh model.MenuHints) { method hasDigits (line 105) | func (*Menu) hasDigits(hh model.MenuHints) bool { method buildMenuTable (line 117) | func (m *Menu) buildMenuTable(hh model.MenuHints, table []model.MenuHi... method layout (line 151) | func (m *Menu) layout(table []model.MenuHints, mm []int, out [][]strin... method formatMenu (line 159) | func (m *Menu) formatMenu(h model.MenuHint, size int) string { function NewMenu (line 35) | func NewMenu(styles *config.Styles) *Menu { function keyConv (line 175) | func keyConv(s string) string { function Truncate (line 187) | func Truncate(str string, width int) string { function ToMnemonic (line 191) | func ToMnemonic(s string) string { function formatNSMenu (line 199) | func formatNSMenu(i int, name string, styles *config.Frame) string { function formatPlainMenu (line 208) | func formatPlainMenu(h model.MenuHint, size int, styles *config.Frame) s... FILE: internal/ui/menu_test.go function TestNewMenu (line 15) | func TestNewMenu(t *testing.T) { function TestActionHints (line 28) | func TestActionHints(t *testing.T) { FILE: internal/ui/modal_list.go type ModalList (line 11) | type ModalList struct method Draw (line 52) | func (m *ModalList) Draw(screen tcell.Screen) { method SetDoneFunc (line 74) | func (m *ModalList) SetDoneFunc(handler func(int, string)) *ModalList { method Focus (line 80) | func (m *ModalList) Focus(delegate func(p tview.Primitive)) { method HasFocus (line 85) | func (m *ModalList) HasFocus() bool { method MouseHandler (line 90) | func (m *ModalList) MouseHandler() func(action tview.MouseAction, even... method InputHandler (line 103) | func (m *ModalList) InputHandler() func(event *tcell.EventKey, setFocu... function NewModalList (line 25) | func NewModalList(title string, list *tview.List) *ModalList { FILE: internal/ui/padding.go type MaxyPad (line 15) | type MaxyPad function ComputeMaxColumns (line 18) | func ComputeMaxColumns(pads MaxyPad, sortColName string, t *model1.Table... function IsASCII (line 42) | func IsASCII(s string) bool { function Pad (line 52) | func Pad(s string, width int) string { FILE: internal/ui/padding_test.go function TestMaxColumn (line 14) | func TestMaxColumn(t *testing.T) { function TestIsASCII (line 92) | func TestIsASCII(t *testing.T) { function TestPad (line 107) | func TestPad(t *testing.T) { function BenchmarkMaxColumn (line 125) | func BenchmarkMaxColumn(b *testing.B) { FILE: internal/ui/pages.go type Pages (line 16) | type Pages struct method IsTopDialog (line 33) | func (p *Pages) IsTopDialog() bool { method Show (line 44) | func (p *Pages) Show(c model.Component) { method Current (line 49) | func (p *Pages) Current() model.Component { method addAndShow (line 59) | func (p *Pages) addAndShow(c model.Component) { method add (line 65) | func (p *Pages) add(c model.Component) { method delete (line 70) | func (p *Pages) delete(c model.Component) { method Dump (line 75) | func (p *Pages) Dump() { method StackPushed (line 85) | func (p *Pages) StackPushed(c model.Component) { method StackPopped (line 90) | func (p *Pages) StackPopped(o, _ model.Component) { method StackTop (line 95) | func (p *Pages) StackTop(top model.Component) { function NewPages (line 22) | func NewPages() *Pages { function componentID (line 104) | func componentID(c model.Component) string { FILE: internal/ui/pages_test.go function TestPagesPush (line 13) | func TestPagesPush(t *testing.T) { function TestPagesPop (line 24) | func TestPagesPop(t *testing.T) { FILE: internal/ui/prompt.go constant defaultPrompt (line 18) | defaultPrompt = "%c%c [::b]%s" constant defaultSpacer (line 19) | defaultSpacer = 4 type Suggester (line 28) | type Suggester interface type PromptModel (line 43) | type PromptModel interface type Prompt (line 79) | type Prompt struct method SendKey (line 116) | func (p *Prompt) SendKey(evt *tcell.EventKey) { method SendStrokes (line 121) | func (p *Prompt) SendStrokes(s string) { method Deactivate (line 128) | func (p *Prompt) Deactivate() { method SetModel (line 136) | func (p *Prompt) SetModel(m PromptModel) { method keyboard (line 144) | func (p *Prompt) keyboard(evt *tcell.EventKey) *tcell.EventKey { method StylesChanged (line 196) | func (p *Prompt) StylesChanged(s *config.Styles) { method InCmdMode (line 203) | func (p *Prompt) InCmdMode() bool { method activate (line 210) | func (p *Prompt) activate() { method Clear (line 217) | func (p *Prompt) Clear() { method Draw (line 224) | func (p *Prompt) Draw(sc tcell.Screen) { method update (line 231) | func (p *Prompt) update(text, suggestion string) { method write (line 236) | func (p *Prompt) write(text, suggest string) { method BufferCompleted (line 252) | func (p *Prompt) BufferCompleted(text, suggestion string) { method BufferChanged (line 257) | func (p *Prompt) BufferChanged(text, suggestion string) { method SuggestionChanged (line 262) | func (p *Prompt) SuggestionChanged(text, suggestion string) { method BufferActive (line 267) | func (p *Prompt) BufferActive(activate bool, kind model.BufferKind) { method prefixesFor (line 284) | func (p *Prompt) prefixesFor(k model.BufferKind) (ic, prefix rune) { method colorFor (line 315) | func (p *Prompt) colorFor(k model.BufferKind) tcell.Color { function NewPrompt (line 93) | func NewPrompt(app *App, noIcons bool, styles *config.Styles) *Prompt { function isValidInputRune (line 306) | func isValidInputRune(r rune) bool { FILE: internal/ui/prompt_test.go function TestCmdNew (line 16) | func TestCmdNew(t *testing.T) { function TestCmdUpdate (line 65) | func TestCmdUpdate(t *testing.T) { function TestCmdMode (line 78) | func TestCmdMode(t *testing.T) { function TestPrompt_Deactivate (line 90) | func TestPrompt_Deactivate(t *testing.T) { function TestPromptColor (line 104) | func TestPromptColor(t *testing.T) { function TestPromptStyleChanged (line 144) | func TestPromptStyleChanged(t *testing.T) { FILE: internal/ui/prompt_validation_test.go function TestPrompt_FiltersControlCharacters (line 19) | func TestPrompt_FiltersControlCharacters(t *testing.T) { function TestPrompt_AcceptsPrintableCharacters (line 46) | func TestPrompt_AcceptsPrintableCharacters(t *testing.T) { function TestPrompt_FiltersEscapeSequencePattern (line 90) | func TestPrompt_FiltersEscapeSequencePattern(t *testing.T) { function isControlChar (line 126) | func isControlChar(r rune) bool { FILE: internal/ui/select_table.go type SelectTable (line 12) | type SelectTable struct method SetModel (line 23) | func (s *SelectTable) SetModel(m Tabular) { method GetModel (line 28) | func (s *SelectTable) GetModel() Tabular { method ClearSelection (line 33) | func (s *SelectTable) ClearSelection() { method SelectFirstRow (line 39) | func (s *SelectTable) SelectFirstRow() { method GetSelectedItems (line 46) | func (s *SelectTable) GetSelectedItems() []string { method GetRowID (line 63) | func (s *SelectTable) GetRowID(index int) (string, bool) { method GetSelectedItem (line 74) | func (s *SelectTable) GetSelectedItem() string { method GetSelectedCell (line 89) | func (s *SelectTable) GetSelectedCell(col int) string { method SetSelectedFn (line 95) | func (s *SelectTable) SetSelectedFn(f func(string) string) { method GetSelectedRowIndex (line 100) | func (s *SelectTable) GetSelectedRowIndex() int { method SelectRow (line 106) | func (s *SelectTable) SelectRow(r, c int, broadcast bool) { method updateSelection (line 118) | func (s *SelectTable) updateSelection(broadcast bool) { method selectionChanged (line 123) | func (s *SelectTable) selectionChanged(r, c int) { method ClearMarks (line 135) | func (s *SelectTable) ClearMarks() { method DeleteMark (line 142) | func (s *SelectTable) DeleteMark(k string) { method ToggleMark (line 147) | func (s *SelectTable) ToggleMark() { method SpanMark (line 164) | func (s *SelectTable) SpanMark() { method markRange (line 199) | func (s *SelectTable) markRange(prev, curr int) { method IsMarked (line 221) | func (s *SelectTable) IsMarked(item string) bool { FILE: internal/ui/splash.go type Splash (line 35) | type Splash struct method layoutLogo (line 61) | func (*Splash) layoutLogo(t *tview.TextView, styles *config.Styles) { method layoutRev (line 69) | func (*Splash) layoutRev(t *tview.TextView, rev string, styles *config... function NewSplash (line 40) | func NewSplash(styles *config.Styles, version string) *Splash { FILE: internal/ui/splash_test.go function TestNewSplash (line 14) | func TestNewSplash(t *testing.T) { FILE: internal/ui/table.go constant maxTruncate (line 24) | maxTruncate = 50 type ColorerFunc (line 28) | type ColorerFunc type DecorateFunc (line 31) | type DecorateFunc type SelectedRowFunc (line 34) | type SelectedRowFunc type Table (line 38) | type Table struct method SetFullGVR (line 79) | func (t *Table) SetFullGVR(b bool) { method SetNoIcon (line 87) | func (t *Table) SetNoIcon(b bool) { method SetReadOnly (line 95) | func (t *Table) SetReadOnly(ro bool) { method setSortCol (line 102) | func (t *Table) setSortCol(sc model1.SortColumn) { method toggleSortCol (line 109) | func (t *Table) toggleSortCol() { method getSortCol (line 116) | func (t *Table) getSortCol() model1.SortColumn { method setMSort (line 123) | func (t *Table) setMSort(b bool) { method getMSort (line 130) | func (t *Table) getMSort() bool { method getSelectedColIdx (line 137) | func (t *Table) getSelectedColIdx() int { method initSelectedColumn (line 145) | func (t *Table) initSelectedColumn() { method moveSelectedColumn (line 182) | func (t *Table) moveSelectedColumn(delta int) { method SelectNextColumn (line 214) | func (t *Table) SelectNextColumn() { method SelectPrevColumn (line 219) | func (t *Table) SelectPrevColumn() { method SortSelectedColumn (line 224) | func (t *Table) SortSelectedColumn() { method SetViewSetting (line 269) | func (t *Table) SetViewSetting(vs *config.ViewSetting) bool { method GetViewSetting (line 284) | func (t *Table) GetViewSetting() *config.ViewSetting { method GetContext (line 291) | func (t *Table) GetContext() context.Context { method SetContext (line 295) | func (t *Table) SetContext(ctx context.Context) { method Init (line 300) | func (t *Table) Init(ctx context.Context) { method GVR (line 314) | func (t *Table) GVR() *client.GVR { return t.gvr } method ViewSettingsChanged (line 317) | func (t *Table) ViewSettingsChanged(vs *config.ViewSetting) { method StylesChanged (line 331) | func (t *Table) StylesChanged(s *config.Styles) { method ResetToast (line 344) | func (t *Table) ResetToast() { method ToggleToast (line 350) | func (t *Table) ToggleToast() { method ToggleWide (line 356) | func (t *Table) ToggleWide() { method Actions (line 362) | func (t *Table) Actions() *KeyActions { method Styles (line 367) | func (t *Table) Styles() *config.Styles { method FilterInput (line 372) | func (t *Table) FilterInput(r rune) bool { method Filter (line 386) | func (t *Table) Filter(string) { method Hints (line 394) | func (t *Table) Hints() model.MenuHints { method ExtraHints (line 399) | func (*Table) ExtraHints() map[string]string { method GetFilteredData (line 404) | func (t *Table) GetFilteredData() *model1.TableData { method SetDecorateFn (line 409) | func (t *Table) SetDecorateFn(f DecorateFunc) { method SetColorerFn (line 414) | func (t *Table) SetColorerFn(f model1.ColorerFunc) { method SetSortCol (line 419) | func (t *Table) SetSortCol(name string, asc bool) { method Update (line 424) | func (t *Table) Update(data *model1.TableData, hasMetrics bool) *model... method GetNamespace (line 433) | func (t *Table) GetNamespace() string { method doUpdate (line 441) | func (t *Table) doUpdate(data *model1.TableData) *model1.TableData { method shouldExcludeColumn (line 464) | func (t *Table) shouldExcludeColumn(h model1.HeaderColumn) bool { method UpdateUI (line 471) | func (t *Table) UpdateUI(cdata, data *model1.TableData) { method buildRow (line 506) | func (t *Table) buildRow(r int, re, ore model1.RowEvent, h model1.Head... method SortColCmd (line 563) | func (t *Table) SortColCmd(name string, asc bool) func(evt *tcell.Even... method SortInvertCmd (line 583) | func (t *Table) SortInvertCmd(*tcell.EventKey) *tcell.EventKey { method ClearMarks (line 591) | func (t *Table) ClearMarks() { method Refresh (line 597) | func (t *Table) Refresh() { method GetSelectedRow (line 607) | func (t *Table) GetSelectedRow(path string) *model1.Row { method NameColIndex (line 618) | func (t *Table) NameColIndex() int { method AddHeaderCell (line 631) | func (t *Table) AddHeaderCell(col int, h model1.HeaderColumn) { method filtered (line 643) | func (t *Table) filtered(data *model1.TableData) *model1.TableData { method CmdBuff (line 651) | func (t *Table) CmdBuff() *model.FishBuff { method ShowDeleted (line 656) | func (t *Table) ShowDeleted() { method UpdateTitle (line 665) | func (t *Table) UpdateTitle() { method styleTitle (line 669) | func (t *Table) styleTitle() string { function NewTable (line 63) | func NewTable(gvr *client.GVR) *Table { function ROIndicator (line 725) | func ROIndicator(ro, noIC bool) string { FILE: internal/ui/table_helper.go constant DefaultColorName (line 21) | DefaultColorName = "default" constant SearchFmt (line 24) | SearchFmt = "<[filter:bg:r]/%s[fg:bg:-]> " constant NSTitleFmt (line 27) | NSTitleFmt = " [fg:bg:b]%s([hilite:bg:b]%s[fg:bg:-])[fg:bg:-][[count:bg:... constant TitleFmt (line 30) | TitleFmt = " [fg:bg:b]%s[fg:bg:-][[count:bg:b]%s[fg:bg:-]][fg:bg:-] " constant descIndicator (line 32) | descIndicator = "↓" constant ascIndicator (line 33) | ascIndicator = "↑" constant FullFmat (line 36) | FullFmat = "%s-%s-%d.csv" constant NoNSFmat (line 39) | NoNSFmat = "%s-%d.csv" function mustExtractStyles (line 42) | func mustExtractStyles(ctx context.Context) *config.Styles { function TrimCell (line 52) | func TrimCell(tv *SelectTable, row, col int) string { function ExtractLabelSelector (line 62) | func ExtractLabelSelector(s string) (labels.Selector, error) { function SkinTitle (line 72) | func SkinTitle(fmat string, style *config.Frame) string { function columnIndicator (line 87) | func columnIndicator(sort, selected, asc bool, style *config.Table, name... function formatCell (line 109) | func formatCell(field string, padding int) string { FILE: internal/ui/table_helper_test.go function TestTruncate (line 14) | func TestTruncate(t *testing.T) { function TestExtractLabelSelector (line 37) | func TestExtractLabelSelector(t *testing.T) { FILE: internal/ui/table_test.go function TestTableNew (line 24) | func TestTableNew(t *testing.T) { function TestTableUpdate (line 31) | func TestTableUpdate(t *testing.T) { function TestTableSelection (line 43) | func TestTableSelection(t *testing.T) { type mockModel (line 70) | type mockModel struct method SetViewSetting (line 74) | func (*mockModel) SetViewSetting(context.Context, *config.ViewSetting) {} method SetInstance (line 75) | func (*mockModel) SetInstance(string) {} method SetLabelSelector (line 76) | func (*mockModel) SetLabelSelector(labels.Selector) {} method GetLabelSelector (line 77) | func (*mockModel) GetLabelSelector() labels.Selector ... method Empty (line 78) | func (*mockModel) Empty() bool ... method RowCount (line 79) | func (*mockModel) RowCount() int ... method HasMetrics (line 80) | func (*mockModel) HasMetrics() bool ... method Peek (line 81) | func (*mockModel) Peek() *model1.TableData ... method Refresh (line 82) | func (*mockModel) Refresh(context.Context) error ... method ClusterWide (line 83) | func (*mockModel) ClusterWide() bool ... method GetNamespace (line 84) | func (*mockModel) GetNamespace() string ... method SetNamespace (line 85) | func (*mockModel) SetNamespace(string) {} method ToggleToast (line 86) | func (*mockModel) ToggleToast() {} method AddListener (line 87) | func (*mockModel) AddListener(model.TableListener) {} method RemoveListener (line 88) | func (*mockModel) RemoveListener(model.TableListener) {} method Watch (line 89) | func (*mockModel) Watch(context.Context) error ... method Get (line 90) | func (*mockModel) Get(context.Context, string) (runtime.Object, error)... method InNamespace (line 91) | func (*mockModel) InNamespace(string) bool ... method SetRefreshRate (line 92) | func (*mockModel) SetRefreshRate(time.Duration) {} method Delete (line 94) | func (*mockModel) Delete(context.Context, string, *metav1.DeletionProp... method Describe (line 98) | func (*mockModel) Describe(context.Context, string) (string, error) { method ToYAML (line 102) | func (*mockModel) ToYAML(context.Context, string) (string, error) { function makeTableData (line 106) | func makeTableData() *model1.TableData { function makeContext (line 131) | func makeContext() context.Context { FILE: internal/ui/tree.go type KeyListenerFunc (line 15) | type KeyListenerFunc type Tree (line 18) | type Tree struct method Init (line 40) | func (t *Tree) Init(context.Context) error { method SetSelectedItem (line 53) | func (t *Tree) SetSelectedItem(s string) { method GetSelectedItem (line 58) | func (t *Tree) GetSelectedItem() string { method ExpandNodes (line 63) | func (t *Tree) ExpandNodes() bool { method CmdBuff (line 68) | func (t *Tree) CmdBuff() *model.FishBuff { method SetKeyListenerFn (line 73) | func (t *Tree) SetKeyListenerFn(f KeyListenerFunc) { method Actions (line 78) | func (t *Tree) Actions() *KeyActions { method Hints (line 83) | func (t *Tree) Hints() model.MenuHints { method ExtraHints (line 88) | func (*Tree) ExtraHints() map[string]string { method BindKeys (line 93) | func (t *Tree) BindKeys() { method keyboard (line 100) | func (t *Tree) keyboard(evt *tcell.EventKey) *tcell.EventKey { method noopCmd (line 108) | func (*Tree) noopCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleCollapseCmd (line 112) | func (t *Tree) toggleCollapseCmd(*tcell.EventKey) *tcell.EventKey { method ClearSelection (line 124) | func (t *Tree) ClearSelection() { function NewTree (line 30) | func NewTree() *Tree { FILE: internal/ui/types.go constant unlockedIC (line 20) | unlockedIC = "[RW]" constant lockedIC (line 21) | lockedIC = "[R]" type Namespaceable (line 25) | type Namespaceable interface type Lister (line 40) | type Lister interface type Tabular (line 46) | type Tabular interface FILE: internal/view/actions.go constant AllScopes (line 22) | AllScopes = "all" type Runner (line 25) | type Runner interface function hasAll (line 39) | func hasAll(scopes []string) bool { function includes (line 43) | func includes(aliases []string, s string) bool { function inScope (line 47) | func inScope(scopes []string, aliases sets.Set[string]) bool { function hotKeyActions (line 60) | func hotKeyActions(r Runner, aa *ui.KeyActions) error { function gotoCmd (line 108) | func gotoCmd(r Runner, cmd, path string, clearStack bool) ui.ActionHandl... function pluginActions (line 115) | func pluginActions(r Runner, aa *ui.KeyActions) error { function pluginAction (line 176) | func pluginAction(r Runner, p *config.Plugin) ui.ActionHandler { function executePlugin (line 206) | func executePlugin(r Runner, p *config.Plugin, inputValues dialog.Plugin... FILE: internal/view/actions_test.go function init (line 14) | func init() { function TestHasAll (line 18) | func TestHasAll(t *testing.T) { function TestIncludes (line 42) | func TestIncludes(t *testing.T) { function TestInScope (line 69) | func TestInScope(t *testing.T) { FILE: internal/view/alias.go constant aliasTitle (line 15) | aliasTitle = "Aliases" type Alias (line 18) | type Alias struct method Init (line 36) | func (a *Alias) Init(ctx context.Context) error { method aliasContext (line 45) | func (a *Alias) aliasContext(ctx context.Context) context.Context { method bindKeys (line 49) | func (a *Alias) bindKeys(aa *ui.KeyActions) { method gotoCmd (line 60) | func (a *Alias) gotoCmd(evt *tcell.EventKey) *tcell.EventKey { function NewAlias (line 23) | func NewAlias(gvr *client.GVR) ResourceViewer { FILE: internal/view/alias_test.go function TestAliasNew (line 28) | func TestAliasNew(t *testing.T) { function TestAliasSearch (line 36) | func TestAliasSearch(t *testing.T) { function TestAliasGoto (line 48) | func TestAliasGoto(t *testing.T) { type buffL (line 64) | type buffL struct method BufferChanged (line 69) | func (b *buffL) BufferChanged(string, string) { method BufferCompleted (line 72) | func (*buffL) BufferCompleted(string, string) {} method BufferActive (line 74) | func (b *buffL) BufferActive(bool, model.BufferKind) { function makeContext (line 78) | func makeContext(t testing.TB) context.Context { type mockModel (line 84) | type mockModel struct method SetViewSetting (line 91) | func (*mockModel) SetViewSetting(context.Context, *config.ViewSetting) {} method CurrentSuggestion (line 92) | func (*mockModel) CurrentSuggestion() (string, bool) ... method NextSuggestion (line 93) | func (*mockModel) NextSuggestion() (string, bool) ... method PrevSuggestion (line 94) | func (*mockModel) PrevSuggestion() (string, bool) ... method ClearSuggestions (line 95) | func (*mockModel) ClearSuggestions() {} method SetInstance (line 96) | func (*mockModel) SetInstance(string) {} method SetLabelSelector (line 97) | func (*mockModel) SetLabelSelector(labels.Selector) {} method GetLabelSelector (line 98) | func (*mockModel) GetLabelSelector() labels.Selector ... method Empty (line 99) | func (*mockModel) Empty() bool ... method RowCount (line 100) | func (*mockModel) RowCount() int ... method HasMetrics (line 101) | func (*mockModel) HasMetrics() bool ... method Peek (line 102) | func (*mockModel) Peek() *model1.TableData ... method ClusterWide (line 103) | func (*mockModel) ClusterWide() bool ... method GetNamespace (line 104) | func (*mockModel) GetNamespace() string ... method SetNamespace (line 105) | func (*mockModel) SetNamespace(string) {} method ToggleToast (line 106) | func (*mockModel) ToggleToast() {} method AddListener (line 107) | func (*mockModel) AddListener(model.TableListener) {} method RemoveListener (line 108) | func (*mockModel) RemoveListener(model.TableListener) {} method Watch (line 109) | func (*mockModel) Watch(context.Context) error ... method Refresh (line 110) | func (*mockModel) Refresh(context.Context) error ... method Get (line 111) | func (*mockModel) Get(context.Context, string) (runtime.Object, error) { method Delete (line 115) | func (*mockModel) Delete(context.Context, string, *metav1.DeletionProp... method Describe (line 119) | func (*mockModel) Describe(context.Context, string) (string, error) { method ToYAML (line 123) | func (*mockModel) ToYAML(context.Context, string) (string, error) { method InNamespace (line 127) | func (*mockModel) InNamespace(string) bool { return true } method SetRefreshRate (line 128) | func (*mockModel) SetRefreshRate(time.Duration) {} function makeTableData (line 130) | func makeTableData() *model1.TableData { FILE: internal/view/app.go constant splashDelay (line 38) | splashDelay = 1 * time.Second constant clusterRefresh (line 39) | clusterRefresh = 15 * time.Second constant clusterInfoWidth (line 40) | clusterInfoWidth = 50 constant clusterInfoPad (line 41) | clusterInfoPad = 15 type App (line 45) | type App struct method ReloadStyles (line 78) | func (a *App) ReloadStyles() { method UpdateClusterInfo (line 83) | func (a *App) UpdateClusterInfo() { method ConOK (line 90) | func (a *App) ConOK() bool { method Init (line 95) | func (a *App) Init(version string, _ int) error { method stopImgScanner (line 146) | func (*App) stopImgScanner() { method clearHistory (line 152) | func (a *App) clearHistory() { method initImgScanner (line 157) | func (a *App) initImgScanner(version string) { method layout (line 166) | func (a *App) layout(ctx context.Context) { method initSignals (line 185) | func (*App) initSignals() { method suggestCommand (line 195) | func (a *App) suggestCommand() model.SuggestionFunc { method contextNames (line 229) | func (a *App) contextNames() ([]string, error) { method keyboard (line 246) | func (a *App) keyboard(evt *tcell.EventKey) *tcell.EventKey { method bindKeys (line 254) | func (a *App) bindKeys() { method ActiveView (line 269) | func (a *App) ActiveView() model.Component { method toggleHeader (line 273) | func (a *App) toggleHeader(header, logo bool) { method toggleCrumbs (line 289) | func (a *App) toggleCrumbs(flag bool) { method buildHeader (line 305) | func (a *App) buildHeader() tview.Primitive { method Halt (line 334) | func (a *App) Halt() { method Resume (line 342) | func (a *App) Resume() { method clusterUpdater (line 361) | func (a *App) clusterUpdater(ctx context.Context) { method refreshCluster (line 394) | func (a *App) refreshCluster(context.Context) error { method switchNS (line 445) | func (a *App) switchNS(ns string) error { method switchContext (line 459) | func (a *App) switchContext(ci *cmd.Interpreter, force bool) error { method initFactory (line 524) | func (a *App) initFactory(ns string) { method BailOut (line 530) | func (a *App) BailOut(exitCode int) { method Run (line 547) | func (a *App) Run() error { method Status (line 575) | func (a *App) Status(l model.FlashLevel, msg string) { method IsBenchmarking (line 586) | func (a *App) IsBenchmarking() bool { method ClearStatus (line 591) | func (a *App) ClearStatus(flash bool) { method setLogo (line 600) | func (a *App) setLogo(l model.FlashLevel, msg string) { method setIndicator (line 613) | func (a *App) setIndicator(l model.FlashLevel, msg string) { method PrevCmd (line 627) | func (a *App) PrevCmd(*tcell.EventKey) *tcell.EventKey { method toggleHeaderCmd (line 635) | func (a *App) toggleHeaderCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleCrumbsCmd (line 648) | func (a *App) toggleCrumbsCmd(evt *tcell.EventKey) *tcell.EventKey { method gotoCmd (line 661) | func (a *App) gotoCmd(evt *tcell.EventKey) *tcell.EventKey { method cowCmd (line 671) | func (a *App) cowCmd(msg string) { method dirCmd (line 676) | func (a *App) dirCmd(path string, pushCmd bool) error { method quitCmd (line 695) | func (a *App) quitCmd(evt *tcell.EventKey) *tcell.EventKey { method helpCmd (line 711) | func (a *App) helpCmd(evt *tcell.EventKey) *tcell.EventKey { method previousCommand (line 731) | func (a *App) previousCommand(evt *tcell.EventKey) *tcell.EventKey { method nextCommand (line 745) | func (a *App) nextCommand(evt *tcell.EventKey) *tcell.EventKey { method lastCommand (line 761) | func (a *App) lastCommand(evt *tcell.EventKey) *tcell.EventKey { method aliasCmd (line 775) | func (a *App) aliasCmd(*tcell.EventKey) *tcell.EventKey { method gotoResource (line 788) | func (a *App) gotoResource(c, path string, clearStack, pushCmd bool) { method inject (line 796) | func (a *App) inject(c model.Component, clearStack bool) error { method clusterInfo (line 813) | func (a *App) clusterInfo() *ClusterInfo { method statusIndicator (line 817) | func (a *App) statusIndicator() *ui.StatusIndicator { function NewApp (line 62) | func NewApp(cfg *config.Config) *App { FILE: internal/view/app_test.go function TestAppNew (line 14) | func TestAppNew(t *testing.T) { FILE: internal/view/benchmark.go type Benchmark (line 24) | type Benchmark struct method benchContext (line 42) | func (b *Benchmark) benchContext(ctx context.Context) context.Context { method viewBench (line 46) | func (b *Benchmark) viewBench(app *App, _ ui.Tabular, _ *client.GVR, p... method benchFile (line 59) | func (b *Benchmark) benchFile() string { function NewBenchmark (line 29) | func NewBenchmark(gvr *client.GVR) ResourceViewer { function fileToSubject (line 67) | func fileToSubject(path string) string { function benchDir (line 73) | func benchDir(cfg *config.Config) string { function readBenchFile (line 87) | func readBenchFile(cfg *config.Config, n string) (string, error) { FILE: internal/view/browser.go type Browser (line 35) | type Browser struct method setUpdating (line 55) | func (b *Browser) setUpdating(f bool) { method getUpdating (line 61) | func (b *Browser) getUpdating() bool { method SetCommand (line 68) | func (b *Browser) SetCommand(i *cmd.Interpreter) { method Init (line 73) | func (b *Browser) Init(ctx context.Context) error { method InCmdMode (line 124) | func (b *Browser) InCmdMode() bool { method suggestFilter (line 128) | func (b *Browser) suggestFilter() model.SuggestionFunc { method bindKeys (line 150) | func (b *Browser) bindKeys(aa *ui.KeyActions) { method SetInstance (line 160) | func (b *Browser) SetInstance(path string) { method Start (line 165) | func (b *Browser) Start() { method Stop (line 190) | func (b *Browser) Stop() { method SetFilter (line 202) | func (b *Browser) SetFilter(s string, wipe bool) { method SetLabelSelector (line 206) | func (b *Browser) SetLabelSelector(sel labels.Selector, wipe bool) { method BufferChanged (line 214) | func (*Browser) BufferChanged(_, _ string) {} method BufferCompleted (line 217) | func (b *Browser) BufferCompleted(text, _ string) { method BufferActive (line 228) | func (b *Browser) BufferActive(state bool, _ model.BufferKind) { method prepareContext (line 253) | func (b *Browser) prepareContext() context.Context { method refresh (line 276) | func (b *Browser) refresh() { method Name (line 281) | func (b *Browser) Name() string { return b.meta.Kind } method SetContextFn (line 284) | func (b *Browser) SetContextFn(f ContextFunc) { b.contextFn = f } method GetTable (line 287) | func (b *Browser) GetTable() *Table { return b.Table } method Aliases (line 290) | func (b *Browser) Aliases() sets.Set[string] { method TableNoData (line 298) | func (b *Browser) TableNoData(mdata *model1.TableData) { method TableDataChanged (line 329) | func (b *Browser) TableDataChanged(mdata *model1.TableData) { method TableLoadFailed (line 359) | func (b *Browser) TableLoadFailed(err error) { method nsWarpCmd (line 369) | func (b *Browser) nsWarpCmd(*tcell.EventKey) *tcell.EventKey { method viewCmd (line 388) | func (b *Browser) viewCmd(evt *tcell.EventKey) *tcell.EventKey { method helpCmd (line 402) | func (b *Browser) helpCmd(evt *tcell.EventKey) *tcell.EventKey { method resetCmd (line 410) | func (b *Browser) resetCmd(evt *tcell.EventKey) *tcell.EventKey { method filterCmd (line 430) | func (b *Browser) filterCmd(evt *tcell.EventKey) *tcell.EventKey { method enterCmd (line 445) | func (b *Browser) enterCmd(evt *tcell.EventKey) *tcell.EventKey { method refreshCmd (line 460) | func (b *Browser) refreshCmd(*tcell.EventKey) *tcell.EventKey { method deleteCmd (line 467) | func (b *Browser) deleteCmd(evt *tcell.EventKey) *tcell.EventKey { method describeCmd (line 490) | func (b *Browser) describeCmd(evt *tcell.EventKey) *tcell.EventKey { method editCmd (line 500) | func (b *Browser) editCmd(evt *tcell.EventKey) *tcell.EventKey { method switchNamespaceCmd (line 542) | func (b *Browser) switchNamespaceCmd(evt *tcell.EventKey) *tcell.Event... method setNamespace (line 583) | func (b *Browser) setNamespace(ns string) { method defaultContext (line 594) | func (b *Browser) defaultContext() context.Context { method refreshActions (line 609) | func (b *Browser) refreshActions() { method namespaceActions (line 660) | func (b *Browser) namespaceActions(aa *ui.KeyActions) { method simpleDelete (line 696) | func (b *Browser) simpleDelete(selections []string, msg string) { method resourceDelete (line 722) | func (b *Browser) resourceDelete(selections []string, msg string) { function NewBrowser (line 49) | func NewBrowser(gvr *client.GVR) ResourceViewer { function editRes (line 515) | func editRes(app *App, gvr *client.GVR, path string) error { FILE: internal/view/cluster_info.go type ClusterInfo (line 23) | type ClusterInfo struct method Init (line 40) | func (c *ClusterInfo) Init() { method StylesChanged (line 48) | func (c *ClusterInfo) StylesChanged(s *config.Styles) { method hasMetrics (line 54) | func (c *ClusterInfo) hasMetrics() bool { method layout (line 67) | func (c *ClusterInfo) layout() { method sectionCell (line 74) | func (c *ClusterInfo) sectionCell(t string) *tview.TableCell { method infoCell (line 82) | func (c *ClusterInfo) infoCell(t string) *tview.TableCell { method setCell (line 91) | func (c *ClusterInfo) setCell(row int, s string) int { method ClusterInfoUpdated (line 100) | func (c *ClusterInfo) ClusterInfoUpdated(data *model.ClusterMeta) { method warnCell (line 104) | func (*ClusterInfo) warnCell(s string, w bool) string { method ClusterInfoChanged (line 113) | func (c *ClusterInfo) ClusterInfoChanged(prev, curr *model.ClusterMeta) { method setDefCon (line 145) | func (c *ClusterInfo) setDefCon(cpu, mem int) { method updateStyle (line 162) | func (c *ClusterInfo) updateStyle() { function NewClusterInfo (line 31) | func NewClusterInfo(app *App) *ClusterInfo { constant defconFmt (line 143) | defconFmt = "%s %s level!" function flashLevel (line 177) | func flashLevel(l config.SeverityLevel) model.FlashLevel { function flashMessage (line 189) | func flashMessage(l config.SeverityLevel) string { FILE: internal/view/cm.go type ConfigMap (line 17) | type ConfigMap struct method bindKeys (line 33) | func (s *ConfigMap) bindKeys(aa *ui.KeyActions) { method refCmd (line 37) | func (s *ConfigMap) refCmd(evt *tcell.EventKey) *tcell.EventKey { function NewConfigMap (line 22) | func NewConfigMap(gvr *client.GVR) ResourceViewer { function scanRefs (line 41) | func scanRefs(evt *tcell.EventKey, a *App, t *Table, gvr *client.GVR) *t... function refContext (line 67) | func refContext(gvr *client.GVR, path string, wait bool) ContextFunc { FILE: internal/view/cm_test.go function TestConfigMapNew (line 15) | func TestConfigMapNew(t *testing.T) { FILE: internal/view/cmd/args.go constant nsKey (line 13) | nsKey = "ns" constant topicKey (line 14) | topicKey = "topic" constant filterKey (line 15) | filterKey = "filter" constant fuzzyKey (line 16) | fuzzyKey = "fuzzy" constant labelKey (line 17) | labelKey = "labels" constant contextKey (line 18) | contextKey = "context" type args (line 21) | type args method String (line 83) | func (a args) String() string { method hasFilters (line 102) | func (a args) hasFilters() bool { function newArgs (line 23) | func newArgs(p *Interpreter, aa []string) args { function isLabelArg (line 110) | func isLabelArg(arg string) bool { FILE: internal/view/cmd/args_test.go function TestFlagsNew (line 12) | func TestFlagsNew(t *testing.T) { function TestFlagsHasFilters (line 181) | func TestFlagsHasFilters(t *testing.T) { FILE: internal/view/cmd/helpers.go function ToLabels (line 14) | func ToLabels(s string) map[string]string { function splitKv (line 33) | func splitKv(s string) (k, v string, ok bool) { function ShouldAddSuggest (line 56) | func ShouldAddSuggest(command, suggest string) (string, bool) { function SuggestSubCommand (line 65) | func SuggestSubCommand(command string, namespaces client.NamespaceNames,... function completeNS (line 110) | func completeNS(s string, nn client.NamespaceNames) []string { function completeCtx (line 125) | func completeCtx(command, s string, contexts []string) []string { FILE: internal/view/cmd/helpers_test.go function init (line 13) | func init() { function Test_toLabels (line 17) | func Test_toLabels(t *testing.T) { function TestSuggestSubCommand (line 61) | func TestSuggestSubCommand(t *testing.T) { FILE: internal/view/cmd/interpreter.go type Interpreter (line 16) | type Interpreter struct method ClearNS (line 36) | func (c *Interpreter) ClearNS() { method SwitchNS (line 41) | func (c *Interpreter) SwitchNS(ns string) { method Merge (line 51) | func (c *Interpreter) Merge(p *Interpreter) { method grok (line 62) | func (c *Interpreter) grok() { method HasNS (line 105) | func (c *Interpreter) HasNS() bool { method Cmd (line 112) | func (c *Interpreter) Cmd() string { method Aliases (line 116) | func (c *Interpreter) Aliases() []string { method Args (line 120) | func (c *Interpreter) Args() string { method IsBlank (line 125) | func (c *Interpreter) IsBlank() bool { method Amend (line 130) | func (c *Interpreter) Amend(c1 *Interpreter) { method Reset (line 143) | func (c *Interpreter) Reset(line, alias string) *Interpreter { method addAlias (line 154) | func (c *Interpreter) addAlias(a string) { method GetLine (line 164) | func (c *Interpreter) GetLine() string { method IsCowCmd (line 169) | func (c *Interpreter) IsCowCmd() bool { method IsHelpCmd (line 174) | func (c *Interpreter) IsHelpCmd() bool { method IsBailCmd (line 179) | func (c *Interpreter) IsBailCmd() bool { method IsAliasCmd (line 184) | func (c *Interpreter) IsAliasCmd() bool { method IsXrayCmd (line 189) | func (c *Interpreter) IsXrayCmd() bool { method IsContextCmd (line 194) | func (c *Interpreter) IsContextCmd() bool { method IsNamespaceCmd (line 199) | func (c *Interpreter) IsNamespaceCmd() bool { method IsDirCmd (line 204) | func (c *Interpreter) IsDirCmd() bool { method IsRBACCmd (line 209) | func (c *Interpreter) IsRBACCmd() bool { method ContextArg (line 214) | func (c *Interpreter) ContextArg() (string, bool) { method ResetContextArg (line 223) | func (c *Interpreter) ResetContextArg() { method DirArg (line 228) | func (c *Interpreter) DirArg() (string, bool) { method CowArg (line 238) | func (c *Interpreter) CowArg() (string, bool) { method RBACArgs (line 248) | func (c *Interpreter) RBACArgs() (subject, verb string, ok bool) { method XrayArgs (line 262) | func (c *Interpreter) XrayArgs() (cmd, namespace string, ok bool) { method FilterArg (line 285) | func (c *Interpreter) FilterArg() (string, bool) { method FuzzyArg (line 292) | func (c *Interpreter) FuzzyArg() (string, bool) { method NSArg (line 299) | func (c *Interpreter) NSArg() (string, bool) { method HasContext (line 306) | func (c *Interpreter) HasContext() (string, bool) { method LabelsSelector (line 313) | func (c *Interpreter) LabelsSelector() (labels.Selector, error) { function NewInterpreter (line 24) | func NewInterpreter(s string, aliases ...string) *Interpreter { function quoteIndicies (line 88) | func quoteIndicies(s string) (start, end int, ok bool) { FILE: internal/view/cmd/interpreter_test.go function TestRbacCmd (line 14) | func TestRbacCmd(t *testing.T) { function TestNsCmd (line 49) | func TestNsCmd(t *testing.T) { function TestSwitchNS (line 109) | func TestSwitchNS(t *testing.T) { function TestClearNS (line 163) | func TestClearNS(t *testing.T) { function TestFilterCmd (line 201) | func TestFilterCmd(t *testing.T) { function TestLabelCmd (line 259) | func TestLabelCmd(t *testing.T) { function TestXRayCmd (line 320) | func TestXRayCmd(t *testing.T) { function TestDirCmd (line 364) | func TestDirCmd(t *testing.T) { function TestRBACCmd (line 416) | func TestRBACCmd(t *testing.T) { function TestContextCmd (line 466) | func TestContextCmd(t *testing.T) { function TestHelpCmd (line 517) | func TestHelpCmd(t *testing.T) { function TestBailCmd (line 544) | func TestBailCmd(t *testing.T) { function TestAliasCmd (line 579) | func TestAliasCmd(t *testing.T) { function TestCowCmd (line 607) | func TestCowCmd(t *testing.T) { function TestArgs (line 635) | func TestArgs(t *testing.T) { function Test_grokLabels (line 663) | func Test_grokLabels(t *testing.T) { FILE: internal/view/cmd/types.go constant cowCmd (line 13) | cowCmd = "cow" constant canCmd (line 14) | canCmd = "can" constant nsFlag (line 15) | nsFlag = "-n" constant filterFlag (line 16) | filterFlag = "/" constant labelFlagEq (line 17) | labelFlagEq = "=" constant labelFlagEqs (line 18) | labelFlagEqs = "==" constant labelFlagNotEq (line 19) | labelFlagNotEq = "!=" constant labelFlagIn (line 20) | labelFlagIn = " in " constant labelFlagNotin (line 21) | labelFlagNotin = " notin " constant labelFlagQuote (line 22) | labelFlagQuote = "'" constant label (line 23) | label constant fuzzyFlag (line 24) | fuzzyFlag = "-f" constant contextFlag (line 25) | contextFlag = "@" FILE: internal/view/command.go constant podCmd (line 25) | podCmd = "v1/pods" constant ctxCmd (line 26) | ctxCmd = "ctx" type Command (line 35) | type Command struct method AliasesFor (line 49) | func (c *Command) AliasesFor(gvr *client.GVR) sets.Set[string] { method Init (line 57) | func (c *Command) Init(path string) error { method Reset (line 71) | func (c *Command) Reset(path string, nuke bool) error { method contextCmd (line 102) | func (c *Command) contextCmd(p *cmd.Interpreter, pushCmd bool) error { method namespaceCmd (line 123) | func (*Command) namespaceCmd(p *cmd.Interpreter) bool { method aliasCmd (line 137) | func (c *Command) aliasCmd(p *cmd.Interpreter, pushCmd bool) error { method xrayCmd (line 146) | func (c *Command) xrayCmd(p *cmd.Interpreter, pushCmd bool) error { method run (line 176) | func (c *Command) run(p *cmd.Interpreter, fqn string, clearStack, push... method defaultCmd (line 244) | func (c *Command) defaultCmd(isRoot bool) error { method specialCmd (line 270) | func (c *Command) specialCmd(p *cmd.Interpreter, pushCmd bool) bool { method viewMetaFor (line 315) | func (c *Command) viewMetaFor(p *cmd.Interpreter) (*client.GVR, *MetaV... method componentFor (line 336) | func (*Command) componentFor(gvr *client.GVR, fqn string, v *MetaViewe... method exec (line 352) | func (c *Command) exec(p *cmd.Interpreter, gvr *client.GVR, comp model... function NewCommand (line 42) | func NewCommand(app *App) *Command { function allowedXRay (line 98) | func allowedXRay(gvr *client.GVR) bool { FILE: internal/view/command_test.go function Test_viewMetaFor (line 14) | func Test_viewMetaFor(t *testing.T) { FILE: internal/view/container.go constant containerTitle (line 22) | containerTitle = "Containers" type Container (line 25) | type Container struct method portForwardIndicator (line 43) | func (c *Container) portForwardIndicator(data *model1.TableData) { method decorateRows (line 57) | func (c *Container) decorateRows(data *model1.TableData) { method Name (line 62) | func (*Container) Name() string { return containerTitle } method bindDangerousKeys (line 64) | func (c *Container) bindDangerousKeys(aa *ui.KeyActions) { method bindKeys (line 83) | func (c *Container) bindKeys(aa *ui.KeyActions) { method k9sEnv (line 96) | func (c *Container) k9sEnv() Env { method logOptions (line 105) | func (c *Container) logOptions(prev bool) (*dao.LogOptions, error) { method viewLogs (line 125) | func (c *Container) viewLogs(*App, ui.Tabular, *client.GVR, string) { method showPFCmd (line 131) | func (c *Container) showPFCmd(evt *tcell.EventKey) *tcell.EventKey { method portForwardContext (line 150) | func (c *Container) portForwardContext(ctx context.Context) context.Co... method shellCmd (line 158) | func (c *Container) shellCmd(evt *tcell.EventKey) *tcell.EventKey { method attachCmd (line 183) | func (c *Container) attachCmd(evt *tcell.EventKey) *tcell.EventKey { method portFwdCmd (line 196) | func (c *Container) portFwdCmd(evt *tcell.EventKey) *tcell.EventKey { method listForwardable (line 244) | func (c *Container) listForwardable(path string) (port.ContainerPortSp... function NewContainer (line 30) | func NewContainer(gvr *client.GVR) ResourceViewer { function checkRunningStatus (line 216) | func checkRunningStatus(co string, ss []v1.ContainerStatus) error { function locateContainer (line 235) | func locateContainer(co string, cc []v1.Container) (*v1.Container, error) { FILE: internal/view/container_test.go function TestContainerNew (line 15) | func TestContainerNew(t *testing.T) { FILE: internal/view/context.go constant renamePage (line 22) | renamePage = "rename" constant inputField (line 23) | inputField = "New name:" type Context (line 27) | type Context struct method bindKeys (line 42) | func (c *Context) bindKeys(aa *ui.KeyActions) { method bindDangerousKeys (line 49) | func (c *Context) bindDangerousKeys(aa *ui.KeyActions) { method renameCmd (line 54) | func (c *Context) renameCmd(evt *tcell.EventKey) *tcell.EventKey { method deleteCmd (line 65) | func (c *Context) deleteCmd(evt *tcell.EventKey) *tcell.EventKey { method renameDialogCallback (line 83) | func (c *Context) renameDialogCallback(form *tview.Form, contextName s... method showRenameModal (line 94) | func (c *Context) showRenameModal(name string, ok func(form *tview.For... method useCtx (line 132) | func (c *Context) useCtx(app *App, _ ui.Tabular, gvr *client.GVR, path... function NewContext (line 32) | func NewContext(gvr *client.GVR) ResourceViewer { function useContext (line 146) | func useContext(app *App, name string) error { FILE: internal/view/context_test.go function TestContext (line 15) | func TestContext(t *testing.T) { FILE: internal/view/cow.go type Cow (line 19) | type Cow struct method Init (line 38) | func (c *Cow) Init(_ context.Context) error { method InCmdMode (line 60) | func (*Cow) InCmdMode() bool { method talk (line 64) | func (c *Cow) talk() { method bindKeys (line 92) | func (c *Cow) bindKeys() { method keyboard (line 96) | func (c *Cow) keyboard(evt *tcell.EventKey) *tcell.EventKey { method StylesChanged (line 105) | func (c *Cow) StylesChanged(s *config.Styles) { method resetCmd (line 111) | func (c *Cow) resetCmd(evt *tcell.EventKey) *tcell.EventKey { method Actions (line 116) | func (c *Cow) Actions() *ui.KeyActions { method Name (line 121) | func (*Cow) Name() string { return "cow" } method Start (line 124) | func (*Cow) Start() {} method Stop (line 127) | func (c *Cow) Stop() { method Hints (line 132) | func (c *Cow) Hints() model.MenuHints { method ExtraHints (line 137) | func (*Cow) ExtraHints() map[string]string { method updateTitle (line 141) | func (c *Cow) updateTitle() { function NewCow (line 28) | func NewCow(app *App, says string) *Cow { function cowTalk (line 73) | func cowTalk(says string, w int) string { FILE: internal/view/crd.go type CRD (line 12) | type CRD struct method showCRD (line 26) | func (*CRD) showCRD(app *App, _ ui.Tabular, _ *client.GVR, path string) { function NewCRD (line 17) | func NewCRD(gvr *client.GVR) ResourceViewer { FILE: internal/view/cronjob.go constant suspendDialogKey (line 27) | suspendDialogKey = "suspend" constant lastScheduledCol (line 28) | lastScheduledCol = "LAST_SCHEDULE" constant defaultSuspendStatus (line 29) | defaultSuspendStatus = "true" type CronJob (line 33) | type CronJob struct method showJobs (line 48) | func (*CronJob) showJobs(app *App, _ ui.Tabular, gvr *client.GVR, fqn ... method bindKeys (line 81) | func (c *CronJob) bindKeys(aa *ui.KeyActions) { method triggerCmd (line 88) | func (c *CronJob) triggerCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleSuspendCmd (line 122) | func (c *CronJob) toggleSuspendCmd(evt *tcell.EventKey) *tcell.EventKey { method showSuspendDialog (line 145) | func (c *CronJob) showSuspendDialog(cell *tview.TableCell, sel string) { function NewCronJob (line 38) | func NewCronJob(gvr *client.GVR) ResourceViewer { function jobCtx (line 74) | func jobCtx(fqn, uid string) ContextFunc { FILE: internal/view/details.go constant detailsTitleFmt (line 23) | detailsTitleFmt = "[fg:bg:b] %s([hilite:bg:b]%s[fg:bg:-])[fg:bg:-] " constant contentTXT (line 24) | contentTXT = "text" constant contentYAML (line 25) | contentYAML = "yaml" type Details (line 29) | type Details struct method SetCommand (line 63) | func (*Details) SetCommand(*cmd.Interpreter) {} method SetFilter (line 64) | func (*Details) SetFilter(string, bool) {} method SetLabelSelector (line 65) | func (*Details) SetLabelSelector(labels.Selector, bool) {} method Init (line 68) | func (d *Details) Init(_ context.Context) error { method InCmdMode (line 95) | func (d *Details) InCmdMode() bool { method TextChanged (line 100) | func (d *Details) TextChanged(lines []string) { method TextFiltered (line 111) | func (d *Details) TextFiltered(lines []string, matches fuzzy.Matches) { method BufferChanged (line 124) | func (*Details) BufferChanged(_, _ string) {} method BufferCompleted (line 127) | func (d *Details) BufferCompleted(text, _ string) { method BufferActive (line 133) | func (d *Details) BufferActive(state bool, k model.BufferKind) { method bindKeys (line 137) | func (d *Details) bindKeys() { method keyboard (line 156) | func (d *Details) keyboard(evt *tcell.EventKey) *tcell.EventKey { method StylesChanged (line 165) | func (d *Details) StylesChanged(s *config.Styles) { method Update (line 173) | func (d *Details) Update(buff string) *Details { method GetWriter (line 179) | func (d *Details) GetWriter() io.Writer { method SetSubject (line 184) | func (d *Details) SetSubject(s string) { method Actions (line 189) | func (d *Details) Actions() *ui.KeyActions { method Name (line 194) | func (d *Details) Name() string { return d.title } method Start (line 197) | func (*Details) Start() {} method Stop (line 200) | func (d *Details) Stop() { method Hints (line 205) | func (d *Details) Hints() model.MenuHints { method ExtraHints (line 210) | func (*Details) ExtraHints() map[string]string { method nextCmd (line 214) | func (d *Details) nextCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleFullScreenCmd (line 230) | func (d *Details) toggleFullScreenCmd(evt *tcell.EventKey) *tcell.Even... method setFullScreen (line 240) | func (d *Details) setFullScreen(isFullScreen bool) { method prevCmd (line 251) | func (d *Details) prevCmd(evt *tcell.EventKey) *tcell.EventKey { method filterCmd (line 267) | func (d *Details) filterCmd(*tcell.EventKey) *tcell.EventKey { method activateCmd (line 275) | func (d *Details) activateCmd(evt *tcell.EventKey) *tcell.EventKey { method eraseCmd (line 284) | func (d *Details) eraseCmd(*tcell.EventKey) *tcell.EventKey { method resetCmd (line 293) | func (d *Details) resetCmd(evt *tcell.EventKey) *tcell.EventKey { method saveCmd (line 309) | func (d *Details) saveCmd(*tcell.EventKey) *tcell.EventKey { method updateTitle (line 319) | func (d *Details) updateTitle() { function NewDetails (line 45) | func NewDetails(app *App, title, subject, contentType string, searchable... FILE: internal/view/dir.go constant kustomize (line 22) | kustomize = "kustomization" constant kustomizeNoExt (line 23) | kustomizeNoExt = "Kustomization" constant kustomizeYAML (line 24) | kustomizeYAML = kustomize + extYAML constant kustomizeYML (line 25) | kustomizeYML = kustomize + extYML constant extYAML (line 26) | extYAML = ".yaml" constant extYML (line 27) | extYML = ".yml" type Dir (line 31) | type Dir struct method Init (line 51) | func (d *Dir) Init(ctx context.Context) error { method dirContext (line 59) | func (d *Dir) dirContext(ctx context.Context) context.Context { method bindDangerousKeys (line 63) | func (d *Dir) bindDangerousKeys(aa *ui.KeyActions) { method bindKeys (line 80) | func (d *Dir) bindKeys(aa *ui.KeyActions) { method viewCmd (line 93) | func (d *Dir) viewCmd(evt *tcell.EventKey) *tcell.EventKey { method editCmd (line 122) | func (d *Dir) editCmd(evt *tcell.EventKey) *tcell.EventKey { method gotoCmd (line 142) | func (d *Dir) gotoCmd(evt *tcell.EventKey) *tcell.EventKey { method applyCmd (line 202) | func (d *Dir) applyCmd(evt *tcell.EventKey) *tcell.EventKey { method delCmd (line 238) | func (d *Dir) delCmd(evt *tcell.EventKey) *tcell.EventKey { function NewDir (line 37) | func NewDir(s string) ResourceViewer { function isManifest (line 117) | func isManifest(s string) bool { function isKustomized (line 165) | func isKustomized(sel string) bool { function containsDir (line 184) | func containsDir(sel string) bool { function fmtResults (line 278) | func fmtResults(res string) string { FILE: internal/view/dir_int_test.go function TestIsManifest (line 12) | func TestIsManifest(t *testing.T) { function TestIsKustomized (line 30) | func TestIsKustomized(t *testing.T) { FILE: internal/view/dir_test.go function TestDir (line 14) | func TestDir(t *testing.T) { FILE: internal/view/dp.go constant scaleDialogKey (line 17) | scaleDialogKey = "scale" type Deploy (line 20) | type Deploy struct method bindKeys (line 46) | func (d *Deploy) bindKeys(aa *ui.KeyActions) { method logOptions (line 52) | func (d *Deploy) logOptions(prev bool) (*dao.LogOptions, error) { method replicaSetsCmd (line 65) | func (d *Deploy) replicaSetsCmd(evt *tcell.EventKey) *tcell.EventKey { method showPods (line 79) | func (d *Deploy) showPods(app *App, _ ui.Tabular, _ *client.GVR, fqn s... method getInstance (line 89) | func (d *Deploy) getInstance(fqn string) (*appsv1.Deployment, error) { function NewDeploy (line 25) | func NewDeploy(gvr *client.GVR) ResourceViewer { function showPodsFromSelector (line 99) | func showPodsFromSelector(app *App, path string, sel *metav1.LabelSelect... function showReplicasetsFromSelector (line 109) | func showReplicasetsFromSelector(app *App, path string, sel *metav1.Labe... FILE: internal/view/dp_test.go function TestDeploy (line 15) | func TestDeploy(t *testing.T) { FILE: internal/view/drain_dialog.go constant drainKey (line 16) | drainKey = "drain" type DrainFunc (line 19) | type DrainFunc function ShowDrain (line 22) | func ShowDrain(view ResourceViewer, sels []string, opts dao.DrainOptions... function DismissDrain (line 93) | func DismissDrain(v ResourceViewer, p *ui.Pages) { function asDurOpt (line 101) | func asDurOpt(v string) (time.Duration, error) { function asIntOpt (line 110) | func asIntOpt(v string) (int, error) { FILE: internal/view/ds.go type DaemonSet (line 16) | type DaemonSet struct method showPods (line 39) | func (d *DaemonSet) showPods(app *App, _ ui.Tabular, _ *client.GVR, pa... method logOptions (line 52) | func (d *DaemonSet) logOptions(prev bool) (*dao.LogOptions, error) { method getInstance (line 65) | func (d *DaemonSet) getInstance(fqn string) (*appsv1.DaemonSet, error) { function NewDaemonSet (line 21) | func NewDaemonSet(gvr *client.GVR) ResourceViewer { FILE: internal/view/ds_test.go function TestDaemonSet (line 15) | func TestDaemonSet(t *testing.T) { FILE: internal/view/env.go type Env (line 18) | type Env method Substitute (line 38) | func (e Env) Substitute(arg string) (string, error) { function keyFromSubmatch (line 28) | func keyFromSubmatch(m []string) (key string, inverse bool) { FILE: internal/view/env_test.go function TestEnvReplace (line 12) | func TestEnvReplace(t *testing.T) { FILE: internal/view/event.go constant faultsFilter (line 12) | faultsFilter = "Warning|Error" type Event (line 15) | type Event struct method bindKeys (line 30) | func (e *Event) bindKeys(aa *ui.KeyActions) { method toggleFaults (line 37) | func (e *Event) toggleFaults(*tcell.EventKey) *tcell.EventKey { function NewEvent (line 20) | func NewEvent(gvr *client.GVR) ResourceViewer { FILE: internal/view/exec.go constant shellCheck (line 37) | shellCheck = `command -v bash >/dev/null && exec bash || exec sh` constant bannerFmt (line 38) | bannerFmt = "<> Pod: %s | Container: %s \n" constant outputPrefix (line 39) | outputPrefix = "[output]" type shellOpts (line 44) | type shellOpts struct method String (line 52) | func (s shellOpts) String() string { function runK (line 56) | func runK(a *App, opts *shellOpts) error { function run (line 98) | func run(a *App, opts *shellOpts) (ok bool, errC chan error, outC chan s... function edit (line 123) | func edit(a *App, opts *shellOpts) bool { function execute (line 171) | func execute(opts *shellOpts, statusChan chan<- string) error { function runKu (line 240) | func runKu(ctx context.Context, a *App, opts *shellOpts) (string, error) { function oneShoot (line 269) | func oneShoot(ctx context.Context, opts *shellOpts) (string, error) { function clearScreen (line 289) | func clearScreen() { constant k9sShell (line 294) | k9sShell = "k9s-shell" constant k9sShellRetryCount (line 295) | k9sShellRetryCount = 50 constant k9sShellRetryDelay (line 296) | k9sShellRetryDelay = 2 * time.Second function launchNodeShell (line 299) | func launchNodeShell(v model.Igniter, a *App, node string) { function launchPodShell (line 325) | func launchPodShell(v model.Igniter, a *App) { function sshIn (line 347) | func sshIn(a *App, fqn, co string) error { function nukeK9sShell (line 380) | func nukeK9sShell(a *App) error { function launchShellPod (line 406) | func launchShellPod(ctx context.Context, a *App, node string) error { function k9sShellPodName (line 455) | func k9sShellPodName() string { function k9sShellPod (line 459) | func k9sShellPod(node string, cfg *config.ShellPod) *v1.Pod { function asResource (line 539) | func asResource(r config.Limits) v1.ResourceRequirements { function pipe (line 548) | func pipe(_ context.Context, opts *shellOpts, statusChan chan<- string, ... FILE: internal/view/group.go type Group (line 16) | type Group struct method bindKeys (line 29) | func (g *Group) bindKeys(aa *ui.KeyActions) { method subjectCtx (line 36) | func (*Group) subjectCtx(ctx context.Context) context.Context { method policyCmd (line 40) | func (g *Group) policyCmd(evt *tcell.EventKey) *tcell.EventKey { function NewGroup (line 21) | func NewGroup(gvr *client.GVR) ResourceViewer { FILE: internal/view/helm_chart.go type HelmChart (line 16) | type HelmChart struct method chartContext (line 36) | func (*HelmChart) chartContext(ctx context.Context) context.Context { method bindKeys (line 40) | func (c *HelmChart) bindKeys(aa *ui.KeyActions) { method viewReleases (line 47) | func (c *HelmChart) viewReleases(app *App, _ ui.Tabular, _ *client.GVR... method historyCmd (line 55) | func (c *HelmChart) historyCmd(evt *tcell.EventKey) *tcell.EventKey { method helmContext (line 65) | func (c *HelmChart) helmContext(ctx context.Context) context.Context { function NewHelmChart (line 21) | func NewHelmChart(gvr *client.GVR) ResourceViewer { FILE: internal/view/helm_history.go type History (line 21) | type History struct method Init (line 43) | func (h *History) Init(ctx context.Context) error { method HistoryContext (line 52) | func (*History) HistoryContext(ctx context.Context) context.Context { method bindKeys (line 56) | func (h *History) bindKeys(aa *ui.KeyActions) { method getValsCmd (line 68) | func (h *History) getValsCmd(app *App, _ ui.Tabular, _ *client.GVR, pa... method bindDangerousKeys (line 83) | func (h *History) bindDangerousKeys(aa *ui.KeyActions) { method rollbackCmd (line 92) | func (h *History) rollbackCmd(evt *tcell.EventKey) *tcell.EventKey { method rollback (line 121) | func (h *History) rollback(ctx context.Context, path, rev string) error { function NewHistory (line 28) | func NewHistory(gvr *client.GVR) ResourceViewer { FILE: internal/view/help.go constant helpTitle (line 24) | helpTitle = "Help" constant helpTitleFmt (line 25) | helpTitleFmt = " [aqua::b]%s " type HelpFunc (line 29) | type HelpFunc type Help (line 32) | type Help struct method SetCommand (line 48) | func (*Help) SetCommand(*cmd.Interpreter) {} method SetFilter (line 49) | func (*Help) SetFilter(string, bool) {} method SetLabelSelector (line 50) | func (*Help) SetLabelSelector(labels.Selector, bool) {} method Init (line 53) | func (h *Help) Init(ctx context.Context) error { method InCmdMode (line 70) | func (*Help) InCmdMode() bool { method StylesChanged (line 75) | func (h *Help) StylesChanged(s *config.Styles) { method bindKeys (line 81) | func (h *Help) bindKeys() { method computeMaxes (line 91) | func (h *Help) computeMaxes(hh model.MenuHints) { method computeExtraMaxes (line 104) | func (h *Help) computeExtraMaxes(ee map[string]string) { method build (line 115) | func (h *Help) build() { method addExtras (line 147) | func (h *Help) addExtras(extras map[string]string, col, size int) { method showNav (line 161) | func (*Help) showNav() model.MenuHints { method showHotKeys (line 210) | func (h *Help) showHotKeys() (model.MenuHints, error) { method showGeneral (line 231) | func (*Help) showGeneral() model.MenuHints { method resetTitle (line 312) | func (h *Help) resetTitle() { method addSpacer (line 316) | func (h *Help) addSpacer(c int) { method addSection (line 322) | func (h *Help) addSection(c int, title string, hh model.MenuHints) { method updateStyle (line 352) | func (h *Help) updateStyle() { method titleCell (line 393) | func (h *Help) titleCell(title string) *tview.TableCell { function NewHelp (line 41) | func NewHelp(app *App) *Help { function extractRef (line 385) | func extractRef(c *tview.TableCell) string { function padCellWithRef (line 403) | func padCellWithRef(s string, width int, ref any) *tview.TableCell { function padCell (line 407) | func padCell(s string, width int) *tview.TableCell { FILE: internal/view/help_test.go function TestHelp (line 17) | func TestHelp(t *testing.T) { FILE: internal/view/helpers.go function isBailoutEvt (line 34) | func isBailoutEvt(evt *tcell.EventKey) bool { function aliases (line 38) | func aliases(m *v1.APIResource, aa sets.Set[string]) sets.Set[string] { function clipboardWrite (line 49) | func clipboardWrite(text string) error { function sanitizeEsc (line 59) | func sanitizeEsc(s string) string { function cpCmd (line 63) | func cpCmd(flash *model.Flash, v *tview.TextView) func(*tcell.EventKey) ... function parsePFAnn (line 75) | func parsePFAnn(s string) (port, lport string, ok bool) { function k8sEnv (line 84) | func k8sEnv(c *client.Config) Env { function defaultEnv (line 119) | func defaultEnv(c *client.Config, path string, header model1.Header, row... function describeResource (line 135) | func describeResource(app *App, _ ui.Tabular, gvr *client.GVR, path stri... function showReplicasets (line 142) | func showReplicasets(app *App, path string, labelSel labels.Selector, fi... function showPods (line 159) | func showPods(app *App, path string, labelSel labels.Selector, fieldSel ... function podCtx (line 173) | func podCtx(_ *App, path, fieldSel string) ContextFunc { function extractApp (line 180) | func extractApp(ctx context.Context) (*App, error) { function asKey (line 190) | func asKey(key string) (tcell.Key, error) { function fwFQN (line 201) | func fwFQN(po, co string) string { function isTCPPort (line 205) | func isTCPPort(p string) bool { function containerID (line 210) | func containerID(path, co string) string { function urlFor (line 218) | func urlFor(cfg *config.BenchConfig, port string) string { function fqn (line 232) | func fqn(ns, n string) string { function decorateCpuMemHeaderRows (line 239) | func decorateCpuMemHeaderRows(app *App, data *model1.TableData) { function matchTag (line 276) | func matchTag(i int, s string) string { function linesWithRegions (line 280) | func linesWithRegions(lines []string, matches fuzzy.Matches) []string { FILE: internal/view/helpers_test.go function init (line 24) | func init() { function TestParsePFAnn (line 28) | func TestParsePFAnn(t *testing.T) { function TestExtractApp (line 63) | func TestExtractApp(t *testing.T) { function TestFwFQN (line 90) | func TestFwFQN(t *testing.T) { function TestAsKey (line 105) | func TestAsKey(t *testing.T) { function TestK8sEnv (line 125) | func TestK8sEnv(t *testing.T) { function TestK9sEnv (line 144) | func TestK9sEnv(t *testing.T) { function TestIsTCPPort (line 176) | func TestIsTCPPort(t *testing.T) { function TestFQN (line 193) | func TestFQN(t *testing.T) { function TestUrlFor (line 209) | func TestUrlFor(t *testing.T) { function TestContainerID (line 249) | func TestContainerID(t *testing.T) { function Test_linesWithRegions (line 273) | func Test_linesWithRegions(t *testing.T) { function Test_sanitizeEsc (line 331) | func Test_sanitizeEsc(t *testing.T) { FILE: internal/view/image_extender.go constant imageKey (line 20) | imageKey = "setImage" type imageFormSpec (line 22) | type imageFormSpec struct method modified (line 27) | func (m *imageFormSpec) modified() bool { method imageSpec (line 32) | func (m *imageFormSpec) imageSpec() dao.ImageSpec { type ImageExtender (line 48) | type ImageExtender struct method bindKeys (line 60) | func (s *ImageExtender) bindKeys(aa *ui.KeyActions) { method setImageCmd (line 67) | func (s *ImageExtender) setImageCmd(*tcell.EventKey) *tcell.EventKey { method showImageDialog (line 82) | func (s *ImageExtender) showImageDialog(path string) error { method makeSetImageForm (line 98) | func (s *ImageExtender) makeSetImageForm(fqn string) (*tview.Form, err... method dismissDialog (line 162) | func (s *ImageExtender) dismissDialog() { method getPodSpec (line 166) | func (s *ImageExtender) getPodSpec(path string) (*corev1.PodSpec, erro... method setImages (line 179) | func (s *ImageExtender) setImages(ctx context.Context, path string, im... function NewImageExtender (line 53) | func NewImageExtender(r ResourceViewer) ResourceViewer { FILE: internal/view/img_scan.go constant imgScanTitle (line 18) | imgScanTitle = "Scans" constant browseOSX (line 19) | browseOSX = "open" constant browseLinux (line 20) | browseLinux = "sensible-browser" constant cveGovURL (line 21) | cveGovURL = "https://nvd.nist.gov/vuln/detail/" constant ghsaURL (line 22) | ghsaURL = "https://github.com/advisories/" type ImageScan (line 26) | type ImageScan struct method Name (line 42) | func (*ImageScan) Name() string { return imgScanTitle } method bindKeys (line 44) | func (i *ImageScan) bindKeys(aa *ui.KeyActions) { method viewCVE (line 54) | func (*ImageScan) viewCVE(app *App, _ ui.Tabular, _ *client.GVR, path ... function NewImageScan (line 31) | func NewImageScan(gvr *client.GVR) ResourceViewer { FILE: internal/view/job.go type Job (line 19) | type Job struct method showPods (line 38) | func (*Job) showPods(app *App, _ ui.Tabular, gvr *client.GVR, path str... method logOptions (line 55) | func (j *Job) logOptions(prev bool) (*dao.LogOptions, error) { method getInstance (line 68) | func (j *Job) getInstance(fqn string) (*batchv1.Job, error) { function NewJob (line 24) | func NewJob(gvr *client.GVR) ResourceViewer { FILE: internal/view/live_view.go constant liveViewTitleFmt (line 26) | liveViewTitleFmt = "[fg:bg:b] %s([hilite:bg:b]%s[fg:bg:-])[fg:bg:-] " constant yamlAction (line 27) | yamlAction = "YAML" type LiveView (line 31) | type LiveView struct method SetCommand (line 66) | func (*LiveView) SetCommand(*cmd.Interpreter) {} method SetFilter (line 67) | func (*LiveView) SetFilter(string, bool) {} method SetLabelSelector (line 68) | func (*LiveView) SetLabelSelector(labels.Selector, bool) {} method Init (line 71) | func (v *LiveView) Init(_ context.Context) error { method InCmdMode (line 100) | func (v *LiveView) InCmdMode() bool { method ResourceFailed (line 105) | func (v *LiveView) ResourceFailed(err error) { method ResourceChanged (line 112) | func (v *LiveView) ResourceChanged(lines []string, matches fuzzy.Match... method BufferChanged (line 133) | func (*LiveView) BufferChanged(_, _ string) {} method BufferCompleted (line 136) | func (v *LiveView) BufferCompleted(text, _ string) { method BufferActive (line 141) | func (v *LiveView) BufferActive(state bool, k model.BufferKind) { method bindKeys (line 145) | func (v *LiveView) bindKeys() { method toggleEncodedDecodedCmd (line 171) | func (v *LiveView) toggleEncodedDecodedCmd(evt *tcell.EventKey) *tcell... method editCmd (line 182) | func (v *LiveView) editCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleRefreshCmd (line 197) | func (v *LiveView) toggleRefreshCmd(*tcell.EventKey) *tcell.EventKey { method keyboard (line 210) | func (v *LiveView) keyboard(evt *tcell.EventKey) *tcell.EventKey { method StylesChanged (line 219) | func (v *LiveView) StylesChanged(s *config.Styles) { method Actions (line 226) | func (v *LiveView) Actions() *ui.KeyActions { method Name (line 231) | func (v *LiveView) Name() string { return v.title } method Start (line 234) | func (v *LiveView) Start() { method defaultCtx (line 249) | func (v *LiveView) defaultCtx() context.Context { method Stop (line 254) | func (v *LiveView) Stop() { method Hints (line 263) | func (v *LiveView) Hints() model.MenuHints { method ExtraHints (line 268) | func (*LiveView) ExtraHints() map[string]string { method toggleManagedCmd (line 272) | func (v *LiveView) toggleManagedCmd(evt *tcell.EventKey) *tcell.EventK... method toggleFullScreenCmd (line 284) | func (v *LiveView) toggleFullScreenCmd(evt *tcell.EventKey) *tcell.Eve... method setFullScreen (line 294) | func (v *LiveView) setFullScreen(isFullScreen bool) { method nextCmd (line 305) | func (v *LiveView) nextCmd(evt *tcell.EventKey) *tcell.EventKey { method prevCmd (line 321) | func (v *LiveView) prevCmd(evt *tcell.EventKey) *tcell.EventKey { method filterCmd (line 337) | func (v *LiveView) filterCmd(*tcell.EventKey) *tcell.EventKey { method activateCmd (line 345) | func (v *LiveView) activateCmd(evt *tcell.EventKey) *tcell.EventKey { method eraseCmd (line 354) | func (v *LiveView) eraseCmd(*tcell.EventKey) *tcell.EventKey { method resetCmd (line 363) | func (v *LiveView) resetCmd(evt *tcell.EventKey) *tcell.EventKey { method saveCmd (line 379) | func (v *LiveView) saveCmd(*tcell.EventKey) *tcell.EventKey { method updateTitle (line 390) | func (v *LiveView) updateTitle() { function NewLiveView (line 48) | func NewLiveView(app *App, title string, m model.ResourceViewer) *LiveVi... FILE: internal/view/live_view_test.go function TestLiveViewSetText (line 16) | func TestLiveViewSetText(t *testing.T) { FILE: internal/view/log.go constant logTitle (line 32) | logTitle = "logs" constant logMessage (line 33) | logMessage = "Waiting for logs...\n" constant logFmt (line 34) | logFmt = "([hilite:bg:]%s[-:bg:-])[[green:bg:b]%s[-:bg:-]] " constant logCoFmt (line 35) | logCoFmt = "([hilite:bg:]%s:[hilite:bg:b]%s[-:bg:-])[[green:b... constant defaultFlushTimeout (line 36) | defaultFlushTimeout = 50 * time.Millisecond type Log (line 40) | type Log struct method SetCommand (line 66) | func (*Log) SetCommand(*cmd.Interpreter) {} method SetFilter (line 67) | func (*Log) SetFilter(string, bool) {} method SetLabelSelector (line 68) | func (*Log) SetLabelSelector(labels.Selector, bool) {} method Init (line 71) | func (l *Log) Init(ctx context.Context) (err error) { method InCmdMode (line 115) | func (l *Log) InCmdMode() bool { method LogCanceled (line 120) | func (l *Log) LogCanceled() { method LogStop (line 126) | func (l *Log) LogStop() { method LogResume (line 135) | func (l *Log) LogResume() { method LogCleared (line 143) | func (l *Log) LogCleared() { method LogFailed (line 150) | func (l *Log) LogFailed(err error) { method LogChanged (line 163) | func (l *Log) LogChanged(lines [][]byte) { method BufferCompleted (line 173) | func (l *Log) BufferCompleted(text, _ string) { method BufferChanged (line 179) | func (*Log) BufferChanged(_, _ string) {} method BufferActive (line 182) | func (l *Log) BufferActive(state bool, k model.BufferKind) { method StylesChanged (line 187) | func (l *Log) StylesChanged(s *config.Styles) { method GetModel (line 194) | func (l *Log) GetModel() *model.Log { method Hints (line 199) | func (l *Log) Hints() model.MenuHints { method ExtraHints (line 204) | func (*Log) ExtraHints() map[string]string { method cancel (line 208) | func (l *Log) cancel() { method getContext (line 217) | func (l *Log) getContext() context.Context { method Start (line 226) | func (l *Log) Start() { method Stop (line 236) | func (l *Log) Stop() { method Name (line 246) | func (*Log) Name() string { return logTitle } method bindKeys (line 248) | func (l *Log) bindKeys() { method resetCmd (line 275) | func (l *Log) resetCmd(evt *tcell.EventKey) *tcell.EventKey { method SendStrokes (line 291) | func (l *Log) SendStrokes(s string) { method SendKeys (line 296) | func (l *Log) SendKeys(kk ...tcell.Key) { method Indicator (line 303) | func (l *Log) Indicator() *LogIndicator { method updateTitle (line 307) | func (l *Log) updateTitle() { method Logs (line 341) | func (l *Log) Logs() *Logger { method Flush (line 349) | func (l *Log) Flush(lines [][]byte) { method sinceCmd (line 381) | func (l *Log) sinceCmd(n int) func(evt *tcell.EventKey) *tcell.EventKey { method toggleAllContainers (line 397) | func (l *Log) toggleAllContainers(evt *tcell.EventKey) *tcell.EventKey { method filterCmd (line 408) | func (l *Log) filterCmd(evt *tcell.EventKey) *tcell.EventKey { method SaveCmd (line 422) | func (l *Log) SaveCmd(*tcell.EventKey) *tcell.EventKey { method clearCmd (line 468) | func (l *Log) clearCmd(*tcell.EventKey) *tcell.EventKey { method markCmd (line 473) | func (l *Log) markCmd(*tcell.EventKey) *tcell.EventKey { method toggleTimestampCmd (line 481) | func (l *Log) toggleTimestampCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleTextWrapCmd (line 493) | func (l *Log) toggleTextWrapCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleAutoScrollCmd (line 506) | func (l *Log) toggleAutoScrollCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleColumnLockCmd (line 518) | func (l *Log) toggleColumnLockCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleFullScreenCmd (line 530) | func (l *Log) toggleFullScreenCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleFullScreen (line 541) | func (l *Log) toggleFullScreen() { method isContainerLogView (line 551) | func (l *Log) isContainerLogView() bool { function NewLog (line 59) | func NewLog(gvr *client.GVR, opts *dao.LogOptions) *Log { function ensureDir (line 433) | func ensureDir(dir string) error { function saveData (line 437) | func saveData(dir, fqn, logs string) (string, error) { FILE: internal/view/log_indicator.go constant spacer (line 14) | spacer = " " type LogIndicator (line 17) | type LogIndicator struct method StylesChanged (line 58) | func (l *LogIndicator) StylesChanged(styles *config.Styles) { method AutoScroll (line 65) | func (l *LogIndicator) AutoScroll() bool { method ColumnLock (line 70) | func (l *LogIndicator) ColumnLock() bool { method Timestamp (line 75) | func (l *LogIndicator) Timestamp() bool { method TextWrap (line 80) | func (l *LogIndicator) TextWrap() bool { method FullScreen (line 85) | func (l *LogIndicator) FullScreen() bool { method ToggleColumnLock (line 90) | func (l *LogIndicator) ToggleColumnLock() { method ToggleTimestamp (line 95) | func (l *LogIndicator) ToggleTimestamp() { method ToggleFullScreen (line 100) | func (l *LogIndicator) ToggleFullScreen() { method ToggleTextWrap (line 106) | func (l *LogIndicator) ToggleTextWrap() { method ToggleAutoScroll (line 112) | func (l *LogIndicator) ToggleAutoScroll() { method ToggleAllContainers (line 122) | func (l *LogIndicator) ToggleAllContainers() { method reset (line 127) | func (l *LogIndicator) reset() { method Refresh (line 133) | func (l *LogIndicator) Refresh() { function NewLogIndicator (line 32) | func NewLogIndicator(cfg *config.Config, styles *config.Styles, allConta... FILE: internal/view/log_indicator_test.go function TestLogIndicatorRefresh (line 14) | func TestLogIndicatorRefresh(t *testing.T) { function BenchmarkLogIndicatorRefresh (line 37) | func BenchmarkLogIndicatorRefresh(b *testing.B) { FILE: internal/view/log_int_test.go function TestLogAutoScroll (line 17) | func TestLogAutoScroll(t *testing.T) { function TestLogColumnLock (line 36) | func TestLogColumnLock(t *testing.T) { function TestLogViewNav (line 60) | func TestLogViewNav(t *testing.T) { function TestLogViewClear (line 79) | func TestLogViewClear(t *testing.T) { function TestLogTimestamp (line 94) | func TestLogTimestamp(t *testing.T) { function TestLogFilter (line 124) | func TestLogFilter(t *testing.T) { type logList (line 151) | type logList struct method LogChanged (line 156) | func (l *logList) LogChanged(ll [][]byte) { method LogCanceled (line 163) | func (*logList) LogCanceled() {} method LogStop (line 164) | func (*logList) LogStop() {} method LogResume (line 165) | func (*logList) LogResume() {} method LogCleared (line 166) | func (l *logList) LogCleared() { l.clear++ } method LogFailed (line 167) | func (l *logList) LogFailed(error) { l.fail++ } FILE: internal/view/log_test.go function TestLog (line 25) | func TestLog(t *testing.T) { function TestLogFlush (line 42) | func TestLogFlush(t *testing.T) { function BenchmarkLogFlush (line 62) | func BenchmarkLogFlush(b *testing.B) { function TestLogAnsi (line 86) | func TestLogAnsi(t *testing.T) { function TestLogViewSave (line 100) | func TestLogViewSave(t *testing.T) { function TestAllContainerKeyBinding (line 127) | func TestAllContainerKeyBinding(t *testing.T) { function makeApp (line 154) | func makeApp(t *testing.T) *view.App { function ensureDumpDir (line 158) | func ensureDumpDir(n string) error { FILE: internal/view/logger.go type Logger (line 17) | type Logger struct method Init (line 37) | func (l *Logger) Init(_ context.Context) error { method BufferChanged (line 61) | func (*Logger) BufferChanged(_, _ string) {} method BufferCompleted (line 64) | func (*Logger) BufferCompleted(_, _ string) {} method BufferActive (line 67) | func (l *Logger) BufferActive(state bool, k model.BufferKind) { method bindKeys (line 71) | func (l *Logger) bindKeys() { method keyboard (line 82) | func (l *Logger) keyboard(evt *tcell.EventKey) *tcell.EventKey { method StylesChanged (line 91) | func (l *Logger) StylesChanged(*config.Styles) { method SetSubject (line 98) | func (l *Logger) SetSubject(s string) { method Actions (line 103) | func (l *Logger) Actions() *ui.KeyActions { method Name (line 108) | func (l *Logger) Name() string { return l.title } method Start (line 111) | func (*Logger) Start() {} method Stop (line 114) | func (l *Logger) Stop() { method Hints (line 119) | func (l *Logger) Hints() model.MenuHints { method ExtraHints (line 124) | func (*Logger) ExtraHints() map[string]string { method activateCmd (line 128) | func (l *Logger) activateCmd(evt *tcell.EventKey) *tcell.EventKey { method eraseCmd (line 137) | func (l *Logger) eraseCmd(*tcell.EventKey) *tcell.EventKey { method resetCmd (line 146) | func (l *Logger) resetCmd(evt *tcell.EventKey) *tcell.EventKey { method saveCmd (line 157) | func (l *Logger) saveCmd(*tcell.EventKey) *tcell.EventKey { function NewLogger (line 27) | func NewLogger(app *App) *Logger { FILE: internal/view/logs_extender.go type LogsExtender (line 16) | type LogsExtender struct method bindKeys (line 34) | func (l *LogsExtender) bindKeys(aa *ui.KeyActions) { method logsCmd (line 41) | func (l *LogsExtender) logsCmd(prev bool) func(evt *tcell.EventKey) *t... method showLogs (line 61) | func (l *LogsExtender) showLogs(path string, prev bool) { method buildLogOpts (line 81) | func (l *LogsExtender) buildLogOpts(path, co string, prevLogs bool) *d... function NewLogsExtender (line 23) | func NewLogsExtender(v ResourceViewer, f LogOptionsFunc) ResourceViewer { function isResourcePath (line 56) | func isResourcePath(p string) bool { function podLogOptions (line 97) | func podLogOptions(app *App, fqn string, prev bool, m *metav1.ObjectMeta... FILE: internal/view/node.go type Node (line 23) | type Node struct method nodeContext (line 39) | func (n *Node) nodeContext(ctx context.Context) context.Context { method bindDangerousKeys (line 43) | func (n *Node) bindDangerousKeys(aa *ui.KeyActions) { method bindKeys (line 80) | func (n *Node) bindKeys(aa *ui.KeyActions) { method showPods (line 90) | func (n *Node) showPods(a *App, _ ui.Tabular, _ *client.GVR, path stri... method drainCmd (line 94) | func (n *Node) drainCmd(evt *tcell.EventKey) *tcell.EventKey { method toggleCordonCmd (line 137) | func (n *Node) toggleCordonCmd(cordon bool) func(evt *tcell.EventKey) ... method sshCmd (line 179) | func (n *Node) sshCmd(evt *tcell.EventKey) *tcell.EventKey { method yamlCmd (line 193) | func (n *Node) yamlCmd(evt *tcell.EventKey) *tcell.EventKey { function NewNode (line 28) | func NewNode(gvr *client.GVR) ResourceViewer { function drainNode (line 109) | func drainNode(v ResourceViewer, sels []string, opts dao.DrainOptions) { FILE: internal/view/ns.go constant favNSIndicator (line 15) | favNSIndicator = "+" constant defaultNSIndicator (line 16) | defaultNSIndicator = "(*)" type Namespace (line 20) | type Namespace struct method bindKeys (line 36) | func (n *Namespace) bindKeys(aa *ui.KeyActions) { method switchNs (line 42) | func (n *Namespace) switchNs(app *App, _ ui.Tabular, _ *client.GVR, pa... method useNsCmd (line 48) | func (n *Namespace) useNsCmd(*tcell.EventKey) *tcell.EventKey { method useNamespace (line 58) | func (n *Namespace) useNamespace(fqn string) { method decorate (line 73) | func (n *Namespace) decorate(td *model1.TableData) { function NewNamespace (line 25) | func NewNamespace(gvr *client.GVR) ResourceViewer { FILE: internal/view/ns_test.go function TestNSCleanser (line 15) | func TestNSCleanser(t *testing.T) { FILE: internal/view/owner_extender.go type OwnerExtender (line 27) | type OwnerExtender struct method bindKeys (line 39) | func (v *OwnerExtender) bindKeys(aa *ui.KeyActions) { method ownerCmd (line 43) | func (v *OwnerExtender) ownerCmd(evt *tcell.EventKey) *tcell.EventKey { method findOwnerFor (line 59) | func (v *OwnerExtender) findOwnerFor(path string) error { method jumpOwner (line 97) | func (v *OwnerExtender) jumpOwner(ns string, owner *metav1.OwnerRefere... method defaultCtx (line 119) | func (v *OwnerExtender) defaultCtx() context.Context { method asUnstructuredObject (line 123) | func (*OwnerExtender) asUnstructuredObject(o runtime.Object) (*unstruc... function NewOwnerExtender (line 32) | func NewOwnerExtender(r ResourceViewer) ResourceViewer { FILE: internal/view/page_stack.go type PageStack (line 14) | type PageStack struct method Init (line 28) | func (p *PageStack) Init(ctx context.Context) (err error) { method StackPushed (line 38) | func (p *PageStack) StackPushed(c model.Component) { method StackPopped (line 44) | func (p *PageStack) StackPopped(o, top model.Component) { method StackTop (line 50) | func (p *PageStack) StackTop(top model.Component) { function NewPageStack (line 21) | func NewPageStack() *PageStack { FILE: internal/view/pf.go type PortForward (line 25) | type PortForward struct method portForwardContext (line 45) | func (p *PortForward) portForwardContext(ctx context.Context) context.... method bindKeys (line 53) | func (p *PortForward) bindKeys(aa *ui.KeyActions) { method showBenchCmd (line 64) | func (p *PortForward) showBenchCmd(*tcell.EventKey) *tcell.EventKey { method getContext (line 74) | func (p *PortForward) getContext(ctx context.Context) context.Context { method toggleBenchCmd (line 84) | func (p *PortForward) toggleBenchCmd(*tcell.EventKey) *tcell.EventKey { method runBenchmark (line 124) | func (p *PortForward) runBenchmark() error { method deleteCmd (line 152) | func (p *PortForward) deleteCmd(evt *tcell.EventKey) *tcell.EventKey { function NewPortForward (line 32) | func NewPortForward(gvr *client.GVR) ResourceViewer { function pfToHuman (line 197) | func pfToHuman(s string) (string, error) { FILE: internal/view/pf_dialog.go constant portForwardKey (line 19) | portForwardKey = "portforward" type PortForwardCB (line 22) | type PortForwardCB function ShowPortForwards (line 25) | func ShowPortForwards(v ResourceViewer, path string, ports port.Containe... function DismissPortForwards (line 116) | func DismissPortForwards(v ResourceViewer, p *ui.Pages) { function extractPort (line 124) | func extractPort(p string) string { FILE: internal/view/pf_dialog_test.go function TestExtractPort (line 12) | func TestExtractPort(t *testing.T) { FILE: internal/view/pf_extender.go type PortForwardExtender (line 28) | type PortForwardExtender struct method bindKeys (line 40) | func (p *PortForwardExtender) bindKeys(aa *ui.KeyActions) { method portFwdCmd (line 47) | func (p *PortForwardExtender) portFwdCmd(evt *tcell.EventKey) *tcell.E... method showPFCmd (line 69) | func (p *PortForwardExtender) showPFCmd(evt *tcell.EventKey) *tcell.Ev... method fetchPodName (line 95) | func (p *PortForwardExtender) fetchPodName(path string) (string, error) { method portForwardContext (line 108) | func (p *PortForwardExtender) portForwardContext(ctx context.Context) ... function NewPortForwardExtender (line 33) | func NewPortForwardExtender(r ResourceViewer) ResourceViewer { function ensurePodPortFwdAllowed (line 119) | func ensurePodPortFwdAllowed(factory dao.Factory, podName string) error { function runForward (line 131) | func runForward(v ResourceViewer, pf watch.Forwarder, f *portforward.Por... function startFwdCB (line 148) | func startFwdCB(v ResourceViewer, path string, pts port.PortTunnels) err... function showFwdDialog (line 179) | func showFwdDialog(v ResourceViewer, path string, cb PortForwardCB) error { function fetchPodPorts (line 211) | func fetchPodPorts(f *watch.Factory, path string) (ports map[string][]v1... FILE: internal/view/pf_extender_test.go function TestEnsurePodPortFwdAllowed (line 21) | func TestEnsurePodPortFwdAllowed(t *testing.T) { type testFactory (line 66) | type testFactory struct method Client (line 72) | func (testFactory) Client() client.Connection { method Get (line 75) | func (t testFactory) Get(*client.GVR, string, bool, labels.Selector) (... method List (line 82) | func (testFactory) List(*client.GVR, string, bool, labels.Selector) ([... method ForResource (line 85) | func (testFactory) ForResource(string, *client.GVR) (informers.Generic... method CanForResource (line 88) | func (testFactory) CanForResource(string, *client.GVR, []string) (info... method Forwarders (line 91) | func (testFactory) Forwarders() watch.Forwarders { method WaitForCacheSync (line 94) | func (testFactory) WaitForCacheSync() {} method DeleteForwarder (line 95) | func (testFactory) DeleteForwarder(string) {} FILE: internal/view/pf_test.go function TestPortForwardNew (line 15) | func TestPortForwardNew(t *testing.T) { FILE: internal/view/picker.go type Picker (line 19) | type Picker struct method SetCommand (line 33) | func (*Picker) SetCommand(*cmd.Interpreter) {} method SetFilter (line 34) | func (*Picker) SetFilter(string, bool) {} method SetLabelSelector (line 35) | func (*Picker) SetLabelSelector(labels.Selector, bool) {} method Init (line 38) | func (p *Picker) Init(ctx context.Context) error { method InCmdMode (line 66) | func (*Picker) InCmdMode() bool { method Start (line 71) | func (*Picker) Start() {} method Stop (line 74) | func (*Picker) Stop() {} method Name (line 77) | func (*Picker) Name() string { return "picker" } method Hints (line 80) | func (p *Picker) Hints() model.MenuHints { method ExtraHints (line 85) | func (*Picker) ExtraHints() map[string]string { method populate (line 89) | func (p *Picker) populate(ss []string) { function NewPicker (line 26) | func NewPicker() *Picker { FILE: internal/view/pod.go constant windowsOS (line 35) | windowsOS = "windows" constant powerShell (line 36) | powerShell = "powershell" constant osSelector (line 37) | osSelector = "kubernetes.io/os" constant osBetaSelector (line 38) | osBetaSelector = "beta." + osSelector constant trUpload (line 39) | trUpload = "Upload" constant trDownload (line 40) | trDownload = "Download" constant pfIndicator (line 41) | pfIndicator = "[orange::b]Ⓕ" constant defaultTxRetries (line 42) | defaultTxRetries = 999 constant magicPrompt (line 43) | magicPrompt = "Yes Please!" type Pod (line 47) | type Pod struct method portForwardIndicator (line 70) | func (p *Pod) portForwardIndicator(data *model1.TableData) { method bindDangerousKeys (line 87) | func (p *Pod) bindDangerousKeys(aa *ui.KeyActions) { method bindKeys (line 127) | func (p *Pod) bindKeys(aa *ui.KeyActions) { method logOptions (line 137) | func (p *Pod) logOptions(prev bool) (*dao.LogOptions, error) { method showContainers (line 151) | func (p *Pod) showContainers(app *App, _ ui.Tabular, _ *client.GVR, _ ... method coContext (line 159) | func (p *Pod) coContext(ctx context.Context) context.Context { method showNode (line 165) | func (p *Pod) showNode(evt *tcell.EventKey) *tcell.EventKey { method killCmd (line 188) | func (p *Pod) killCmd(evt *tcell.EventKey) *tcell.EventKey { method shellCmd (line 223) | func (p *Pod) shellCmd(evt *tcell.EventKey) *tcell.EventKey { method attachCmd (line 241) | func (p *Pod) attachCmd(evt *tcell.EventKey) *tcell.EventKey { method sanitizeCmd (line 259) | func (p *Pod) sanitizeCmd(*tcell.EventKey) *tcell.EventKey { method transferCmd (line 287) | func (p *Pod) transferCmd(*tcell.EventKey) *tcell.EventKey { function NewPod (line 52) | func NewPod(gvr *client.GVR) ResourceViewer { function containerShellIn (line 359) | func containerShellIn(a *App, comp model.Component, path, co string) err... function resumeShellIn (line 389) | func resumeShellIn(a *App, c model.Component, path, co string) { function shellIn (line 404) | func shellIn(a *App, fqn, co string) error { function containerAttachIn (line 420) | func containerAttachIn(a *App, comp model.Component, path, co string) er... function resumeAttachIn (line 447) | func resumeAttachIn(a *App, c model.Component, path, co string) { function attachIn (line 454) | func attachIn(a *App, path, co string) { function computeShellArgs (line 462) | func computeShellArgs(path, co string, flags *genericclioptions.ConfigFl... function isFlagSet (line 471) | func isFlagSet(flag *string) (string, bool) { function buildShellArgs (line 479) | func buildShellArgs(cmd, path, co string, flags *genericclioptions.Confi... function fetchContainers (line 506) | func fetchContainers(meta *metav1.ObjectMeta, spec *v1.PodSpec, allConta... function fetchPod (line 533) | func fetchPod(f dao.Factory, path string) (*v1.Pod, error) { function podIsRunning (line 548) | func podIsRunning(f dao.Factory, fqn string) bool { function getPodOS (line 562) | func getPodOS(f dao.Factory, fqn string) (string, error) { function osFromSelector (line 581) | func osFromSelector(s map[string]string) (string, bool) { FILE: internal/view/pod_int_test.go function newStr (line 14) | func newStr(s string) *string { function TestComputeShellArgs (line 18) | func TestComputeShellArgs(t *testing.T) { FILE: internal/view/pod_test.go function TestPodNew (line 18) | func TestPodNew(t *testing.T) { function makeCtx (line 28) | func makeCtx(t testing.TB) context.Context { FILE: internal/view/policy.go constant group (line 16) | group = "Group" constant user (line 17) | user = "User" constant sa (line 18) | sa = "ServiceAccount" type Policy (line 22) | type Policy struct method subjectCtx (line 43) | func (p *Policy) subjectCtx(ctx context.Context) context.Context { method bindKeys (line 49) | func (*Policy) bindKeys(aa *ui.KeyActions) { function NewPolicy (line 29) | func NewPolicy(_ *App, subject, name string) *Policy { function mapSubject (line 53) | func mapSubject(subject string) string { FILE: internal/view/priorityclass.go type PriorityClass (line 13) | type PriorityClass struct method bindKeys (line 27) | func (s *PriorityClass) bindKeys(aa *ui.KeyActions) { method refCmd (line 31) | func (s *PriorityClass) refCmd(evt *tcell.EventKey) *tcell.EventKey { function NewPriorityClass (line 18) | func NewPriorityClass(gvr *client.GVR) ResourceViewer { FILE: internal/view/priorityclass_test.go function TestPriorityClassNew (line 15) | func TestPriorityClassNew(t *testing.T) { FILE: internal/view/pulse.go constant cpuFmt (line 28) | cpuFmt = " %s [%s::b]%s[white::-]([%s::]%sm[white::]/[%s::]%sm[-::])" constant memFmt (line 29) | memFmt = " %s [%s::b]%s[white::-]([%s::]%sMi[white::]/[%s::]%sMi[-::])" constant pulseTitle (line 30) | pulseTitle = "Pulses" constant NSTitleFmt (line 31) | NSTitleFmt = "[fg:bg:b] %s([hilite:bg:b]%s[fg:bg:-])[fg:bg:-] " constant dirLeft (line 32) | dirLeft = 1 constant dirRight (line 33) | dirRight = -dirLeft constant dirDown (line 34) | dirDown = 4 constant dirUp (line 35) | dirUp = -dirDown constant grayC (line 36) | grayC = "gray" type Charts (line 41) | type Charts type Graphable (line 44) | type Graphable interface type Pulse (line 82) | type Pulse struct method Init (line 106) | func (p *Pulse) Init(ctx context.Context) error { method InCmdMode (line 153) | func (*Pulse) InCmdMode() bool { method SetCommand (line 157) | func (*Pulse) SetCommand(*cmd.Interpreter) {} method SetFilter (line 158) | func (*Pulse) SetFilter(string, bool) {} method SetLabelSelector (line 159) | func (*Pulse) SetLabelSelector(labels.Selector, bool) {} method StylesChanged (line 162) | func (p *Pulse) StylesChanged(s *config.Styles) { method SeriesChanged (line 180) | func (p *Pulse) SeriesChanged(tt dao.TimeSeries) { method PulseChanged (line 245) | func (p *Pulse) PulseChanged(pt model.HealthPoint) { method PulseFailed (line 269) | func (p *Pulse) PulseFailed(err error) { method bindKeys (line 273) | func (p *Pulse) bindKeys() { method keyboard (line 289) | func (p *Pulse) keyboard(evt *tcell.EventKey) *tcell.EventKey { method defaultContext (line 301) | func (p *Pulse) defaultContext() context.Context { method Restart (line 305) | func (*Pulse) Restart() {} method Start (line 308) | func (p *Pulse) Start() { method Stop (line 342) | func (p *Pulse) Stop() { method Refresh (line 351) | func (*Pulse) Refresh() {} method GVR (line 354) | func (p *Pulse) GVR() *client.GVR { method Name (line 359) | func (*Pulse) Name() string { method App (line 364) | func (p *Pulse) App() *App { method SetInstance (line 369) | func (*Pulse) SetInstance(string) {} method SetEnvFn (line 372) | func (*Pulse) SetEnvFn(EnvFunc) {} method AddBindKeysFn (line 375) | func (*Pulse) AddBindKeysFn(BindKeysFunc) {} method SetContextFn (line 378) | func (*Pulse) SetContextFn(ContextFunc) {} method GetContextFn (line 380) | func (*Pulse) GetContextFn() ContextFunc { return nil } method GetTable (line 383) | func (*Pulse) GetTable() *Table { method Actions (line 388) | func (p *Pulse) Actions() *ui.KeyActions { method Hints (line 393) | func (p *Pulse) Hints() model.MenuHints { method ExtraHints (line 398) | func (*Pulse) ExtraHints() map[string]string { method enterCmd (line 402) | func (p *Pulse) enterCmd(*tcell.EventKey) *tcell.EventKey { method nextFocusCmd (line 433) | func (p *Pulse) nextFocusCmd(direction int) func(evt *tcell.EventKey) ... method makeSP (line 496) | func (p *Pulse) makeSP(loc, span image.Point, gvr *client.GVR, unit st... method makeGA (line 511) | func (p *Pulse) makeGA(loc, span image.Point, gvr *client.GVR) *tchart... method nextFocus (line 530) | func (p *Pulse) nextFocus(index int) (int, tview.Primitive) { method findIndex (line 542) | func (p *Pulse) findIndex(g Graphable) int { function NewPulse (line 96) | func NewPulse(gvr *client.GVR) ResourceViewer { FILE: internal/view/pvc.go type PersistentVolumeClaim (line 13) | type PersistentVolumeClaim struct method bindKeys (line 27) | func (p *PersistentVolumeClaim) bindKeys(aa *ui.KeyActions) { method refCmd (line 33) | func (p *PersistentVolumeClaim) refCmd(evt *tcell.EventKey) *tcell.Eve... function NewPersistentVolumeClaim (line 18) | func NewPersistentVolumeClaim(gvr *client.GVR) ResourceViewer { FILE: internal/view/pvc_test.go function TestPVCNew (line 15) | func TestPVCNew(t *testing.T) { FILE: internal/view/rbac.go type Rbac (line 16) | type Rbac struct method bindKeys (line 32) | func (*Rbac) bindKeys(aa *ui.KeyActions) { function NewRbac (line 21) | func NewRbac(gvr *client.GVR) ResourceViewer { function showRules (line 36) | func showRules(app *App, _ ui.Tabular, gvr *client.GVR, path string) { function rbacCtx (line 45) | func rbacCtx(gvr *client.GVR, path string) ContextFunc { function blankEnterFn (line 52) | func blankEnterFn(_ *App, _ ui.Tabular, _ *client.GVR, _ string) {} FILE: internal/view/rbac_test.go function TestRbacNew (line 15) | func TestRbacNew(t *testing.T) { FILE: internal/view/reference.go type Reference (line 15) | type Reference struct method Init (line 32) | func (r *Reference) Init(ctx context.Context) error { method bindKeys (line 41) | func (r *Reference) bindKeys(aa *ui.KeyActions) { method gotoCmd (line 50) | func (r *Reference) gotoCmd(evt *tcell.EventKey) *tcell.EventKey { function NewReference (line 20) | func NewReference(gvr *client.GVR) ResourceViewer { FILE: internal/view/reference_test.go function TestReferenceNew (line 15) | func TestReferenceNew(t *testing.T) { FILE: internal/view/registrar.go function loadCustomViewers (line 10) | func loadCustomViewers() MetaViewers { function helmViewers (line 23) | func helmViewers(vv MetaViewers) { function coreViewers (line 29) | func coreViewers(vv MetaViewers) { function miscViewers (line 62) | func miscViewers(vv MetaViewers) { function appsViewers (line 95) | func appsViewers(vv MetaViewers) { function rbacViewers (line 110) | func rbacViewers(vv MetaViewers) { function batchViewers (line 134) | func batchViewers(vv MetaViewers) { function crdViewers (line 143) | func crdViewers(vv MetaViewers) { FILE: internal/view/restart_extender.go type RestartExtender (line 20) | type RestartExtender struct method bindKeys (line 33) | func (r *RestartExtender) bindKeys(aa *ui.KeyActions) { method restartCmd (line 45) | func (r *RestartExtender) restartCmd(*tcell.EventKey) *tcell.EventKey { method restartRollout (line 82) | func (r *RestartExtender) restartRollout(ctx context.Context, path str... function NewRestartExtender (line 25) | func NewRestartExtender(v ResourceViewer) ResourceViewer { function singularize (line 97) | func singularize(s string) string { FILE: internal/view/rs.go type ReplicaSet (line 17) | type ReplicaSet struct method bindKeys (line 36) | func (r *ReplicaSet) bindKeys(aa *ui.KeyActions) { method showPods (line 42) | func (*ReplicaSet) showPods(app *App, _ ui.Tabular, _ *client.GVR, pat... method rollbackCmd (line 53) | func (r *ReplicaSet) rollbackCmd(evt *tcell.EventKey) *tcell.EventKey { function NewReplicaSet (line 22) | func NewReplicaSet(gvr *client.GVR) ResourceViewer { FILE: internal/view/sa.go type ServiceAccount (line 17) | type ServiceAccount struct method bindKeys (line 32) | func (s *ServiceAccount) bindKeys(aa *ui.KeyActions) { method subjectCtx (line 39) | func (*ServiceAccount) subjectCtx(ctx context.Context) context.Context { method refCmd (line 43) | func (s *ServiceAccount) refCmd(evt *tcell.EventKey) *tcell.EventKey { method policyCmd (line 47) | func (s *ServiceAccount) policyCmd(evt *tcell.EventKey) *tcell.EventKey { function NewServiceAccount (line 22) | func NewServiceAccount(gvr *client.GVR) ResourceViewer { function scanSARefs (line 59) | func scanSARefs(evt *tcell.EventKey, a *App, t *Table, gvr *client.GVR) ... FILE: internal/view/scale_extender.go type ScaleExtender (line 21) | type ScaleExtender struct method bindKeys (line 33) | func (s *ScaleExtender) bindKeys(aa *ui.KeyActions) { method scaleCmd (line 57) | func (s *ScaleExtender) scaleCmd(*tcell.EventKey) *tcell.EventKey { method showScaleDialog (line 70) | func (s *ScaleExtender) showScaleDialog(paths []string) { method valueOf (line 89) | func (s *ScaleExtender) valueOf(col string) (string, error) { method replicasFromReady (line 97) | func (s *ScaleExtender) replicasFromReady(_ string) (string, error) { method replicasFromScaleSubresource (line 111) | func (s *ScaleExtender) replicasFromScaleSubresource(sel string) (stri... method makeScaleForm (line 133) | func (s *ScaleExtender) makeScaleForm(fqns []string) (*tview.Form, err... method dismissDialog (line 214) | func (s *ScaleExtender) dismissDialog() { method scale (line 218) | func (s *ScaleExtender) scale(ctx context.Context, path string, replic... function NewScaleExtender (line 26) | func NewScaleExtender(r ResourceViewer) ResourceViewer { FILE: internal/view/screen_dump.go type ScreenDump (line 19) | type ScreenDump struct method dirContext (line 38) | func (s *ScreenDump) dirContext(ctx context.Context) context.Context { method edit (line 48) | func (s *ScreenDump) edit(app *App, _ ui.Tabular, _ *client.GVR, path ... function NewScreenDump (line 24) | func NewScreenDump(gvr *client.GVR) ResourceViewer { FILE: internal/view/screen_dump_test.go function TestScreenDumpNew (line 15) | func TestScreenDumpNew(t *testing.T) { FILE: internal/view/secret.go type Secret (line 16) | type Secret struct method bindKeys (line 30) | func (s *Secret) bindKeys(aa *ui.KeyActions) { method refCmd (line 37) | func (s *Secret) refCmd(evt *tcell.EventKey) *tcell.EventKey { method decodeCmd (line 41) | func (s *Secret) decodeCmd(evt *tcell.EventKey) *tcell.EventKey { function NewSecret (line 21) | func NewSecret(gvr *client.GVR) ResourceViewer { FILE: internal/view/secret_test.go function TestSecretNew (line 15) | func TestSecretNew(t *testing.T) { FILE: internal/view/sts.go type StatefulSet (line 16) | type StatefulSet struct method logOptions (line 41) | func (s *StatefulSet) logOptions(prev bool) (*dao.LogOptions, error) { method showPods (line 54) | func (s *StatefulSet) showPods(app *App, _ ui.Tabular, _ *client.GVR, ... method getInstance (line 64) | func (s *StatefulSet) getInstance(path string) (*appsv1.StatefulSet, e... function NewStatefulSet (line 21) | func NewStatefulSet(gvr *client.GVR) ResourceViewer { FILE: internal/view/sts_test.go function TestStatefulSetNew (line 15) | func TestStatefulSetNew(t *testing.T) { FILE: internal/view/svc.go type Service (line 29) | type Service struct method bindKeys (line 52) | func (s *Service) bindKeys(aa *ui.KeyActions) { method showPods (line 58) | func (s *Service) showPods(a *App, _ ui.Tabular, _ *client.GVR, path s... method checkSvc (line 79) | func (*Service) checkSvc(svc *v1.Service) error { method getExternalPort (line 86) | func (*Service) getExternalPort(svc *v1.Service) (string, error) { method toggleBenchCmd (line 101) | func (s *Service) toggleBenchCmd(evt *tcell.EventKey) *tcell.EventKey { method runBenchmark (line 152) | func (s *Service) runBenchmark(port string, cfg *config.BenchConfig) e... method benchDone (line 186) | func (s *Service) benchDone() { function NewService (line 36) | func NewService(gvr *client.GVR) ResourceViewer { function clearStatus (line 203) | func clearStatus(app *App) { function fetchService (line 210) | func fetchService(f dao.Factory, path string) (*v1.Service, error) { FILE: internal/view/svc_test.go function init (line 17) | func init() { function TestServiceNew (line 172) | func TestServiceNew(t *testing.T) { FILE: internal/view/table.go type Table (line 23) | type Table struct method Init (line 44) | func (t *Table) Init(ctx context.Context) (err error) { method SetCommand (line 69) | func (t *Table) SetCommand(i *cmd.Interpreter) { method HeaderIndex (line 74) | func (t *Table) HeaderIndex(colName string) (int, bool) { method SendKey (line 92) | func (t *Table) SendKey(evt *tcell.EventKey) { method keyboard (line 96) | func (t *Table) keyboard(evt *tcell.EventKey) *tcell.EventKey { method Name (line 123) | func (t *Table) Name() string { return t.GVR().R() } method AddBindKeysFn (line 126) | func (t *Table) AddBindKeysFn(f BindKeysFunc) { method SetEnvFn (line 131) | func (t *Table) SetEnvFn(f EnvFunc) { t.envFn = f } method EnvFn (line 134) | func (t *Table) EnvFn() EnvFunc { method defaultEnv (line 138) | func (t *Table) defaultEnv() Env { method App (line 154) | func (t *Table) App() *App { method Start (line 159) | func (t *Table) Start() { method Stop (line 176) | func (t *Table) Stop() { method SetEnterFn (line 183) | func (t *Table) SetEnterFn(f EnterFunc) { method SetExtraActionsFn (line 188) | func (*Table) SetExtraActionsFn(BoostActionsFunc) {} method BufferCompleted (line 191) | func (t *Table) BufferCompleted(text, _ string) { method BufferChanged (line 198) | func (*Table) BufferChanged(_, _ string) {} method BufferActive (line 201) | func (t *Table) BufferActive(state bool, k model.BufferKind) { method saveCmd (line 208) | func (t *Table) saveCmd(*tcell.EventKey) *tcell.EventKey { method bindKeys (line 218) | func (t *Table) bindKeys() { method toggleFaultCmd (line 235) | func (t *Table) toggleFaultCmd(*tcell.EventKey) *tcell.EventKey { method toggleWideCmd (line 240) | func (t *Table) toggleWideCmd(*tcell.EventKey) *tcell.EventKey { method sortSelectedColumnCmd (line 245) | func (t *Table) sortSelectedColumnCmd(*tcell.EventKey) *tcell.EventKey { method cpCmd (line 250) | func (t *Table) cpCmd(evt *tcell.EventKey) *tcell.EventKey { method cpNsCmd (line 277) | func (t *Table) cpNsCmd(evt *tcell.EventKey) *tcell.EventKey { method markCmd (line 304) | func (t *Table) markCmd(*tcell.EventKey) *tcell.EventKey { method markSpanCmd (line 311) | func (t *Table) markSpanCmd(*tcell.EventKey) *tcell.EventKey { method clearMarksCmd (line 318) | func (t *Table) clearMarksCmd(*tcell.EventKey) *tcell.EventKey { method activateCmd (line 325) | func (t *Table) activateCmd(evt *tcell.EventKey) *tcell.EventKey { function NewTable (line 34) | func NewTable(gvr *client.GVR) *Table { FILE: internal/view/table_helper.go function computeFilename (line 22) | func computeFilename(dumpPath, ns, title, path string) (string, error) { function saveTable (line 45) | func saveTable(dir, title, path string, mdata *model1.TableData) (string... FILE: internal/view/table_int_test.go function TestTableSave (line 31) | func TestTableSave(t *testing.T) { function TestTableNew (line 45) | func TestTableNew(t *testing.T) { function TestTableViewFilter (line 76) | func TestTableViewFilter(t *testing.T) { function TestTableViewSort (line 88) | func TestTableViewSort(t *testing.T) { type mockTableModel (line 133) | type mockTableModel struct method SetViewSetting (line 137) | func (*mockTableModel) SetViewSetting(context.Context, *config.ViewSet... method SetInstance (line 138) | func (*mockTableModel) SetInstance(string) ... method SetLabelSelector (line 139) | func (*mockTableModel) SetLabelSelector(labels.Selector) ... method GetLabelSelector (line 140) | func (*mockTableModel) GetLabelSelector() labels.Selector ... method Empty (line 141) | func (*mockTableModel) Empty() bool ... method RowCount (line 142) | func (*mockTableModel) RowCount() int ... method HasMetrics (line 143) | func (*mockTableModel) HasMetrics() bool ... method Peek (line 144) | func (*mockTableModel) Peek() *model1.TableData ... method Refresh (line 145) | func (*mockTableModel) Refresh(context.Context) error ... method ClusterWide (line 146) | func (*mockTableModel) ClusterWide() bool ... method GetNamespace (line 147) | func (*mockTableModel) GetNamespace() string ... method SetNamespace (line 148) | func (*mockTableModel) SetNamespace(string) ... method ToggleToast (line 149) | func (*mockTableModel) ToggleToast() ... method AddListener (line 150) | func (*mockTableModel) AddListener(model.TableListener) ... method RemoveListener (line 151) | func (*mockTableModel) RemoveListener(model.TableListener) ... method Watch (line 152) | func (*mockTableModel) Watch(context.Context) error ... method Get (line 153) | func (*mockTableModel) Get(context.Context, string) (runtime.Object, e... method Delete (line 156) | func (*mockTableModel) Delete(context.Context, string, *metav1.Deletio... method Describe (line 159) | func (*mockTableModel) Describe(context.Context, string) (string, erro... method ToYAML (line 162) | func (*mockTableModel) ToYAML(context.Context, string) (string, error) { method InNamespace (line 165) | func (*mockTableModel) InNamespace(string) bool { return true } method SetRefreshRate (line 166) | func (*mockTableModel) SetRefreshRate(time.Duration) {} function makeTableData (line 168) | func makeTableData() *model1.TableData { function makeContext (line 203) | func makeContext(t *testing.T) context.Context { function ensureDumpDir (line 209) | func ensureDumpDir(n string) error { FILE: internal/view/types.go constant ageCol (line 17) | ageCol = "AGE" constant nameCol (line 18) | nameCol = "NAME" constant statusCol (line 19) | statusCol = "STATUS" constant cpuCol (line 20) | cpuCol = "CPU" constant memCol (line 21) | memCol = "MEM" constant uptodateCol (line 22) | uptodateCol = "UP-TO-DATE" constant readyCol (line 23) | readyCol = "READY" constant availCol (line 24) | availCol = "AVAILABLE" type EnvFunc (line 29) | type EnvFunc type BoostActionsFunc (line 32) | type BoostActionsFunc type EnterFunc (line 35) | type EnterFunc type LogOptionsFunc (line 38) | type LogOptionsFunc type ContextFunc (line 41) | type ContextFunc type BindKeysFunc (line 44) | type BindKeysFunc type ActionExtender (line 48) | type ActionExtender interface type Hinter (line 54) | type Hinter interface type Viewer (line 60) | type Viewer interface type TableViewer (line 74) | type TableViewer interface type ResourceViewer (line 82) | type ResourceViewer interface type LogViewer (line 105) | type LogViewer interface type RestartableViewer (line 112) | type RestartableViewer interface type ScalableViewer (line 117) | type ScalableViewer interface type SubjectViewer (line 122) | type SubjectViewer interface type ViewerFunc (line 130) | type ViewerFunc type MetaViewer (line 133) | type MetaViewer struct type MetaViewers (line 139) | type MetaViewers FILE: internal/view/user.go type User (line 16) | type User struct method bindKeys (line 29) | func (u *User) bindKeys(aa *ui.KeyActions) { method subjectCtx (line 36) | func (*User) subjectCtx(ctx context.Context) context.Context { method policyCmd (line 40) | func (u *User) policyCmd(evt *tcell.EventKey) *tcell.EventKey { function NewUser (line 21) | func NewUser(gvr *client.GVR) ResourceViewer { FILE: internal/view/value_extender.go type ValueExtender (line 19) | type ValueExtender struct method bindKeys (line 34) | func (v *ValueExtender) bindKeys(aa *ui.KeyActions) { method valuesCmd (line 38) | func (v *ValueExtender) valuesCmd(evt *tcell.EventKey) *tcell.EventKey { method defaultCtx (line 48) | func (v *ValueExtender) defaultCtx() context.Context { function NewValueExtender (line 24) | func NewValueExtender(r ResourceViewer) ResourceViewer { function showValues (line 52) | func showValues(ctx context.Context, app *App, path string, gvr *client.... FILE: internal/view/vul_extender.go type VulnerabilityExtender (line 16) | type VulnerabilityExtender struct method bindKeys (line 28) | func (v *VulnerabilityExtender) bindKeys(aa *ui.KeyActions) { method showVulCmd (line 37) | func (v *VulnerabilityExtender) showVulCmd(*tcell.EventKey) *tcell.Eve... method selContext (line 47) | func (v *VulnerabilityExtender) selContext(ctx context.Context) contex... function NewVulnerabilityExtender (line 21) | func NewVulnerabilityExtender(r ResourceViewer) ResourceViewer { FILE: internal/view/workload.go type Workload (line 24) | type Workload struct method bindDangerousKeys (line 40) | func (w *Workload) bindDangerousKeys(aa *ui.KeyActions) { method bindKeys (line 55) | func (w *Workload) bindKeys(aa *ui.KeyActions) { method showRes (line 79) | func (*Workload) showRes(app *App, _ ui.Tabular, _ *client.GVR, path s... method deleteCmd (line 88) | func (w *Workload) deleteCmd(evt *tcell.EventKey) *tcell.EventKey { method defaultContext (line 107) | func (w *Workload) defaultContext(gvr *client.GVR, fqn string) context... method resourceDelete (line 124) | func (w *Workload) resourceDelete(selections []string, msg string) { method describeCmd (line 156) | func (w *Workload) describeCmd(evt *tcell.EventKey) *tcell.EventKey { method editCmd (line 172) | func (w *Workload) editCmd(evt *tcell.EventKey) *tcell.EventKey { method yamlCmd (line 192) | func (w *Workload) yamlCmd(evt *tcell.EventKey) *tcell.EventKey { function NewWorkload (line 29) | func NewWorkload(gvr *client.GVR) ResourceViewer { function parsePath (line 69) | func parsePath(path string) (*client.GVR, string, bool) { FILE: internal/view/xray.go constant xrayTitle (line 34) | xrayTitle = "Xray" type Xray (line 39) | type Xray struct method SetCommand (line 59) | func (*Xray) SetCommand(*cmd.Interpreter) {} method SetFilter (line 60) | func (*Xray) SetFilter(string, bool) {} method SetLabelSelector (line 61) | func (*Xray) SetLabelSelector(labels.Selector, bool) {} method Init (line 64) | func (x *Xray) Init(ctx context.Context) error { method InCmdMode (line 108) | func (*Xray) InCmdMode() bool { method ExtraHints (line 113) | func (x *Xray) ExtraHints() map[string]string { method SetInstance (line 121) | func (*Xray) SetInstance(string) {} method bindKeys (line 123) | func (x *Xray) bindKeys() { method keyEntered (line 131) | func (x *Xray) keyEntered() { method refreshActions (line 136) | func (x *Xray) refreshActions() { method GetSelectedPath (line 206) | func (x *Xray) GetSelectedPath() string { method selectedSpec (line 214) | func (x *Xray) selectedSpec() *xray.NodeSpec { method EnvFn (line 233) | func (x *Xray) EnvFn() EnvFunc { method k9sEnv (line 237) | func (x *Xray) k9sEnv() Env { method Aliases (line 266) | func (x *Xray) Aliases() sets.Set[string] { method logsCmd (line 270) | func (x *Xray) logsCmd(prev bool) func(evt *tcell.EventKey) *tcell.Eve... method showLogs (line 283) | func (x *Xray) showLogs(spec *xray.NodeSpec, prev bool) { method shellCmd (line 308) | func (x *Xray) shellCmd(*tcell.EventKey) *tcell.EventKey { method attachCmd (line 332) | func (x *Xray) attachCmd(*tcell.EventKey) *tcell.EventKey { method viewCmd (line 355) | func (x *Xray) viewCmd(evt *tcell.EventKey) *tcell.EventKey { method deleteCmd (line 376) | func (x *Xray) deleteCmd(evt *tcell.EventKey) *tcell.EventKey { method describeCmd (line 399) | func (x *Xray) describeCmd(evt *tcell.EventKey) *tcell.EventKey { method describe (line 410) | func (x *Xray) describe(gvr *client.GVR, path string) { method editCmd (line 426) | func (x *Xray) editCmd(evt *tcell.EventKey) *tcell.EventKey { method activateCmd (line 454) | func (x *Xray) activateCmd(evt *tcell.EventKey) *tcell.EventKey { method resetCmd (line 463) | func (x *Xray) resetCmd(evt *tcell.EventKey) *tcell.EventKey { method gotoCmd (line 475) | func (x *Xray) gotoCmd(*tcell.EventKey) *tcell.EventKey { method filter (line 498) | func (x *Xray) filter(root *xray.TreeNode) *xray.TreeNode { method TreeNodeSelected (line 517) | func (x *Xray) TreeNodeSelected() { method TreeLoadFailed (line 527) | func (x *Xray) TreeLoadFailed(err error) { method update (line 531) | func (x *Xray) update(node *xray.TreeNode) { method TreeChanged (line 575) | func (x *Xray) TreeChanged(node *xray.TreeNode) { method hydrate (line 581) | func (x *Xray) hydrate(parent *tview.TreeNode, n *xray.TreeNode) { method SetEnvFn (line 590) | func (*Xray) SetEnvFn(EnvFunc) {} method Refresh (line 593) | func (*Xray) Refresh() {} method BufferCompleted (line 596) | func (x *Xray) BufferCompleted(_, _ string) { method BufferChanged (line 601) | func (*Xray) BufferChanged(_, _ string) {} method BufferActive (line 604) | func (x *Xray) BufferActive(state bool, k model.BufferKind) { method defaultContext (line 608) | func (x *Xray) defaultContext() context.Context { method Start (line 623) | func (x *Xray) Start() { method Stop (line 634) | func (x *Xray) Stop() { method AddBindKeysFn (line 644) | func (*Xray) AddBindKeysFn(BindKeysFunc) {} method SetContextFn (line 647) | func (*Xray) SetContextFn(ContextFunc) {} method Name (line 650) | func (*Xray) Name() string { return "XRay" } method GetTable (line 653) | func (*Xray) GetTable() *Table { return nil } method GVR (line 656) | func (x *Xray) GVR() *client.GVR { return x.gvr } method App (line 659) | func (x *Xray) App() *App { method UpdateTitle (line 664) | func (x *Xray) UpdateTitle() { method styleTitle (line 671) | func (x *Xray) styleTitle() string { method resourceDelete (line 701) | func (x *Xray) resourceDelete(gvr *client.GVR, spec *xray.NodeSpec, ms... function NewXray (line 51) | func NewXray(gvr *client.GVR) ResourceViewer { function fuzzyFilter (line 736) | func fuzzyFilter(q, path string) bool { function rxFilter (line 743) | func rxFilter(q, path string) bool { function rxInverseFilter (line 755) | func rxInverseFilter(q, path string) bool { function makeTreeNode (line 768) | func makeTreeNode(node *xray.TreeNode, expanded, showIcons bool, styles ... FILE: internal/view/yaml.go constant yamlFullFmt (line 28) | yamlFullFmt = "%s[key::b]%s[colon::-]: [val::]%s" constant yamlKeyFmt (line 29) | yamlKeyFmt = "%s[key::b]%s[colon::-]:" constant yamlValueFmt (line 30) | yamlValueFmt = "[val::]%s" function colorizeYAML (line 33) | func colorizeYAML(style config.Yaml, raw string) string { function enableRegion (line 64) | func enableRegion(s string) string { function saveYAML (line 72) | func saveYAML(dir, name, raw string) (string, error) { FILE: internal/view/yaml_test.go function TestYaml (line 13) | func TestYaml(t *testing.T) { FILE: internal/vul/scan.go constant wontFix (line 16) | wontFix = "(won't fix)" constant naValue (line 17) | naValue = "" type Scans (line 21) | type Scans method Dump (line 24) | func (s Scans) Dump(w io.Writer) error { type Scan (line 38) | type Scan struct method Dump (line 49) | func (s *Scan) Dump(w io.Writer) error { method run (line 53) | func (s *Scan) run(mm *match.Matches, store vulnerability.MetadataProv... function newScan (line 44) | func newScan(img string) *Scan { function colorize (line 81) | func colorize(rr []string) []string { FILE: internal/vul/scanner.go constant imgChanSize (line 37) | imgChanSize = 3 constant imgScanTimeout (line 38) | imgScanTimeout = 2 * time.Second constant scanConcurrency (line 39) | scanConcurrency = 2 type imageScanner (line 42) | type imageScanner struct method ShouldExcludes (line 62) | func (s *imageScanner) ShouldExcludes(ns string, lbls map[string]strin... method GetScan (line 67) | func (s *imageScanner) GetScan(img string) (*Scan, bool) { method setScan (line 76) | func (s *imageScanner) setScan(img string, sc *Scan) { method Init (line 84) | func (s *imageScanner) Init(name, version string) { method Stop (line 119) | func (s *imageScanner) Stop() { method Score (line 129) | func (s *imageScanner) Score(ii ...string) string { method IsInitialized (line 140) | func (s *imageScanner) IsInitialized() bool { method Enqueue (line 147) | func (s *imageScanner) Enqueue(ctx context.Context, images ...string) { method scanWorker (line 159) | func (s *imageScanner) scanWorker(ctx context.Context, img string) { method scan (line 173) | func (s *imageScanner) scan(_ context.Context, img string, sc *Scan) e... function NewImageScanner (line 54) | func NewImageScanner(cfg config.ImageScans, l *slog.Logger) *imageScanner { function getProviderConfig (line 215) | func getProviderConfig(opts *options.Grype) pkg.ProviderConfig { function getMatchers (line 231) | func getMatchers(opts *options.Grype) []match.Matcher { function validateDBLoad (line 251) | func validateDBLoad(loadErr error, status *vulnerability.ProviderStatus)... FILE: internal/vul/scorer.go type scorer (line 8) | type scorer method String (line 10) | func (b scorer) String() string { method Add (line 18) | func (b scorer) Add(b1 scorer) scorer { function newScorer (line 14) | func newScorer(t tally) scorer { function fromTally (line 22) | func fromTally(t tally) scorer { FILE: internal/vul/scorer_test.go function Test_scorerAdd (line 12) | func Test_scorerAdd(t *testing.T) { function Test_scorerFromTally (line 42) | func Test_scorerFromTally(t *testing.T) { FILE: internal/vul/table.go constant nameIdx (line 18) | nameIdx = iota constant verIdx (line 19) | verIdx constant fixIdx (line 20) | fixIdx constant typeIdx (line 21) | typeIdx constant vulIdx (line 22) | vulIdx constant sevIdx (line 23) | sevIdx type Row (line 26) | type Row method Name (line 56) | func (r Row) Name() string { return r[nameIdx] } method Version (line 57) | func (r Row) Version() string { return r[verIdx] } method Fix (line 58) | func (r Row) Fix() string { return r[fixIdx] } method Type (line 59) | func (r Row) Type() string { return r[typeIdx] } method Vulnerability (line 60) | func (r Row) Vulnerability() string { return r[vulIdx] } method Severity (line 61) | func (r Row) Severity() string { return r[sevIdx] } function newRow (line 28) | func newRow(ss ...string) Row { function toSev (line 39) | func toSev(s string) string { function sevColor (line 63) | func sevColor(s string) string { type table (line 78) | type table struct method dedup (line 86) | func (t *table) dedup() { method addRow (line 101) | func (t *table) addRow(r Row) { method dump (line 105) | func (t *table) dump(w io.Writer) error { method sort (line 144) | func (t *table) sort() { method sortSev (line 165) | func (t *table) sortSev() { function newTable (line 82) | func newTable() *table { function sevToScore (line 186) | func sevToScore(s string) int { FILE: internal/vul/table_test.go function Test_sort (line 16) | func Test_sort(t *testing.T) { function Test_sortSev (line 43) | func Test_sortSev(t *testing.T) { function makeTable (line 72) | func makeTable(t *testing.T, path string) *table { FILE: internal/vul/tally.go constant sevCritical (line 12) | sevCritical = iota constant sevHigh (line 13) | sevHigh constant sevMedium (line 14) | sevMedium constant sevLow (line 15) | sevLow constant sevNegligible (line 16) | sevNegligible constant sevUnknown (line 17) | sevUnknown constant sevFixed (line 18) | sevFixed type tally (line 23) | type tally method Dump (line 51) | func (t tally) Dump(w io.Writer) { method score (line 67) | func (t *tally) score() int { function newTally (line 25) | func newTally(t *table) tally { FILE: internal/vul/tally_test.go function Test_newTally (line 12) | func Test_newTally(t *testing.T) { function Test_score (line 31) | func Test_score(t *testing.T) { FILE: internal/vul/types.go constant Sev1 (line 8) | Sev1 = "SEV-1" constant Sev2 (line 11) | Sev2 = "SEV-2" constant Sev3 (line 14) | Sev3 = "SEV-3" constant Sev4 (line 17) | Sev4 = "SEV-4" constant Sev5 (line 20) | Sev5 = "SEV-5" constant SevU (line 23) | SevU = "SEV-U" FILE: internal/watch/factory.go constant defaultResync (line 24) | defaultResync = 10 * time.Minute constant defaultWaitTime (line 25) | defaultWaitTime = 500 * time.Millisecond type Factory (line 29) | type Factory struct method Start (line 47) | func (f *Factory) Start(ns string) { method Terminate (line 60) | func (f *Factory) Terminate() { method List (line 75) | func (f *Factory) List(gvr *client.GVR, ns string, wait bool, lbls lab... method HasSynced (line 102) | func (f *Factory) HasSynced(gvr *client.GVR, ns string) (bool, error) { method Get (line 112) | func (f *Factory) Get(gvr *client.GVR, fqn string, wait bool, _ labels... method waitForCacheSync (line 140) | func (f *Factory) waitForCacheSync(ns string) { method WaitForCacheSync (line 162) | func (f *Factory) WaitForCacheSync() { method Client (line 176) | func (f *Factory) Client() client.Connection { method FactoryFor (line 181) | func (f *Factory) FactoryFor(ns string) di.DynamicSharedInformerFactory { method SetActiveNS (line 186) | func (f *Factory) SetActiveNS(ns string) error { method isClusterWide (line 194) | func (f *Factory) isClusterWide() bool { method CanForResource (line 203) | func (f *Factory) CanForResource(ns string, gvr *client.GVR, verbs []s... method CanForInstance (line 220) | func (f *Factory) CanForInstance(fqn string, gvr *client.GVR, verbs []... method ForResource (line 244) | func (f *Factory) ForResource(ns string, gvr *client.GVR) (informers.G... method ensureFactory (line 265) | func (f *Factory) ensureFactory(ns string) (di.DynamicSharedInformerFa... method AddForwarder (line 290) | func (f *Factory) AddForwarder(pf Forwarder) { method DeleteForwarder (line 298) | func (f *Factory) DeleteForwarder(path string) { method Forwarders (line 307) | func (f *Factory) Forwarders() Forwarders { method ForwarderFor (line 315) | func (f *Factory) ForwarderFor(path string) (Forwarder, bool) { method ValidatePortForwards (line 326) | func (f *Factory) ValidatePortForwards() { function NewFactory (line 38) | func NewFactory(clt client.Connection) *Factory { FILE: internal/watch/forwarders.go type Forwarder (line 18) | type Forwarder interface type Forwarders (line 54) | type Forwarders method IsPodForwarded (line 62) | func (ff Forwarders) IsPodForwarded(fqn string) bool { method IsContainerForwarded (line 74) | func (ff Forwarders) IsContainerForwarded(fqn, co string) bool { method DeleteAll (line 86) | func (ff Forwarders) DeleteAll() { method Kill (line 95) | func (ff Forwarders) Kill(path string) int { method Dump (line 116) | func (ff Forwarders) Dump() { function NewForwarders (line 57) | func NewForwarders() Forwarders { FILE: internal/watch/forwarders_test.go function init (line 17) | func init() { function TestIsPodForwarded (line 21) | func TestIsPodForwarded(t *testing.T) { function TestIsContainerForwarded (line 56) | func TestIsContainerForwarded(t *testing.T) { function TestKill (line 94) | func TestKill(t *testing.T) { type noOpForwarder (line 170) | type noOpForwarder struct method Start (line 176) | func (noOpForwarder) Start(string, port.PortTunnel) (*portforward.Port... method Stop (line 179) | func (noOpForwarder) Stop() {} method ID (line 180) | func (noOpForwarder) ID() string { return "" } method Container (line 181) | func (noOpForwarder) Container() string { return "" } method Port (line 182) | func (noOpForwarder) Port() string { return "" } method FQN (line 183) | func (noOpForwarder) FQN() string { return "" } method Active (line 184) | func (noOpForwarder) Active() bool { return false } method SetActive (line 185) | func (noOpForwarder) SetActive(bool) {} method Age (line 186) | func (noOpForwarder) Age() time.Time { return time.Now() } method HasPortMapping (line 187) | func (noOpForwarder) HasPortMapping(string) bool { return false } method Address (line 188) | func (noOpForwarder) Address() string { return "" } function newNoOpForwarder (line 172) | func newNoOpForwarder() noOpForwarder { FILE: internal/watch/helper.go function toGVR (line 15) | func toGVR(gvr string) schema.GroupVersionResource { function namespaced (line 28) | func namespaced(n string) (ns, res string) { function DumpFactory (line 35) | func DumpFactory(f *Factory) { function DebugFactory (line 44) | func DebugFactory(f *Factory, ns, gvr string) { FILE: internal/xray/container.go type Container (line 21) | type Container struct method Render (line 24) | func (c *Container) Render(ctx context.Context, ns string, o any) error { method envRefs (line 47) | func (c *Container) envRefs(f dao.Factory, parent *TreeNode, ns string... method secretRefs (line 68) | func (c *Container) secretRefs(f dao.Factory, parent *TreeNode, ns str... method configMapRefs (line 76) | func (c *Container) configMapRefs(f dao.Factory, parent *TreeNode, ns ... function addRef (line 87) | func addRef(f dao.Factory, parent *TreeNode, gvr *client.GVR, id string,... function validate (line 95) | func validate(f dao.Factory, n *TreeNode, optional *bool) { FILE: internal/xray/container_test.go function init (line 29) | func init() { function TestCOConfigMapRefs (line 33) | func TestCOConfigMapRefs(t *testing.T) { function TestCORefs (line 44) | func TestCORefs(t *testing.T) { function makeFactory (line 107) | func makeFactory() testFactory { type testFactory (line 111) | type testFactory struct method Client (line 117) | func (f testFactory) Client() client.Connection { method Get (line 121) | func (f testFactory) Get(gvr *client.GVR, _ string, _ bool, _ labels.S... method List (line 129) | func (f testFactory) List(gvr *client.GVR, _ string, _ bool, _ labels.... method ForResource (line 137) | func (f testFactory) ForResource(string, *client.GVR) (informers.Gener... method CanForResource (line 141) | func (f testFactory) CanForResource(string, *client.GVR, []string) (in... method WaitForCacheSync (line 144) | func (f testFactory) WaitForCacheSync() {} method Forwarders (line 145) | func (f testFactory) Forwarders() watch.Forwarders { method DeleteForwarder (line 148) | func (f testFactory) DeleteForwarder(string) {} function makeCMEnvFromContainer (line 150) | func makeCMEnvFromContainer(n string, optional bool) *v1.Container { function makeCMContainer (line 172) | func makeCMContainer(n string, optional bool) *v1.Container { function makeSecContainer (line 192) | func makeSecContainer(n string, optional bool) *v1.Container { function makeDoubleCMKeysContainer (line 212) | func makeDoubleCMKeysContainer(n string, optional bool) *v1.Container { function load (line 244) | func load(t *testing.T, n string) *unstructured.Unstructured { FILE: internal/xray/dp.go type Deployment (line 22) | type Deployment struct method Render (line 25) | func (d *Deployment) Render(ctx context.Context, ns string, o any) err... method validate (line 72) | func (*Deployment) validate(root *TreeNode, dp appsv1.Deployment) error { function locatePods (line 90) | func locatePods(ctx context.Context, ns string, sel *metav1.LabelSelecto... FILE: internal/xray/dp_test.go function TestDeployRender (line 18) | func TestDeployRender(t *testing.T) { FILE: internal/xray/ds.go type DaemonSet (line 18) | type DaemonSet struct method Render (line 21) | func (d *DaemonSet) Render(ctx context.Context, ns string, o any) error { method validate (line 68) | func (*DaemonSet) validate(root *TreeNode, ds appsv1.DaemonSet) error { FILE: internal/xray/ds_test.go function TestDaemonSetRender (line 18) | func TestDaemonSetRender(t *testing.T) { FILE: internal/xray/generic.go type Generic (line 15) | type Generic struct method SetTable (line 20) | func (g *Generic) SetTable(_ string, t *metav1.Table) { method Render (line 25) | func (g *Generic) Render(ctx context.Context, ns string, o any) error { FILE: internal/xray/generic_test.go function TestGenericRender (line 18) | func TestGenericRender(t *testing.T) { function makeTable (line 45) | func makeTable() metav1beta1.TableRow { FILE: internal/xray/ns.go type Namespace (line 17) | type Namespace struct method Render (line 20) | func (n *Namespace) Render(ctx context.Context, ns string, o any) error { method validate (line 42) | func (*Namespace) validate(root *TreeNode, ns v1.Namespace) error { FILE: internal/xray/ns_test.go function TestNamespaceRender (line 17) | func TestNamespaceRender(t *testing.T) { FILE: internal/xray/pod.go type Pod (line 21) | type Pod struct method Render (line 24) | func (p *Pod) Render(ctx context.Context, ns string, o any) error { method validate (line 66) | func (p *Pod) validate(node *TreeNode, po v1.Pod) error { method containerRefs (line 85) | func (*Pod) containerRefs(ctx context.Context, parent *TreeNode, ns st... method serviceAccountRef (line 107) | func (*Pod) serviceAccountRef(ctx context.Context, f dao.Factory, pare... method podVolumeRefs (line 128) | func (*Pod) podVolumeRefs(f dao.Factory, parent *TreeNode, ns string, ... FILE: internal/xray/pod_test.go function TestPodRender (line 18) | func TestPodRender(t *testing.T) { FILE: internal/xray/rs.go type ReplicaSet (line 18) | type ReplicaSet struct method Render (line 21) | func (r *ReplicaSet) Render(ctx context.Context, ns string, o any) err... method validate (line 70) | func (*ReplicaSet) validate(root *TreeNode, rs appsv1.ReplicaSet) error { FILE: internal/xray/rs_test.go function TestReplicaSetRender (line 18) | func TestReplicaSetRender(t *testing.T) { FILE: internal/xray/sa.go type ServiceAccount (line 19) | type ServiceAccount struct method Render (line 22) | func (s *ServiceAccount) Render(ctx context.Context, ns string, o any)... method validate (line 57) | func (*ServiceAccount) validate(node *TreeNode, sa v1.ServiceAccount, ... FILE: internal/xray/sa_test.go function TestSARender (line 17) | func TestSARender(t *testing.T) { FILE: internal/xray/section.go type Section (line 16) | type Section struct method Render (line 21) | func (s *Section) Render(ctx context.Context, ns string, o any) error { method outcomeRefs (line 37) | func (*Section) outcomeRefs(parent *TreeNode, section render.Section) { function colorize (line 62) | func colorize(s string, l render.Level) string { function cleanse (line 76) | func cleanse(s string) string { FILE: internal/xray/sts.go type StatefulSet (line 18) | type StatefulSet struct method Render (line 21) | func (s *StatefulSet) Render(ctx context.Context, ns string, o any) er... method validate (line 70) | func (*StatefulSet) validate(root *TreeNode, sts appsv1.StatefulSet) e... FILE: internal/xray/sts_test.go function TestStatefulSetRender (line 18) | func TestStatefulSetRender(t *testing.T) { FILE: internal/xray/svc.go type Service (line 22) | type Service struct method Render (line 25) | func (s *Service) Render(ctx context.Context, ns string, o any) error { method locatePods (line 74) | func (s *Service) locatePods(ctx context.Context, ns string, sel map[s... FILE: internal/xray/svc_test.go function TestServiceRender (line 18) | func TestServiceRender(t *testing.T) { FILE: internal/xray/tree_node.go constant KeyParent (line 20) | KeyParent TreeRef = "parent" constant KeySAAutomount (line 23) | KeySAAutomount TreeRef = "automount" constant PathSeparator (line 26) | PathSeparator = "::" constant StatusKey (line 29) | StatusKey = "status" constant InfoKey (line 32) | InfoKey = "info" constant OkStatus (line 35) | OkStatus = "ok" constant ToastStatus (line 39) | ToastStatus = "toast" constant CompletedStatus (line 42) | CompletedStatus = "completed" constant MissingRefStatus (line 45) | MissingRefStatus = "noref" type TreeRef (line 51) | type TreeRef type NodeSpec (line 56) | type NodeSpec struct method ParentGVR (line 62) | func (s NodeSpec) ParentGVR() *client.GVR { method ParentPath (line 71) | func (s NodeSpec) ParentPath() *string { method GVR (line 79) | func (s NodeSpec) GVR() *client.GVR { method Path (line 84) | func (s NodeSpec) Path() string { method Status (line 89) | func (s NodeSpec) Status() string { method AsPath (line 94) | func (s NodeSpec) AsPath() string { method AsGVR (line 99) | func (s NodeSpec) AsGVR() string { method AsStatus (line 109) | func (s NodeSpec) AsStatus() string { type ChildNodes (line 116) | type ChildNodes method Len (line 119) | func (c ChildNodes) Len() int { method Swap (line 124) | func (c ChildNodes) Swap(i, j int) { method Less (line 129) | func (c ChildNodes) Less(i, j int) bool { type TreeNode (line 138) | type TreeNode struct method CountChildren (line 156) | func (t *TreeNode) CountChildren() int { method Count (line 161) | func (t *TreeNode) Count(gvr *client.GVR) int { method Diff (line 173) | func (t *TreeNode) Diff(d *TreeNode) bool { method Sort (line 194) | func (t *TreeNode) Sort() { method Spec (line 202) | func (t *TreeNode) Spec() NodeSpec { method Flatten (line 219) | func (t *TreeNode) Flatten() []NodeSpec { method Blank (line 232) | func (t *TreeNode) Blank() bool { method Level (line 262) | func (t *TreeNode) Level() int { method MaxDepth (line 273) | func (t *TreeNode) MaxDepth(depth int) int { method Root (line 285) | func (t *TreeNode) Root() *TreeNode { method IsLeaf (line 295) | func (t *TreeNode) IsLeaf() bool { method IsRoot (line 300) | func (t *TreeNode) IsRoot() bool { method ShallowClone (line 305) | func (t *TreeNode) ShallowClone() *TreeNode { method Filter (line 310) | func (t *TreeNode) Filter(q string, filter func(q, path string) bool) ... method Add (line 326) | func (t *TreeNode) Add(c *TreeNode) { method Clear (line 332) | func (t *TreeNode) Clear() { method Find (line 337) | func (t *TreeNode) Find(gvr *client.GVR, id string) *TreeNode { method Title (line 350) | func (t *TreeNode) Title(noIcons bool) string { method Dump (line 358) | func (t *TreeNode) Dump() { method DumpStdOut (line 374) | func (t *TreeNode) DumpStdOut() { method computeTitle (line 398) | func (t TreeNode) computeTitle(noIcons bool) string { method toTitle (line 412) | func (t TreeNode) toTitle() (title string) { method toEmojiTitle (line 451) | func (t TreeNode) toEmojiTitle() (title string) { function NewTreeNode (line 147) | func NewTreeNode(gvr *client.GVR, id string) *TreeNode { function Hydrate (line 237) | func Hydrate(specs []NodeSpec) *TreeNode { function dump (line 362) | func dump(n *TreeNode, level int) { function dumpStdOut (line 378) | func dumpStdOut(n *TreeNode, level int) { function category (line 389) | func category(gvr *client.GVR) string { constant titleFmt (line 407) | titleFmt = " [gray::-]%s/[white::b][%s::b]%s[::]" constant topTitleFmt (line 408) | topTitleFmt = " [white::b][%s::b]%s[::]" constant toast (line 409) | toast = "TOAST" constant colorFmt (line 449) | colorFmt = "%s [%s::b]%s[::]" function toEmoji (line 482) | func toEmoji(gvr *client.GVR) string { function issueEmoji (line 514) | func issueEmoji(gvr string) string { function v1Emoji (line 529) | func v1Emoji(gvr *client.GVR) string { function appsEmoji (line 554) | func appsEmoji(gvr *client.GVR) string { function EmojiInfo (line 570) | func EmojiInfo() map[string]string { FILE: internal/xray/tree_node_test.go function TestTreeNodeCount (line 16) | func TestTreeNodeCount(t *testing.T) { function TestTreeNodeFilter (line 39) | func TestTreeNodeFilter(t *testing.T) { function TestTreeNodeHydrate (line 92) | func TestTreeNodeHydrate(t *testing.T) { function TestTreeNodeFlatten (line 191) | func TestTreeNodeFlatten(t *testing.T) { function TestTreeNodeDiff (line 237) | func TestTreeNodeDiff(t *testing.T) { function TestTreeNodeClone (line 260) | func TestTreeNodeClone(t *testing.T) { function TestTreeNodeRoot (line 269) | func TestTreeNodeRoot(t *testing.T) { function TestTreeNodeLevel (line 286) | func TestTreeNodeLevel(t *testing.T) { function TestTreeNodeMaxDepth (line 298) | func TestTreeNodeMaxDepth(t *testing.T) { function root1 (line 311) | func root1() *xray.TreeNode { function diff1 (line 321) | func diff1() *xray.TreeNode { function root2 (line 329) | func root2() *xray.TreeNode { function diff2 (line 345) | func diff2() *xray.TreeNode { function root3 (line 356) | func root3() *xray.TreeNode { function diff3 (line 447) | func diff3() *xray.TreeNode { FILE: main.go function init (line 15) | func init() { function main (line 44) | func main() {