Documentation ¶
Index ¶
- func EmptyObject() runtime.Object
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Matcher(label labels.Selector, field fields.Selector) apistorage.SelectionPredicate
- func NewList() runtime.Object
- func NewScopeStrategy() rest.NamespaceScopedStrategy
- func NewStorage(opts server.Options) (rest.Storage, error)
- func SelectableFields(pip *settings.PodPreset) fields.Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Matcher ¶
func Matcher(label labels.Selector, field fields.Selector) apistorage.SelectionPredicate
Matcher 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 NewScopeStrategy ¶
func NewScopeStrategy() rest.NamespaceScopedStrategy
NewScopeStrategy returns a new NamespaceScopedStrategy for PodPreset.
func NewStorage ¶
NewStorage creates a new rest.Storage responsible for accessing PodPreset resources
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.