Versions in this module Expand all Collapse all v0 v0.1.1 Oct 11, 2024 v0.1.0 Jun 20, 2024 Changes in this version + type Option func(*Options) + func WithDispatcher(dispatcher types.Dispatcher) Option + func WithLogger(logger logger.Logger) Option + func WithRocketBlendConfigurator(configurator types.RBConfigurator) Option + func WithRocketBlendRepository(repository types.RBRepository) Option + func WithStore(store types.Store) Option + func WithValidator(validator types.Validator) Option + func WithWatcherDebounceDuration(duration time.Duration) Option + type Options struct + Dispatcher types.Dispatcher + Logger types.Logger + Store types.Store + Validator types.Validator + WatcherDebounceDuration time.Duration + type Repository struct + func New(opts ...Option) (*Repository, error) + func (r *Repository) AddPackage(ctx context.Context, opts *types.AddPackageOpts) error + func (r *Repository) AddPackageOperation(ctx context.Context, opts *types.AddPackageOperationOpts) error + func (r *Repository) Close() error + func (r *Repository) GetPackage(ctx context.Context, opts *types.GetPackageOpts) (*types.GetPackageResponse, error) + func (r *Repository) InstallPackage(ctx context.Context, opts *types.InstallPackageOpts) (err error) + func (r *Repository) ListPackages(ctx context.Context, opts ...listoption.ListOption) (*types.ListPackagesResponse, error) + func (r *Repository) RefreshPackages(ctx context.Context) error + func (r *Repository) RemovePackageOperation(ctx context.Context, opts *types.RemovePackageOperationOpts) error + func (r *Repository) UninstallPackage(ctx context.Context, opts *types.UninstallPackageOpts) error