Versions in this module Expand all Collapse all v0 v0.2.0 May 19, 2026 Changes in this version + func NewDeleter(repo repository.Deleter) *deleter + func NewGetter[R resource.Resource](repo repository.Getter[R], resType resource.Type) *getter[R] + func NewLister[R resource.Resource](repo repository.Lister[R], defaultOpts ...search.Option) *lister[R] + func NewSinglePatcher[R resource.Resource](repo repository.Patcher[R], resType resource.Type, ...) *singlePatcher[R] + func NewUpdater[R resource.Resource](repo repository.Updater[R], validationFunc func(context.Context, R) error) *updater[R] + type Creator interface + Create func(ctx context.Context, r R) (R, error) + func NewCreator[R resource.Resource](repo repository.Creator[R], validationFunc func(context.Context, R) error) Creator[R] + type CreatorBatch interface + CreateBatch func(ctx context.Context, r []R) ([]R, error) + func NewCreatorBatch[R resource.Resource](repo repository.CreatorBatch[R], ...) CreatorBatch[R] + type Deleter interface + Delete func(context.Context, repository.DeleteType, ...search.Option) error + type Getter interface + Get func(ctx context.Context, opts ...search.Option) (R, error) + type Lister interface + List func(ctx context.Context, opts ...search.Option) (resource.ListResponse[R], error) + type Patcher interface + Patch func(ctx context.Context, opts ...repository.PatchOption) (R, error) + type Updater interface + Update func(ctx context.Context, req R) (R, error)