apiservice

package
v1.14.9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: Apache-2.0, 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 added in v1.7.0

func NewStatusStrategy(typer runtime.ObjectTyper) rest.RESTUpdateStrategy

NewStatusStrategy creates a new apiServerStatusStrategy.

func NewStrategy added in v1.7.0

NewStrategy creates a new apiServerStrategy.

func ToSelectableFields added in v1.14.0

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