instance

package
v0.0.0-...-151872f Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

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)

GetAttrs returns labels.Set, fields.Set, the presence of Initializers if any and error in case the given runtime.Object is not a Instance

func MatchInstance

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

MatchInstance 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, error)

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

func NewStrategy

func NewStrategy(typer runtime.ObjectTyper) instanceStrategy

NewStrategy creates and returns a instanceStrategy instance

func SelectableFields

func SelectableFields(obj *wing.Instance) fields.Set

SelectableFields returns a field set that represents the object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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