Versions in this module Expand all Collapse all v0 v0.0.4 Aug 15, 2023 Changes in this version + var ErrInvalidFilterParams = errors.New("invalid parameters given to filter") + type ListFilter interface + Filter func(objs ...runtime.Object) ([]runtime.Object, error) + func ObjectToListFilter(of ObjectFilter) ListFilter + type ListOption interface + ApplyToListOptions func(target *ListOptions) error + type ListOptions struct + Filters []ListFilter + func MakeListOptions(opts ...ListOption) (*ListOptions, error) + type NameFilter struct + MatchPrefix bool + Name string + Namespace string + func (f NameFilter) ApplyToListOptions(target *ListOptions) error + func (f NameFilter) Filter(obj runtime.Object) (bool, error) + type ObjectFilter interface + Filter func(obj runtime.Object) (bool, error) + type UIDFilter struct + MatchPrefix bool + UID types.UID + func (f UIDFilter) ApplyToListOptions(target *ListOptions) error + func (f UIDFilter) Filter(obj runtime.Object) (bool, error)