Documentation ¶
Index ¶
- func FiltersEqual(f1, f2 Filter) bool
- type ComparableFilter
- func All() ComparableFilter
- func And(children ...Filter) ComparableFilter
- func LabelSelector(ls *metav1.LabelSelector) ComparableFilter
- func Labels(match map[string]string) ComparableFilter
- func NSName(ids ...nsname.NSName) ComparableFilter
- func Not(child Filter) ComparableFilter
- func Null() ComparableFilter
- func Or(children ...Filter) ComparableFilter
- func Selector(selector labels.Selector) ComparableFilter
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FiltersEqual ¶
Types ¶
type ComparableFilter ¶
func And ¶
func And(children ...Filter) ComparableFilter
func LabelSelector ¶
func LabelSelector(ls *metav1.LabelSelector) ComparableFilter
func Labels ¶
func Labels(match map[string]string) ComparableFilter
Labels() returns a filter which returns true if the provided map is a subset of the object's labels.
func NSName ¶
func NSName(ids ...nsname.NSName) ComparableFilter
NSName() returns a filter whose Accept() returns true if the object's namespace and name matches one of the given NSNames.
func Not ¶
func Not(child Filter) ComparableFilter
func Or ¶
func Or(children ...Filter) ComparableFilter
func Selector ¶
func Selector(selector labels.Selector) ComparableFilter
Click to show internal directories.
Click to hide internal directories.