kube-aggregatork8s.io/kube-aggregator/pkg/registry/apiservice Index | Files | Directories

package apiservice

import "k8s.io/kube-aggregator/pkg/registry/apiservice"

Index

Functions

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

GetAttrs returns the labels and fields of an API server for filtering purposes.

func MatchAPIService

func MatchAPIService(label labels.Selector, field fields.Selector) storage.SelectionPredicate

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

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

PathSynopsis
pkg/registry/apiservice/etcd
pkg/registry/apiservice/rest
Version
v0.21.0-alpha.1
Published
Jan 13, 2021
Platform
js/wasm
Imports
12 packages
Last checked
17 minutes ago

Tools for package owners.