Documentation ¶
Index ¶
- type ApplicationRepo
- func (store ApplicationRepo) Create(ctx context.Context, app *applications.AppWithoutContours) (err error)
- func (store ApplicationRepo) Delete(ctx context.Context, appIn *applications.AppId) (err error)
- func (store ApplicationRepo) Get(ctx context.Context, appIn *applications.AppId) (*applications.AppFullInfo, error)
- func (store ApplicationRepo) ListAdded(ctx context.Context, stream applications.Applications_ListServer, ...) error
- func (store ApplicationRepo) ListAvailable(ctx context.Context, stream applications.Applications_ListServer, ...) error
- func (store ApplicationRepo) Update(ctx context.Context, app *applications.AppWithoutContours) (err error)
- type ApplicationStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationRepo ¶
ApplicationRepo implements ApplicationRepo
func (ApplicationRepo) Create ¶
func (store ApplicationRepo) Create(ctx context.Context, app *applications.AppWithoutContours) (err error)
Create application (add to database)
func (ApplicationRepo) Delete ¶
func (store ApplicationRepo) Delete(ctx context.Context, appIn *applications.AppId) (err error)
Get application (from database)
func (ApplicationRepo) Get ¶
func (store ApplicationRepo) Get(ctx context.Context, appIn *applications.AppId) (*applications.AppFullInfo, error)
Get application (from database)
func (ApplicationRepo) ListAdded ¶
func (store ApplicationRepo) ListAdded(ctx context.Context, stream applications.Applications_ListServer, apps *accounts.AccountsApps) error
List applications (streaming from database)
func (ApplicationRepo) ListAvailable ¶
func (store ApplicationRepo) ListAvailable(ctx context.Context, stream applications.Applications_ListServer, apps []string) error
List applications (streaming from database)
func (ApplicationRepo) Update ¶
func (store ApplicationRepo) Update(ctx context.Context, app *applications.AppWithoutContours) (err error)
Update applications (database update)
type ApplicationStore ¶
type ApplicationStore interface { Create(context.Context, *applications.AppWithoutContours) error Get(context.Context, *applications.AppId) (*applications.AppFullInfo, error) Delete(context.Context, *applications.AppId) (err error) Update(context.Context, *applications.AppWithoutContours) error ListAdded(context.Context, applications.Applications_ListServer, *accounts.AccountsApps) error ListAvailable(context.Context, applications.Applications_ListServer, []string) error }
ApplicationStore represents methods to store applications
Click to show internal directories.
Click to hide internal directories.