Documentation
¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Indexers() *cache.Indexers
- func MatchPackageRevision(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewProvider(ctx context.Context, client client.Client, cache *cache.Cache) builderrest.ResourceHandlerProvider
- func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter, ...) (rest.Storage, error)
- func NewStrategy(typer runtime.ObjectTyper, client client.Client) packageRevisionStrategy
- func NewTableConvertor(gr schema.GroupResource) registry.TableConvertor
- func SelectableFields(obj *pkgv1alpha1.PackageRevision) fields.Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a PackageRevision
func MatchPackageRevision ¶
MatchPackageRevision 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 NewProvider ¶
func NewProvider(ctx context.Context, client client.Client, cache *cache.Cache) builderrest.ResourceHandlerProvider
func NewREST ¶
func NewREST(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(typer runtime.ObjectTyper, client client.Client) packageRevisionStrategy
NewStrategy creates and returns a fischerStrategy instance
func NewTableConvertor ¶
func NewTableConvertor(gr schema.GroupResource) registry.TableConvertor
func SelectableFields ¶
func SelectableFields(obj *pkgv1alpha1.PackageRevision) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.