Documentation ¶
Index ¶
- type App
- func (a *App) Create(_ context.Context, o model.Ketchup) (uint64, error)
- func (a *App) Delete(_ context.Context, o model.Ketchup) error
- func (a *App) DoAtomic(ctx context.Context, action func(context.Context) error) error
- func (a *App) GetByRepositoryID(_ context.Context, id uint64, forUpdate bool) (model.Ketchup, error)
- func (a *App) List(_ context.Context, page, pageSize uint) ([]model.Ketchup, uint64, error)
- func (a *App) ListByRepositoriesID(_ context.Context, ids []uint64) ([]model.Ketchup, error)
- func (a *App) SetCreate(id uint64, err error) *App
- func (a *App) SetDelete(err error) *App
- func (a *App) SetDoAtomic(err error) *App
- func (a *App) SetGetByRepositoryID(ketchup model.Ketchup, err error) *App
- func (a *App) SetList(ketchups []model.Ketchup, total uint64, err error) *App
- func (a *App) SetListByRepositoriesID(ketchups []model.Ketchup, err error) *App
- func (a *App) SetUpdate(err error) *App
- func (a *App) Update(_ context.Context, o model.Ketchup) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App mocks
func (*App) GetByRepositoryID ¶
func (a *App) GetByRepositoryID(_ context.Context, id uint64, forUpdate bool) (model.Ketchup, error)
GetByRepositoryID mocks
func (*App) ListByRepositoriesID ¶
ListByRepositoriesID mocks
func (*App) SetGetByRepositoryID ¶
SetGetByRepositoryID mocks
func (*App) SetListByRepositoriesID ¶
SetListByRepositoriesID mocks
Click to show internal directories.
Click to hide internal directories.