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

package apiservice

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

Index

Variables

var Strategy = apiServerStrategy{}

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.UpdateResetFieldsStrategy

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.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
2 weeks ago

Tools for package owners.