Documentation ¶
Index ¶
- func DefaultTableConvertor(gr schema.GroupResource) registry.TableConvertor
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewProvider(ctx context.Context, client client.Client, serverObjContext *ServerObjContext, ...) builderrest.ResourceHandlerProvider
- func NewREST(ctx context.Context, scheme *runtime.Scheme, ...) (rest.Storage, error)
- func NewStrategy(ctx context.Context, typer runtime.ObjectTyper, client client.Client, ...) *strategy
- func SelectableFields(beobj backend.Object) fields.Set
- type Filter
- type ServerObjContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTableConvertor ¶
func DefaultTableConvertor(gr schema.GroupResource) registry.TableConvertor
func GetAttrs ¶
GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object does not match
func Match ¶
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, serverObjContext *ServerObjContext, storeConfig *store.Config, be bebackend.Backend) builderrest.ResourceHandlerProvider
func NewREST ¶
func NewREST(ctx context.Context, scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter, client client.Client, serverObjContext *ServerObjContext, storeConfig *store.Config, be bebackend.Backend) (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, serverObjContext *ServerObjContext, store storebackend.Storer[runtime.Object], be bebackend.Backend) *strategy
NewStrategy creates and returns a fischerStrategy instance
Types ¶
type Filter ¶
type Filter struct { // Name filters by the name of the objects Name string // Namespace filters by the namespace of the objects Namespace string }
Filter
type ServerObjContext ¶
type ServerObjContext struct { TracerString string Obj resource.Object ConversionFunc runtime.FieldLabelConversionFunc TableConverter func(gr schema.GroupResource) registry.TableConvertor }
Click to show internal directories.
Click to hide internal directories.