package apiservice
import "k8s.io/kube-aggregator/pkg/registry/apiservice"
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchAPIService(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewStatusStrategy(typer runtime.ObjectTyper) rest.RESTUpdateStrategy
- func NewStrategy(typer runtime.ObjectTyper) rest.RESTCreateUpdateStrategy
- func ToSelectableFields(obj *apiregistration.APIService) fields.Set
Functions ¶
func GetAttrs ¶
GetAttrs returns the labels and fields of an API server for filtering purposes.
func MatchAPIService ¶
MatchAPIService 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 NewStatusStrategy ¶
func NewStatusStrategy(typer runtime.ObjectTyper) rest.RESTUpdateStrategy
NewStatusStrategy creates a new apiServerStatusStrategy.
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) rest.RESTCreateUpdateStrategy
NewStrategy creates a new apiServerStrategy.
func ToSelectableFields ¶
func ToSelectableFields(obj *apiregistration.APIService) fields.Set
ToSelectableFields returns a field set that represents the object.
Source Files ¶
strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/apiservice/etcd | |
pkg/registry/apiservice/rest |
- Version
- v0.16.11-rc.0
- Published
- May 20, 2020
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 4 minutes ago –
Tools for package owners.