packagerevisionresource

package
v0.0.0-...-56979a3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 37 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 PackageRevisionResources

func Indexers

func Indexers() *cache.Indexers

func Match

Match 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(ctx context.Context, scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter, client client.Client, cache *cache.Cache) (rest.Storage, error)

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

func NewStrategy

func NewStrategy(ctx context.Context, typer runtime.ObjectTyper, client client.Client, cache *repocache.Cache) *strategy

NewStrategy creates and returns a fischerStrategy instance

func SelectableFields

func SelectableFields(obj *pkgv1alpha1.PackageRevisionResources) 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