bizgebura

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gebura added in v0.0.2

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

func NewGebura added in v0.0.2

func NewGebura(
	repo GeburaRepo,
	auth *libauth.Auth,
	mClient mapper.LibrarianMapperServiceClient,
	sClient *client.Searcher,
	updateAppIndex *libmq.Topic[modelangela.UpdateAppIndex],
) *Gebura

func (*Gebura) AssignAppPackage added in v0.0.4

func (g *Gebura) AssignAppPackage(
	ctx context.Context,
	appID model.InternalID,
	appPackageID model.InternalID,
) *errors.Error

func (*Gebura) CreateApp added in v0.0.2

func (g *Gebura) CreateApp(ctx context.Context, app *modelgebura.App) (*modelgebura.App, *errors.Error)

func (*Gebura) CreateAppPackage added in v0.0.4

func (g *Gebura) CreateAppPackage(
	ctx context.Context,
	a *modelgebura.AppPackage,
) (*modelgebura.AppPackage, *errors.Error)

func (*Gebura) GetApp added in v0.1.6

func (g *Gebura) GetApp(ctx context.Context, id model.InternalID) (*modelgebura.App, *errors.Error)

func (*Gebura) GetBindApps added in v0.0.9

func (g *Gebura) GetBindApps(ctx context.Context, id model.InternalID) ([]*modelgebura.App, *errors.Error)

func (*Gebura) GetPurchasedApps added in v0.0.10

func (g *Gebura) GetPurchasedApps(ctx context.Context) ([]*modelgebura.App, *errors.Error)

func (*Gebura) ListAppPackages added in v0.0.10

func (g *Gebura) ListAppPackages(
	ctx context.Context,
	paging model.Paging,
	sources []modelgebura.AppPackageSource,
	ids []model.InternalID,
) ([]*modelgebura.AppPackage, int, *errors.Error)

func (*Gebura) ListApps added in v0.0.10

func (g *Gebura) ListApps(
	ctx context.Context,
	paging model.Paging,
	sources []modelgebura.AppSource,
	types []modelgebura.AppType,
	ids []model.InternalID,
	containDetails bool,
) ([]*modelgebura.App, int64, *errors.Error)

func (*Gebura) MergeApps added in v0.0.10

func (g *Gebura) MergeApps(ctx context.Context, base modelgebura.App, merged model.InternalID) *errors.Error

func (*Gebura) NewReportAppPackageHandler added in v0.0.4

func (g *Gebura) NewReportAppPackageHandler(ctx context.Context) (ReportAppPackageHandler, *errors.Error)

func (*Gebura) PurchaseApp added in v0.0.10

func (g *Gebura) PurchaseApp(ctx context.Context, id model.InternalID) *errors.Error

func (*Gebura) SearchApps added in v0.0.10

func (g *Gebura) SearchApps(ctx context.Context, paging model.Paging, keyword string) (
	[]*modelgebura.App, int, *errors.Error)

func (*Gebura) UnAssignAppPackage added in v0.0.10

func (g *Gebura) UnAssignAppPackage(ctx context.Context, appPackageID model.InternalID) *errors.Error

func (*Gebura) UpdateApp added in v0.0.2

func (g *Gebura) UpdateApp(ctx context.Context, app *modelgebura.App) *errors.Error

func (*Gebura) UpdateAppPackage added in v0.0.4

func (g *Gebura) UpdateAppPackage(ctx context.Context, a *modelgebura.AppPackage) *errors.Error

type ReportAppPackageHandler added in v0.0.4

type ReportAppPackageHandler interface {
	Handle(context.Context, []*modelgebura.AppPackageBinary) *errors.Error
}

Jump to

Keyboard shortcuts

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