Documentation ¶
Index ¶
- func AppendItem(v reflect.Value, obj runtime.Object)
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func GetListPrt(listObj runtime.Object) (reflect.Value, error)
- func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func ParseFieldSelector(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)
- func SelectableFields(obj *metav1.ObjectMeta) fields.Set
- func UpdateResourceVersion(obj, old runtime.Object) error
- func UpdateResourceVersionAndGeneration(obj, old runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a ObjectMetaProvider
func Match ¶
MatchPackageRevision is the filter used by the generic etcd backend to watch events from etcd to clients of the apiserver only interested in specific labels/fields.
func ParseFieldSelector ¶
func ParseFieldSelector(ctx context.Context, fieldSelector fields.Selector) (resource.Filter, error)
ParseFieldSelector parses client-provided fields.Selector into a storerFilter
func SelectableFields ¶
func SelectableFields(obj *metav1.ObjectMeta) fields.Set
SelectableFields returns a field set that represents the object.
func UpdateResourceVersion ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.