instancegroup

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: 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, bool, error)

func InstanceGroupToSelectableFields

func InstanceGroupToSelectableFields(obj *kops.InstanceGroup) fields.Set

InstanceGroupToSelectableFields returns a field set that represents the object.

func MatchInstanceGroup

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

MatchInstanceGroup 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) instanceGroupStrategy

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 InstanceGroups.

func (*REST) ShortNames

func (r *REST) ShortNames() []string

ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.

Jump to

Keyboard shortcuts

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