multipart

package
v0.0.55 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 14 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, error)

GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a Multipart

func MatchMultipart

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

MatchMultipart 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) *multipartStrategy

NewStrategy creates and returns a multipartStrategy instance

func SelectableFields

func SelectableFields(obj *v1alpha1.Multipart) fields.Set

SelectableFields returns a field set that represents the object.

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST implements a RESTStorage for API services.

func NewREST

func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*REST, error)

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

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