Documentation
¶
Overview ¶
Package flag provides value types for kong flags which more than one command declares. Each type implements encoding.TextUnmarshaler, which is how kong decodes a flag value into it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabelSelector ¶
type LabelSelector struct {
metav1.LabelSelector
}
LabelSelector is a label query over a set of resources. https://pkg.go.dev/k8s.io/kubectl@v0.33.2/pkg/cmd/util#AddLabelSelectorFlagVar
func (*LabelSelector) UnmarshalText ¶
func (ls *LabelSelector) UnmarshalText(text []byte) error
UnmarshalText parses a label selector from a string. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#list-and-watch-filtering
type LocalReference ¶
type LocalReference struct {
meta.LocalReference
}
LocalReference references another object in the same namespace.
func (*LocalReference) UnmarshalText ¶
func (r *LocalReference) UnmarshalText(text []byte) error
UnmarshalText parses a local reference from a string.
Click to show internal directories.
Click to hide internal directories.