Documentation ¶
Index ¶
- func UploadArtifactsCallback(file *bizbinah.UploadFile) error
- type App
- type AppDetails
- type AppPackage
- type AppPackageBinary
- type AppPackageSource
- type AppSource
- type AppType
- type Gebura
- func (g *Gebura) AssignAppPackage(ctx context.Context, app App, appPackage AppPackage) *errors.Error
- func (g *Gebura) BindApp(ctx context.Context, internal App, bind App) (*App, *errors.Error)
- func (g *Gebura) CreateApp(ctx context.Context, app *App) (*App, *errors.Error)
- func (g *Gebura) CreateAppPackage(ctx context.Context, a *AppPackage) (*AppPackage, *errors.Error)
- func (g *Gebura) ListApp(ctx context.Context, paging Paging, sources []AppSource, types []AppType, ...) ([]*App, *errors.Error)
- func (g *Gebura) ListAppPackage(ctx context.Context, paging Paging, sources []AppPackageSource, ids []int64) ([]*AppPackage, *errors.Error)
- func (g *Gebura) ListBindApp(ctx context.Context, id int64) ([]*App, *errors.Error)
- func (g *Gebura) NewReportAppPackageHandler(ctx context.Context) (ReportAppPackageHandler, *errors.Error)
- func (g *Gebura) UpdateApp(ctx context.Context, app *App) *errors.Error
- func (g *Gebura) UpdateAppPackage(ctx context.Context, a *AppPackage) *errors.Error
- func (g *Gebura) UpsertApp(ctx context.Context, app []*App) ([]*App, *errors.Error)
- type GeburaRepo
- type Paging
- type ReportAppPackageHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadArtifactsCallback ¶
func UploadArtifactsCallback(file *bizbinah.UploadFile) error
Types ¶
type AppDetails ¶
type AppPackage ¶ added in v0.0.4
type AppPackage struct { InternalID int64 Source AppPackageSource SourceID int64 SourcePackageID string Name string Description string Binary *AppPackageBinary }
type AppPackageBinary ¶ added in v0.0.4
type AppPackageSource ¶ added in v0.0.4
type AppPackageSource int
const ( AppPackageSourceUnspecified AppPackageSource = iota AppPackageSourceManual AppPackageSourceSentinel )
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 (*Gebura) CreateAppPackage ¶ added in v0.0.4
func (g *Gebura) CreateAppPackage(ctx context.Context, a *AppPackage) (*AppPackage, *errors.Error)
func (*Gebura) ListAppPackage ¶ added in v0.0.4
func (g *Gebura) ListAppPackage( ctx context.Context, paging Paging, sources []AppPackageSource, ids []int64, ) ([]*AppPackage, *errors.Error)
func (*Gebura) ListBindApp ¶ added in v0.0.3
func (*Gebura) NewReportAppPackageHandler ¶ added in v0.0.4
func (*Gebura) UpdateAppPackage ¶ added in v0.0.4
type GeburaRepo ¶
type GeburaRepo interface { IsApp(context.Context, int64) error CreateApp(context.Context, *App) error UpdateApp(context.Context, *App) error UpsertApp(context.Context, []*App) error ListApp(context.Context, Paging, []AppSource, []AppType, []int64, bool) ([]*App, error) IsAppPackage(context.Context, int64) error CreateAppPackage(context.Context, *AppPackage) error UpdateAppPackage(context.Context, *AppPackage) error UpsertAppPackage(context.Context, []*AppPackage) error ListAppPackage(context.Context, Paging, []AppPackageSource, []int64) ([]*AppPackage, error) ListAllAppPackageIDOfOneSource(context.Context, AppPackageSource, int64) ([]string, error) }
type ReportAppPackageHandler ¶ added in v0.0.4
type ReportAppPackageHandler interface {
Handle(context.Context, []*AppPackage) *errors.Error
}
Click to show internal directories.
Click to hide internal directories.