Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelaxedJSONPathExpression ¶
copied from kubectl
Types ¶
type FieldsSelector ¶
type JSONPathFields ¶
type JSONPathFields struct {
// contains filtered or unexported fields
}
func NewJSONPathFields ¶
func NewJSONPathFields(jpParser *JSONPathParser, data interface{}) *JSONPathFields
func (JSONPathFields) Get ¶
func (fs JSONPathFields) Get(fieldPath string) (value string)
func (JSONPathFields) Has ¶
func (fs JSONPathFields) Has(fieldPath string) (exists bool)
type JSONPathParser ¶
func NewJSONPathParser ¶
func NewJSONPathParser() *JSONPathParser
type MultiSelectors ¶
type MultiSelectors []Selector
func (MultiSelectors) Matches ¶
func (m MultiSelectors) Matches(obj Selectable) (bool, error)
type Selectable ¶
func SelectableUnstructured ¶
func SelectableUnstructured(u *unstructured.Unstructured, parser *JSONPathParser) Selectable
type Selector ¶
type Selector struct {
Label labels.Selector
Field *FieldsSelector
}
func (Selector) ServerSupported ¶
Click to show internal directories.
Click to hide internal directories.