Documentation ¶
Index ¶
- type IUseCases
- type UseCases
- func (u *UseCases) FilterAccountRepositoryByID(accountID, repositoryID uuid.UUID) map[string]interface{}
- func (u *UseCases) FilterRepositoryByID(repositoryID uuid.UUID) map[string]interface{}
- func (u *UseCases) FilterRepositoryByNameAndWorkspace(workspaceID uuid.UUID, name string) map[string]interface{}
- func (u *UseCases) InheritWorkspaceGroups(repository *repositoryEntities.Repository, ...) *repositoryEntities.Repository
- func (u *UseCases) IsNotFoundError(err error) bool
- func (u *UseCases) NewRepositoryData(repositoryID, workspaceID uuid.UUID, accountData *proto.GetAccountDataResponse) *repositoryEntities.Data
- func (u *UseCases) NewRepositoryInviteEmail(email, username, repositoryName string) []byte
- func (u *UseCases) RepositoryDataFromIOReadCloser(body io.ReadCloser) (*repositoryEntities.Data, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IUseCases ¶
type IUseCases interface { RepositoryDataFromIOReadCloser(body io.ReadCloser) (*repositoryEntities.Data, error) FilterRepositoryByNameAndWorkspace(workspaceID uuid.UUID, name string) map[string]interface{} IsNotFoundError(err error) bool NewRepositoryData(repositoryID, workspaceID uuid.UUID, accountData *proto.GetAccountDataResponse) *repositoryEntities.Data FilterRepositoryByID(repositoryID uuid.UUID) map[string]interface{} FilterAccountRepositoryByID(accountID, repositoryID uuid.UUID) map[string]interface{} NewRepositoryInviteEmail(email, username, repositoryName string) []byte InheritWorkspaceGroups(repository *repositoryEntities.Repository, workspace *workspaceEntities.Workspace) *repositoryEntities.Repository }
func NewRepositoryUseCases ¶
func NewRepositoryUseCases() IUseCases
type UseCases ¶
type UseCases struct { }
func (*UseCases) FilterAccountRepositoryByID ¶
func (*UseCases) FilterRepositoryByID ¶
func (*UseCases) FilterRepositoryByNameAndWorkspace ¶
func (*UseCases) InheritWorkspaceGroups ¶
func (u *UseCases) InheritWorkspaceGroups(repository *repositoryEntities.Repository, workspace *workspaceEntities.Workspace) *repositoryEntities.Repository
func (*UseCases) IsNotFoundError ¶
func (*UseCases) NewRepositoryData ¶
func (u *UseCases) NewRepositoryData(repositoryID, workspaceID uuid.UUID, accountData *proto.GetAccountDataResponse) *repositoryEntities.Data
func (*UseCases) NewRepositoryInviteEmail ¶
func (*UseCases) RepositoryDataFromIOReadCloser ¶
func (u *UseCases) RepositoryDataFromIOReadCloser(body io.ReadCloser) (*repositoryEntities.Data, error)
Click to show internal directories.
Click to hide internal directories.