marketplaceInfra

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: EPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarketplaceCmdRepo

type MarketplaceCmdRepo struct {
	// contains filtered or unexported fields
}

func NewMarketplaceCmdRepo

func NewMarketplaceCmdRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *MarketplaceCmdRepo

func (*MarketplaceCmdRepo) InstallItem

func (repo *MarketplaceCmdRepo) InstallItem(
	installDto dto.InstallMarketplaceCatalogItem,
) error

func (*MarketplaceCmdRepo) UninstallItem

func (repo *MarketplaceCmdRepo) UninstallItem(
	deleteDto dto.DeleteMarketplaceInstalledItem,
) error

type MarketplaceQueryRepo

type MarketplaceQueryRepo struct {
	// contains filtered or unexported fields
}

func NewMarketplaceQueryRepo

func NewMarketplaceQueryRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *MarketplaceQueryRepo

func (*MarketplaceQueryRepo) ReadCatalogItemById

func (repo *MarketplaceQueryRepo) ReadCatalogItemById(
	catalogId valueObject.MarketplaceItemId,
) (catalogItem entity.MarketplaceCatalogItem, err error)

func (*MarketplaceQueryRepo) ReadCatalogItemBySlug

func (repo *MarketplaceQueryRepo) ReadCatalogItemBySlug(
	slug valueObject.MarketplaceItemSlug,
) (catalogItem entity.MarketplaceCatalogItem, err error)

func (*MarketplaceQueryRepo) ReadCatalogItems

func (repo *MarketplaceQueryRepo) ReadCatalogItems() (
	catalogItems []entity.MarketplaceCatalogItem, err error,
)

func (*MarketplaceQueryRepo) ReadInstalledItemById

func (repo *MarketplaceQueryRepo) ReadInstalledItemById(
	installedId valueObject.MarketplaceItemId,
) (entity entity.MarketplaceInstalledItem, err error)

func (*MarketplaceQueryRepo) ReadInstalledItems

func (repo *MarketplaceQueryRepo) ReadInstalledItems() (
	[]entity.MarketplaceInstalledItem, error,
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL