Documentation ¶
Index ¶
- func DefaultList(objects []runtime.Object, q *query.Query, compareFunc CompareFunc, ...) *api.ListResult
- func DefaultObjectMetaCompare(left, right metav1.ObjectMeta, sortBy query.Field) bool
- func DefaultObjectMetaFilter(item metav1.ObjectMeta, filter query.Filter) bool
- type CompareFunc
- type FilterFunc
- type Interface
- type TransformFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultList ¶
func DefaultList(objects []runtime.Object, q *query.Query, compareFunc CompareFunc, filterFunc FilterFunc, transformFuncs ...TransformFunc) *api.ListResult
func DefaultObjectMetaCompare ¶
func DefaultObjectMetaCompare(left, right metav1.ObjectMeta, sortBy query.Field) bool
DefaultObjectMetaCompare return true is left great than right
func DefaultObjectMetaFilter ¶
func DefaultObjectMetaFilter(item metav1.ObjectMeta, filter query.Filter) bool
Default metadata filter
Types ¶
type CompareFunc ¶
CompareFunc return true is left great than right
Click to show internal directories.
Click to hide internal directories.