Documentation ¶
Index ¶
- func UploadArtifactsCallback(file *bizbinah.UploadFile) error
- type Gebura
- func (g *Gebura) AssignAppPackage(ctx context.Context, app modelgebura.App, appPackage modelgebura.AppPackage) *errors.Error
- func (g *Gebura) BindApp(ctx context.Context, internal modelgebura.App, bind modelgebura.App) (*modelgebura.App, *errors.Error)
- func (g *Gebura) CreateApp(ctx context.Context, app *modelgebura.App) (*modelgebura.App, *errors.Error)
- func (g *Gebura) CreateAppPackage(ctx context.Context, a *modelgebura.AppPackage) (*modelgebura.AppPackage, *errors.Error)
- func (g *Gebura) ListApp(ctx context.Context, paging model.Paging, sources []modelgebura.AppSource, ...) ([]*modelgebura.App, *errors.Error)
- func (g *Gebura) ListAppPackage(ctx context.Context, paging model.Paging, ...) ([]*modelgebura.AppPackage, *errors.Error)
- func (g *Gebura) ListBindApp(ctx context.Context, id model.InternalID) ([]*modelgebura.App, *errors.Error)
- func (g *Gebura) NewReportAppPackageHandler(ctx context.Context) (ReportAppPackageHandler, *errors.Error)
- func (g *Gebura) UpdateApp(ctx context.Context, app *modelgebura.App) *errors.Error
- func (g *Gebura) UpdateAppPackage(ctx context.Context, a *modelgebura.AppPackage) *errors.Error
- func (g *Gebura) UpsertApp(ctx context.Context, app []*modelgebura.App) ([]*modelgebura.App, *errors.Error)
- type GeburaRepo
- type ReportAppPackageHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadArtifactsCallback ¶
func UploadArtifactsCallback(file *bizbinah.UploadFile) error
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, block bizbinah.CallbackControlBlock, mClient mapper.LibrarianMapperServiceClient, pClient porter.LibrarianPorterServiceClient, sClient searcher.LibrarianSearcherServiceClient, ) *Gebura
func (*Gebura) AssignAppPackage ¶ added in v0.0.4
func (g *Gebura) AssignAppPackage( ctx context.Context, app modelgebura.App, appPackage modelgebura.AppPackage, ) *errors.Error
func (*Gebura) BindApp ¶ added in v0.0.2
func (g *Gebura) BindApp( ctx context.Context, internal modelgebura.App, bind modelgebura.App, ) (*modelgebura.App, *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) ListApp ¶ added in v0.0.2
func (g *Gebura) ListApp( ctx context.Context, paging model.Paging, sources []modelgebura.AppSource, types []modelgebura.AppType, ids []model.InternalID, containDetails bool, ) ([]*modelgebura.App, *errors.Error)
func (*Gebura) ListAppPackage ¶ added in v0.0.4
func (g *Gebura) ListAppPackage( ctx context.Context, paging model.Paging, sources []modelgebura.AppPackageSource, ids []model.InternalID, ) ([]*modelgebura.AppPackage, *errors.Error)
func (*Gebura) ListBindApp ¶ added in v0.0.3
func (g *Gebura) ListBindApp(ctx context.Context, id model.InternalID) ([]*modelgebura.App, *errors.Error)
func (*Gebura) NewReportAppPackageHandler ¶ added in v0.0.4
func (*Gebura) UpdateAppPackage ¶ added in v0.0.4
func (g *Gebura) UpdateAppPackage(ctx context.Context, a *modelgebura.AppPackage) *errors.Error
type GeburaRepo ¶
type GeburaRepo interface { IsApp(context.Context, model.InternalID) error CreateApp(context.Context, *modelgebura.App) error UpdateApp(context.Context, *modelgebura.App) error UpsertApp(context.Context, []*modelgebura.App) error ListApp(context.Context, model.Paging, []modelgebura.AppSource, []modelgebura.AppType, []model.InternalID, bool) ([]*modelgebura.App, error) IsAppPackage(context.Context, model.InternalID) error CreateAppPackage(context.Context, *modelgebura.AppPackage) error UpdateAppPackage(context.Context, *modelgebura.AppPackage) error UpsertAppPackage(context.Context, []*modelgebura.AppPackage) error ListAppPackage(context.Context, model.Paging, []modelgebura.AppPackageSource, []model.InternalID) ([]*modelgebura.AppPackage, error) ListAllAppPackageIDOfOneSource(context.Context, modelgebura.AppPackageSource, model.InternalID) ([]string, error) }
type ReportAppPackageHandler ¶ added in v0.0.4
type ReportAppPackageHandler interface {
Handle(context.Context, []*modelgebura.AppPackage) *errors.Error
}
Click to show internal directories.
Click to hide internal directories.