cluster

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterToSelectableFields

func ClusterToSelectableFields(obj *kops.Cluster) fields.Set

ClusterToSelectableFields returns a field set that represents the object.

func GetAttrs

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

func MatchCluster

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

MatchCluster 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) clusterStrategy

Types

type REST

type REST struct {
	*genericregistry.Store
}

func NewREST

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

NewREST returns a RESTStorage object that will work against kops Clusters.

Jump to

Keyboard shortcuts

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