podpreset

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyObject

func EmptyObject() runtime.Object

EmptyObject returns an empty podpreset.

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 Matcher

Matcher 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 NewList

func NewList() runtime.Object

NewList returns a new shell of an podpreset list

func NewScopeStrategy

func NewScopeStrategy() rest.NamespaceScopedStrategy

NewScopeStrategy returns a new NamespaceScopedStrategy for PodPreset.

func NewStorage

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

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

func SelectableFields

func SelectableFields(pip *settings.PodPreset) 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