customresource

package
v1.1.0-alpha.0....-c00828a Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomResourceToSelectableFields

func CustomResourceToSelectableFields(obj *apiextensions.CustomResource) fields.Set

CustomResourceToSelectableFields returns a field set that represents the object.

func GetAttrs

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

func MatchCustomResource

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

MatchCustomResource 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 NewStrategy

func NewStrategy(typer runtime.ObjectTyper) apiServerStrategy

Types

type REST

type REST struct {
	*genericregistry.Store
}

rest implements a RESTStorage for API services against etcd

func NewREST

func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) *REST

NewREST returns a RESTStorage object that will work against API services.

Jump to

Keyboard shortcuts

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