Documentation ¶
Index ¶
- type PermissionService
- func (service PermissionService) CanAccessRetrospectiveFeedback(sprintID string, userID uint) bool
- func (service PermissionService) IsUserAdmin(userID uint) bool
- func (service PermissionService) UserCanAccessRetro(retroID string, userID uint) bool
- func (service PermissionService) UserCanAccessSprint(retroID string, sprintID string, userID uint) bool
- func (service PermissionService) UserCanAccessSprintTask(retroID string, sprintID string, sprintTaskID string, userID uint) bool
- func (service PermissionService) UserCanCreateOrEditRetro(teamID uint, userID uint) bool
- func (service PermissionService) UserCanEditSprint(retroID string, sprintID string, userID uint) bool
- func (service PermissionService) UserCanEditSprintTask(retroID string, sprintID string, sprintTaskID string, userID uint) bool
- type RetrospectiveFeedbackService
- func (service RetrospectiveFeedbackService) Add(userID uint, sprintID string, retroID string, ...) (*retrospectiveSerializers.RetrospectiveFeedback, int, error)
- func (service RetrospectiveFeedbackService) Delete(retroFeedbackID string) (int, error)
- func (service RetrospectiveFeedbackService) List(userID uint, sprintID string, retroID string, ...) (feedbackList *retrospectiveSerializers.RetrospectiveFeedbackListSerializer, ...)
- func (service RetrospectiveFeedbackService) ListGoal(userID uint, sprintID string, retroID string, goalType string) (feedbackList *retrospectiveSerializers.RetrospectiveFeedbackListSerializer, ...)
- func (service RetrospectiveFeedbackService) Resolve(userID uint, sprintID string, retroID string, feedbackID string, ...) (*retrospectiveSerializers.RetrospectiveFeedback, int, error)
- func (service RetrospectiveFeedbackService) Update(userID uint, retroID string, feedbackID string, ...) (*retrospectiveSerializers.RetrospectiveFeedback, int, error)
- type RetrospectiveService
- func (service RetrospectiveService) Create(userID uint, retrospectiveData *retroSerializers.RetrospectiveCreateSerializer) (*retroModels.Retrospective, int, error)
- func (service RetrospectiveService) Get(retroID string, isEagerLoading bool) (retro *retroSerializers.Retrospective, status int, err error)
- func (service RetrospectiveService) GetEditLevels() (*retroSerializers.RetroFieldsEditLevelMap, int, error)
- func (service RetrospectiveService) GetLatestSprint(retroID string, userID uint) (*retroSerializers.Sprint, int, error)
- func (service RetrospectiveService) GetTeamMembers(retrospectiveID string, userID uint, isAdmin bool) (members *userSerializers.MembersSerializer, status int, err error)
- func (service RetrospectiveService) List(userID uint, perPageString string, pageString string, isAdmin bool) (retrospectiveList *retroSerializers.RetrospectiveListSerializer, status int, ...)
- func (service RetrospectiveService) Update(userID uint, retrospectiveData *retroSerializers.RetrospectiveUpdateSerializer) (*retroModels.Retrospective, int, error)
- type SprintService
- func (service SprintService) ActivateSprint(sprintID string, retroID string) (int, error)
- func (service SprintService) AddSprintMember(sprintID string, memberID uint) (*retroSerializers.SprintMemberSummary, int, error)
- func (service SprintService) AssignPoints(sprintID string, sprintTaskID *string) (err error)
- func (service SprintService) Create(retroID string, userID uint, ...) (*retroSerializers.Sprint, int, error)
- func (service SprintService) DeleteSprint(sprintID string) (int, error)
- func (service SprintService) FreezeSprint(sprintID string, retroID string) (int, error)
- func (service SprintService) Get(sprintID string, userID uint, includeSprintSummary bool) (*retroSerializers.Sprint, int, error)
- func (service SprintService) GetSprintMemberList(sprintID string) (sprintMemberList *userSerializers.MembersSerializer, status int, err error)
- func (service SprintService) GetSprintMemberSanitizedTimeTrackerData(taskProviderConfig []byte, timeTrackerConfig []byte, sprint retroModels.Sprint) ([]string, []timeTrackerSerializers.TimeLog, error)
- func (service SprintService) GetSprintMemberTimeTrackerData(timeTrackerConfig []byte, sprint retroModels.Sprint) ([]string, []timeTrackerSerializers.TimeLog, error)
- func (service SprintService) GetSprintMembersSummary(sprintID string) (*retroSerializers.SprintMemberSummaryListSerializer, int, error)
- func (service SprintService) GetSprintSummary(sprintID string, retroID uint) (*retroSerializers.SprintSummary, int, error)
- func (service SprintService) GetSprintTaskSummary(sprintID string, retroID uint) (summary map[string]retroSerializers.SprintTaskSummary, status int, err error)
- func (service SprintService) GetSprintsList(retrospectiveID string, userID uint, perPage int, after string) (*retroSerializers.SprintsSerializer, int, error)
- func (service SprintService) GetTimeTrackerData(sprint retroModels.Sprint, taskProviderConfig []byte) ([]string, map[uint][]timeTrackerSerializers.TimeLog, error)
- func (service SprintService) QueueSprint(sprintID uint, assignPoints bool)
- func (service SprintService) QueueSprintMember(sprintID uint, sprintMemberID string)
- func (service SprintService) RemoveSprintMember(sprintID string, memberID string) (int, error)
- func (service SprintService) SetNotSynced(sprintID uint)
- func (service SprintService) SetSyncFailed(sprintID uint)
- func (service SprintService) SetSynced(sprintID uint)
- func (service SprintService) SetSyncing(sprintID uint)
- func (service SprintService) SyncSprintData(sprintID string) (err error)
- func (service SprintService) SyncSprintMemberData(sprintID uint, sprintMemberID string) (err error)
- func (service SprintService) UpdateSprint(sprintID string, userID uint, ...) (*retroSerializers.Sprint, int, error)
- func (service SprintService) UpdateSprintMember(sprintID string, sprintMemberID string, ...) (*retroSerializers.SprintMemberSummary, int, error)
- func (service SprintService) ValidateSprint(sprintID string, retroID string) (bool, error)
- type SprintTaskMemberService
- func (service SprintTaskMemberService) AddMember(sprintTaskID string, retroID string, sprintID string, memberID uint) (member *retroSerializers.TaskMember, status int, err error)
- func (service SprintTaskMemberService) GetMember(sprintMemberTask retroModels.SprintMemberTask, memberID uint, retroID string, ...) (member *retroSerializers.TaskMember, status int, err error)
- func (service SprintTaskMemberService) GetMembers(sprintTaskID string, retroID string, sprintID string) (members *retroSerializers.TaskMembersSerializer, status int, err error)
- func (service SprintTaskMemberService) UpdateTaskMember(sprintTaskID string, retroID string, sprintID string, smtID string, ...) (*retroSerializers.TaskMember, int, error)
- type SprintTaskService
- func (service SprintTaskService) AssignPointsToSprintTask(sprintTaskID string, sprintID string)
- func (service SprintTaskService) Delete(sprintTaskID string, retroID string, sprintID string) (int, error)
- func (service SprintTaskService) Get(sprintTaskID string, retroID string, sprintID string, userID uint) (*retroSerializers.SprintTask, int, error)
- func (service SprintTaskService) List(retroID string, sprintID string, userID uint) (taskList *retroSerializers.SprintTasksSerializer, status int, err error)
- func (service SprintTaskService) MarkDone(sprintTaskID string, retroID string, sprintID string, userID uint, ...) (task *retroSerializers.SprintTask, status int, err error)
- func (service SprintTaskService) MarkUndone(sprintTaskID string, retroID string, sprintID string, userID uint) (task *retroSerializers.SprintTask, status int, err error)
- func (service SprintTaskService) Update(sprintTaskID string, retroID string, sprintID string, ...) (*retroSerializers.SprintTask, int, error)
- type TrailService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionService ¶
PermissionService ...
func (PermissionService) CanAccessRetrospectiveFeedback ¶
func (service PermissionService) CanAccessRetrospectiveFeedback(sprintID string, userID uint) bool
CanAccessRetrospectiveFeedback ...
func (PermissionService) IsUserAdmin ¶
func (service PermissionService) IsUserAdmin(userID uint) bool
IsUserAdmin ...
func (PermissionService) UserCanAccessRetro ¶
func (service PermissionService) UserCanAccessRetro(retroID string, userID uint) bool
UserCanAccessRetro ...
func (PermissionService) UserCanAccessSprint ¶
func (service PermissionService) UserCanAccessSprint(retroID string, sprintID string, userID uint) bool
UserCanAccessSprint ...
func (PermissionService) UserCanAccessSprintTask ¶
func (service PermissionService) UserCanAccessSprintTask(retroID string, sprintID string, sprintTaskID string, userID uint) bool
UserCanAccessSprintTask ...
func (PermissionService) UserCanCreateOrEditRetro ¶
func (service PermissionService) UserCanCreateOrEditRetro(teamID uint, userID uint) bool
UserCanCreateOrEditRetro ...
func (PermissionService) UserCanEditSprint ¶
func (service PermissionService) UserCanEditSprint(retroID string, sprintID string, userID uint) bool
UserCanEditSprint ...
func (PermissionService) UserCanEditSprintTask ¶
func (service PermissionService) UserCanEditSprintTask(retroID string, sprintID string, sprintTaskID string, userID uint) bool
UserCanEditSprintTask ...
type RetrospectiveFeedbackService ¶
RetrospectiveFeedbackService ...
func (RetrospectiveFeedbackService) Add ¶
func (service RetrospectiveFeedbackService) Add(userID uint, sprintID string, retroID string, feedbackType models.RetrospectiveFeedbackType, feedbackData *retrospectiveSerializers.RetrospectiveFeedbackCreateSerializer) ( *retrospectiveSerializers.RetrospectiveFeedback, int, error)
Add ...
func (RetrospectiveFeedbackService) Delete ¶
func (service RetrospectiveFeedbackService) Delete(retroFeedbackID string) (int, error)
Delete ...
func (RetrospectiveFeedbackService) List ¶
func (service RetrospectiveFeedbackService) List(userID uint, sprintID string, retroID string, feedbackType models.RetrospectiveFeedbackType) ( feedbackList *retrospectiveSerializers.RetrospectiveFeedbackListSerializer, status int, err error)
List ...
func (RetrospectiveFeedbackService) ListGoal ¶
func (service RetrospectiveFeedbackService) ListGoal(userID uint, sprintID string, retroID string, goalType string) ( feedbackList *retrospectiveSerializers.RetrospectiveFeedbackListSerializer, status int, err error)
ListGoal ...
func (RetrospectiveFeedbackService) Resolve ¶
func (service RetrospectiveFeedbackService) Resolve(userID uint, sprintID string, retroID string, feedbackID string, markResolved bool) ( *retrospectiveSerializers.RetrospectiveFeedback, int, error)
Resolve ...
func (RetrospectiveFeedbackService) Update ¶
func (service RetrospectiveFeedbackService) Update(userID uint, retroID string, feedbackID string, feedbackData *retrospectiveSerializers.RetrospectiveFeedbackUpdateSerializer) ( *retrospectiveSerializers.RetrospectiveFeedback, int, error)
Update ...
type RetrospectiveService ¶
type RetrospectiveService struct { DB *gorm.DB TeamService userServices.TeamService }
RetrospectiveService ...
func (RetrospectiveService) Create ¶
func (service RetrospectiveService) Create(userID uint, retrospectiveData *retroSerializers.RetrospectiveCreateSerializer) (*retroModels.Retrospective, int, error)
Create the Retrospective with the given values (provided the user is a member of the retrospective's team.
func (RetrospectiveService) Get ¶
func (service RetrospectiveService) Get(retroID string, isEagerLoading bool) (retro *retroSerializers.Retrospective, status int, err error)
Get the details of the given Retrospective.
func (RetrospectiveService) GetEditLevels ¶
func (service RetrospectiveService) GetEditLevels() ( *retroSerializers.RetroFieldsEditLevelMap, int, error)
GetEditLevels ...
func (RetrospectiveService) GetLatestSprint ¶
func (service RetrospectiveService) GetLatestSprint(retroID string, userID uint) (*retroSerializers.Sprint, int, error)
GetLatestSprint returns the latest sprint for the retro
func (RetrospectiveService) GetTeamMembers ¶
func (service RetrospectiveService) GetTeamMembers(retrospectiveID string, userID uint, isAdmin bool) ( members *userSerializers.MembersSerializer, status int, err error)
GetTeamMembers ...
func (RetrospectiveService) List ¶
func (service RetrospectiveService) List(userID uint, perPageString string, pageString string, isAdmin bool) ( retrospectiveList *retroSerializers.RetrospectiveListSerializer, status int, err error)
List all the Retrospectives of all the teams, given user is a member of.
func (RetrospectiveService) Update ¶
func (service RetrospectiveService) Update(userID uint, retrospectiveData *retroSerializers.RetrospectiveUpdateSerializer) (*retroModels.Retrospective, int, error)
Update the Retrospective with the given values provided the user is a member of the retrospective's team.
type SprintService ¶
SprintService ...
func (SprintService) ActivateSprint ¶
func (service SprintService) ActivateSprint(sprintID string, retroID string) (int, error)
ActivateSprint activates the given sprint
func (SprintService) AddSprintMember ¶
func (service SprintService) AddSprintMember( sprintID string, memberID uint) (*retroSerializers.SprintMemberSummary, int, error)
AddSprintMember ...
func (SprintService) AssignPoints ¶
func (service SprintService) AssignPoints(sprintID string, sprintTaskID *string) (err error)
AssignPoints ...
func (SprintService) Create ¶
func (service SprintService) Create( retroID string, userID uint, sprintData retroSerializers.CreateSprintSerializer) (*retroSerializers.Sprint, int, error)
Create creates a new sprint for the retro
func (SprintService) DeleteSprint ¶
func (service SprintService) DeleteSprint(sprintID string) (int, error)
DeleteSprint deletes the given sprint
func (SprintService) FreezeSprint ¶
func (service SprintService) FreezeSprint(sprintID string, retroID string) (int, error)
FreezeSprint freezes the given sprint
func (SprintService) Get ¶
func (service SprintService) Get(sprintID string, userID uint, includeSprintSummary bool) (*retroSerializers.Sprint, int, error)
Get return details of the given sprint
func (SprintService) GetSprintMemberList ¶
func (service SprintService) GetSprintMemberList(sprintID string) (sprintMemberList *userSerializers.MembersSerializer, status int, err error)
GetSprintMemberList returns the sprint member list
func (SprintService) GetSprintMemberSanitizedTimeTrackerData ¶
func (service SprintService) GetSprintMemberSanitizedTimeTrackerData( taskProviderConfig []byte, timeTrackerConfig []byte, sprint retroModels.Sprint) ([]string, []timeTrackerSerializers.TimeLog, error)
GetSprintMemberSanitizedTimeTrackerData ...
func (SprintService) GetSprintMemberTimeTrackerData ¶
func (service SprintService) GetSprintMemberTimeTrackerData( timeTrackerConfig []byte, sprint retroModels.Sprint) ([]string, []timeTrackerSerializers.TimeLog, error)
GetSprintMemberTimeTrackerData ...
func (SprintService) GetSprintMembersSummary ¶
func (service SprintService) GetSprintMembersSummary( sprintID string) (*retroSerializers.SprintMemberSummaryListSerializer, int, error)
GetSprintMembersSummary returns the sprint member summary list
func (SprintService) GetSprintSummary ¶
func (service SprintService) GetSprintSummary( sprintID string, retroID uint) (*retroSerializers.SprintSummary, int, error)
GetSprintSummary ...
func (SprintService) GetSprintTaskSummary ¶
func (service SprintService) GetSprintTaskSummary( sprintID string, retroID uint) (summary map[string]retroSerializers.SprintTaskSummary, status int, err error)
GetSprintTaskSummary ...
func (SprintService) GetSprintsList ¶
func (service SprintService) GetSprintsList(retrospectiveID string, userID uint, perPage int, after string) (*retroSerializers.SprintsSerializer, int, error)
GetSprintsList ...
func (SprintService) GetTimeTrackerData ¶
func (service SprintService) GetTimeTrackerData(sprint retroModels.Sprint, taskProviderConfig []byte) ( []string, map[uint][]timeTrackerSerializers.TimeLog, error)
GetTimeTrackerData ...
func (SprintService) QueueSprint ¶
func (service SprintService) QueueSprint(sprintID uint, assignPoints bool)
QueueSprint ...
func (SprintService) QueueSprintMember ¶
func (service SprintService) QueueSprintMember(sprintID uint, sprintMemberID string)
QueueSprintMember ...
func (SprintService) RemoveSprintMember ¶
func (service SprintService) RemoveSprintMember(sprintID string, memberID string) (int, error)
RemoveSprintMember ...
func (SprintService) SetNotSynced ¶
func (service SprintService) SetNotSynced(sprintID uint)
SetNotSynced ...
func (SprintService) SetSyncFailed ¶
func (service SprintService) SetSyncFailed(sprintID uint)
SetSyncFailed ...
func (SprintService) SetSynced ¶
func (service SprintService) SetSynced(sprintID uint)
SetSynced ...
func (SprintService) SetSyncing ¶
func (service SprintService) SetSyncing(sprintID uint)
SetSyncing ...
func (SprintService) SyncSprintData ¶
func (service SprintService) SyncSprintData(sprintID string) (err error)
SyncSprintData ...
func (SprintService) SyncSprintMemberData ¶
func (service SprintService) SyncSprintMemberData(sprintID uint, sprintMemberID string) (err error)
SyncSprintMemberData ...
func (SprintService) UpdateSprint ¶
func (service SprintService) UpdateSprint( sprintID string, userID uint, sprintData retroSerializers.UpdateSprintSerializer) (*retroSerializers.Sprint, int, error)
UpdateSprint updates the given sprint
func (SprintService) UpdateSprintMember ¶
func (service SprintService) UpdateSprintMember(sprintID string, sprintMemberID string, memberData retroSerializers.SprintMemberUpdate) (*retroSerializers.SprintMemberSummary, int, error)
UpdateSprintMember update the sprint member summary
func (SprintService) ValidateSprint ¶
func (service SprintService) ValidateSprint(sprintID string, retroID string) (bool, error)
ValidateSprint validate the given sprint
type SprintTaskMemberService ¶
SprintTaskMemberService ...
func (SprintTaskMemberService) AddMember ¶
func (service SprintTaskMemberService) AddMember( sprintTaskID string, retroID string, sprintID string, memberID uint) (member *retroSerializers.TaskMember, status int, err error)
AddMember ...
func (SprintTaskMemberService) GetMember ¶
func (service SprintTaskMemberService) GetMember( sprintMemberTask retroModels.SprintMemberTask, memberID uint, retroID string, sprintID string) (member *retroSerializers.TaskMember, status int, err error)
GetMember returns the task member summary of a task for a particular sprint member
func (SprintTaskMemberService) GetMembers ¶
func (service SprintTaskMemberService) GetMembers( sprintTaskID string, retroID string, sprintID string) (members *retroSerializers.TaskMembersSerializer, status int, err error)
GetMembers ...
func (SprintTaskMemberService) UpdateTaskMember ¶
func (service SprintTaskMemberService) UpdateTaskMember( sprintTaskID string, retroID string, sprintID string, smtID string, taskMemberData *retroSerializers.SprintTaskMemberUpdate) (*retroSerializers.TaskMember, int, error)
UpdateTaskMember ...
type SprintTaskService ¶
SprintTaskService ...
func (SprintTaskService) AssignPointsToSprintTask ¶
func (service SprintTaskService) AssignPointsToSprintTask(sprintTaskID string, sprintID string)
AssignPointsToSprintTask ...
func (SprintTaskService) Delete ¶
func (service SprintTaskService) Delete(sprintTaskID string, retroID string, sprintID string) (int, error)
Delete ...
func (SprintTaskService) Get ¶
func (service SprintTaskService) Get( sprintTaskID string, retroID string, sprintID string, userID uint) (*retroSerializers.SprintTask, int, error)
Get ...
func (SprintTaskService) List ¶
func (service SprintTaskService) List( retroID string, sprintID string, userID uint) (taskList *retroSerializers.SprintTasksSerializer, status int, err error)
List ...
func (SprintTaskService) MarkDone ¶
func (service SprintTaskService) MarkDone( sprintTaskID string, retroID string, sprintID string, userID uint, data retroSerializers.SprintTaskDone) (task *retroSerializers.SprintTask, status int, err error)
MarkDone ...
func (SprintTaskService) MarkUndone ¶
func (service SprintTaskService) MarkUndone( sprintTaskID string, retroID string, sprintID string, userID uint) (task *retroSerializers.SprintTask, status int, err error)
MarkUndone ...
func (SprintTaskService) Update ¶
func (service SprintTaskService) Update(sprintTaskID string, retroID string, sprintID string, data retroSerializers.SprintTaskUpdate, userID uint) (*retroSerializers.SprintTask, int, error)
Update ...
type TrailService ¶
TrailService ...
func (TrailService) Add ¶
func (service TrailService) Add(action constants.ActionType, actionItem constants.ActionItemType, actionItemID string, actionByID uint)
Add ...
func (TrailService) GetTrails ¶
func (service TrailService) GetTrails(sprintID uint, retroID string) (trails *trailSerializer.TrailSerializer, status int, err error)
GetTrails method to get history of trails for a particular sprint