escluster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ESClusterToSelectableFields

func ESClusterToSelectableFields(obj *navigator.ElasticsearchCluster) fields.Set

ESClusterToSelectableFields returns a field set that represents the object.

func GetAttrs

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

func MatchESCluster

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

MatchESCluster 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 NewREST

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

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

func NewStrategy

func NewStrategy(typer runtime.ObjectTyper) esClusterStrategy

Types

This section is empty.

Jump to

Keyboard shortcuts

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