apiservice

package
v0.24.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL