Documentation
¶
Overview ¶
Package generic provides a generic object store interface and a generic label/field matching type.
Index ¶
- func MergeFieldsSets(source fields.Set, fragment fields.Set) fields.Set
- func ObjectMetaFieldsSet(objectMeta api.ObjectMeta, hasNamespaceField bool) fields.Set
- func UndecoratedStorage(storageInterface storage.Interface, capacity int, objectType runtime.Object, ...) storage.Interface
- type AttrFunc
- type Matcher
- type RESTOptions
- type SelectionPredicate
- type StorageDecorator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeFieldsSets ¶ added in v1.2.0
MergeFieldsSets merges a fields'set from fragment into the source.
func ObjectMetaFieldsSet ¶ added in v1.2.0
func ObjectMetaFieldsSet(objectMeta api.ObjectMeta, hasNamespaceField bool) fields.Set
ObjectMetaFieldsSet returns a fields set that represents the ObjectMeta.
func UndecoratedStorage ¶ added in v1.2.0
func UndecoratedStorage( storageInterface storage.Interface, capacity int, objectType runtime.Object, resourcePrefix string, scopeStrategy rest.NamespaceScopedStrategy, newListFunc func() runtime.Object) storage.Interface
Returns given 'storageInterface' without any decoration.