Documentation
¶
Index ¶
- func Module(c *di.Container)
- type Service
- func (s *Service) Create(ctx context.Context, ws *workspace.Workspace, commitID, msg string) (*change.Change, error)
- func (svc *Service) GetChangeByID(ctx context.Context, id change.ID) (*change.Change, error)
- func (svc *Service) GetChangeCommitByCommitIDAndCodebaseID(ctx context.Context, commitID, codebaseID string) (*change.ChangeCommit, error)
- func (svc *Service) GetChangeCommitOnTrunkByChangeID(ctx context.Context, id change.ID) (*change.ChangeCommit, error)
- func (svc *Service) ListChangeCommits(ctx context.Context, ids ...change.ID) ([]*change.ChangeCommit, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( aclProvider *acl_provider.Provider, userRepo db_user.Repository, changeRepo db_change.Repository, commitChangeRepo db_change.CommitRepository, ) *Service
func (*Service) GetChangeByID ¶
func (*Service) GetChangeCommitByCommitIDAndCodebaseID ¶
func (*Service) GetChangeCommitOnTrunkByChangeID ¶
func (*Service) ListChangeCommits ¶
Click to show internal directories.
Click to hide internal directories.