Documentation ¶
Index ¶
- func CheckObject(obj runtime.Object) error
- func EmptyObject() runtime.Object
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewList() runtime.Object
- func NewScopeStrategy() rest.NamespaceScopedStrategy
- func NewSingular(ns, name string) runtime.Object
- func NewStorage(opts server.Options) rest.Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckObject ¶
CheckObject returns a non-nil error if obj is not a service class object
func NewScopeStrategy ¶
func NewScopeStrategy() rest.NamespaceScopedStrategy
NewScopeStrategy returns a new NamespaceScopedStrategy for service classes
func NewSingular ¶
NewSingular returns a new shell of a service class, according to the given namespace and name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.