Documentation ¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchTopping(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*registry.REST, error)
- func NewStrategy(typer runtime.ObjectTyper) toppingStrategy
- func SelectableFields(obj *restaurant.Topping) fields.Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels.Set, fields.Set, the presence of Initializers if any and error in case the given runtime.Object is not a Topping
func MatchTopping ¶
MatchTopping 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 NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) toppingStrategy
NewStrategy creates and returns a toppingStrategy instance
func SelectableFields ¶
func SelectableFields(obj *restaurant.Topping) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.