blockaffinity

package
v0.0.0-...-21cfbab Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockAffinityToSelectableFields

func BlockAffinityToSelectableFields(obj *calico.BlockAffinity) fields.Set

BlockAffinityToSelectableFields returns a field set that represents the object.

func EmptyObject

func EmptyObject() runtime.Object

EmptyObject returns an empty instance

func GetAttrs

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

func MatchBlockAffinity

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

MatchBlockAffinity is the event filter used by clients of the apiserver only interested in specific labels/fields.

func NewList

func NewList() runtime.Object

NewList returns a new shell of a binding list

func NewStrategy

func NewStrategy(typer runtime.ObjectTyper) apiServerStrategy

NewStrategy returns a new NamespaceScopedStrategy for instances

Types

type REST

type REST struct {
	*genericregistry.Store
	// contains filtered or unexported fields
}

func NewREST

func NewREST(scheme *runtime.Scheme, opts server.Options) (*REST, error)

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

func (*REST) Categories

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

func (*REST) ShortNames

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

Jump to

Keyboard shortcuts

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