k9s/internal/keys.go

25 lines
743 B
Go

package internal
// ContextKey represents context key.
type ContextKey string
// A collection of context keys.
const (
KeyFactory ContextKey = "factory"
KeyLabels = "labels"
KeyFields = "fields"
KeyTable = "table"
KeyDir = "dir"
KeyPath = "path"
KeySubject = "subject"
KeyGVR = "gvr"
KeyForwards = "forwards"
KeyContainers = "containers"
KeyBenchCfg = "benchcfg"
KeyAliases = "aliases"
KeyUID = "uid"
KeySubjectKind = "subjectKind"
KeySubjectName = "subjectName"
KeyNamespace = "namespace"
)