internal

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2024 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFuzzySelector added in v0.32.0

func IsFuzzySelector(s string) (string, bool)

IsFuzzySelector checks if query is fuzzy.

func IsInverseSelector added in v0.32.0

func IsInverseSelector(s string) bool

IsInverseSelector checks if inverse char has been provided.

func IsLabelSelector added in v0.32.0

func IsLabelSelector(s string) bool

IsLabelSelector checks if query is a label query.

Types

type ContextKey

type ContextKey string

ContextKey represents context key.

const (
	KeyFactory       ContextKey = "factory"
	KeyLabels        ContextKey = "labels"
	KeyFields        ContextKey = "fields"
	KeyTable         ContextKey = "table"
	KeyDir           ContextKey = "dir"
	KeyPath          ContextKey = "path"
	KeySubject       ContextKey = "subject"
	KeyGVR           ContextKey = "gvr"
	KeyFQN           ContextKey = "fqn"
	KeyForwards      ContextKey = "forwards"
	KeyContainers    ContextKey = "containers"
	KeyBenchCfg      ContextKey = "benchcfg"
	KeyAliases       ContextKey = "aliases"
	KeyUID           ContextKey = "uid"
	KeySubjectKind   ContextKey = "subjectKind"
	KeySubjectName   ContextKey = "subjectName"
	KeyNamespace     ContextKey = "namespace"
	KeyCluster       ContextKey = "cluster"
	KeyApp           ContextKey = "app"
	KeyStyles        ContextKey = "styles"
	KeyMetrics       ContextKey = "metrics"
	KeyHasMetrics    ContextKey = "has-metrics"
	KeyToast         ContextKey = "toast"
	KeyWithMetrics   ContextKey = "withMetrics"
	KeyViewConfig    ContextKey = "viewConfig"
	KeyWait          ContextKey = "wait"
	KeyPodCounting   ContextKey = "podCounting"
	KeyEnableImgScan ContextKey = "vulScan"
)

A collection of context keys.

Directories

Path Synopsis
ui
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL