apiservice

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

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