Documentation ¶
Index ¶
- func And(sel ...Selector) *selectors.LabelErrPropSelectorImpl
- func AsStructure(value interface{}) (interface{}, error)
- func Get(labels v1.Labels, sel ...Selector) []v1.Label
- func MergeAlgo(algo string) *selectors.LabelSelectorImpl
- func Name(n string) *selectors.LabelSelectorImpl
- func Select(labels v1.Labels, sel ...Selector) ([]v1.Label, error)
- func Signed(b ...bool) *selectors.LabelSelectorImpl
- func Value(value interface{}) *selectors.LabelErrorSelectorImpl
- func Version(n string) *selectors.LabelSelectorImpl
- func YQExpression(expr string, value interface{}) *selectors.LabelErrorSelectorImpl
- func YQParse(data []byte) (*yqlib.CandidateNode, error)
- type Selector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func And ¶
func And(sel ...Selector) *selectors.LabelErrPropSelectorImpl
func AsStructure ¶
func AsStructure(value interface{}) (interface{}, error)
func MergeAlgo ¶
func MergeAlgo(algo string) *selectors.LabelSelectorImpl
func Name ¶
func Name(n string) *selectors.LabelSelectorImpl
func Signed ¶
func Signed(b ...bool) *selectors.LabelSelectorImpl
func Value ¶
func Value(value interface{}) *selectors.LabelErrorSelectorImpl
Value matches a label by a label value. This selector should typically be combined with Name.
func Version ¶
func Version(n string) *selectors.LabelSelectorImpl
func YQExpression ¶
func YQExpression(expr string, value interface{}) *selectors.LabelErrorSelectorImpl
YQExpression matches a part of a label values described by a YQ expression. If value is a []byte, it is interpreted as JSON data, otherwise the value marshalled as JSON.
Types ¶
Click to show internal directories.
Click to hide internal directories.