instance

package
Version: v3.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: Apache-2.0, Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckObject

func CheckObject(obj runtime.Object) error

CheckObject returns a non-nil error if obj is not an instance object

func EmptyObject

func EmptyObject() runtime.Object

EmptyObject returns an empty instance

func GetAttrs

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

GetAttrs returns labels and fields of a given object for filtering purposes.

func Match

Match determines whether an Instance matches a field and label selector.

func NewList

func NewList() runtime.Object

NewList returns a new shell of an instance list

func NewScopeStrategy

func NewScopeStrategy() rest.NamespaceScopedStrategy

NewScopeStrategy returns a new NamespaceScopedStrategy for instances

func NewSingular

func NewSingular(ns, name string) runtime.Object

NewSingular returns a new shell of a service instance, according to the given namespace and name

func NewStorage

func NewStorage(opts server.Options) (rest.Storage, rest.Storage)

NewStorage creates a new rest.Storage responsible for accessing Instance resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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