package apiservice
import "k8s.io/kube-aggregator/pkg/registry/apiservice"
Index ¶
- Variables
- 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.UpdateResetFieldsStrategy
- func NewStrategy(typer runtime.ObjectTyper) rest.CreateUpdateResetFieldsStrategy
- func ToSelectableFields(obj *apiregistration.APIService) fields.Set
Variables ¶
var Strategy = apiServerStrategy{}
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.UpdateResetFieldsStrategy
NewStatusStrategy creates a new apiServerStatusStrategy.
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) rest.CreateUpdateResetFieldsStrategy
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.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 2 weeks ago –
Tools for package owners.