Documentation ¶
Index ¶
- func CheckObject(obj runtime.Object) error
- func EmptyObject() runtime.Object
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, 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, 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 an instance object
func NewScopeStrategy ¶
func NewScopeStrategy() rest.NamespaceScopedStrategy
NewScopeStrategy returns a new NamespaceScopedStrategy for instances
func NewSingular ¶
NewSingular returns a new shell of a service instance, according to the given namespace and name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.