Versions in this module Expand all Collapse all v0 v0.0.3 Jun 13, 2017 v0.0.2 Jun 13, 2017 Changes in this version + const APIStringTypeCodebase + const APIStringTypeSpace + const APIStringTypeUser + const APIStringTypeWorkItem + const APIStringTypeWorkItemType + const APIStringTypeWorkspace + const RenderedValue + const RenderingType + var BuildTime = "0" + var Commit = "0" + var Permissions = PermissionDefinition + var StartTime = time.Now().UTC().Format("2006-01-02T15:04:05Z") + func CommentIncludeParent(request *goa.RequestData, comment *comment.Comment, data *app.Comment, ...) + func ConvertArea(appl application.Application, request *goa.RequestData, ar area.Area, ...) *app.Area + func ConvertAreaSimple(request *goa.RequestData, id interface{}) *app.GenericData + func ConvertAreas(appl application.Application, request *goa.RequestData, areas []area.Area, ...) []*app.Area + func ConvertCodebase(request *goa.RequestData, codebase *codebase.Codebase, ...) *app.Codebase + func ConvertCodebases(request *goa.RequestData, codebases []*codebase.Codebase, ...) []*app.Codebase + func ConvertComment(request *goa.RequestData, comment comment.Comment, ...) *app.Comment + func ConvertCommentResourceID(request *goa.RequestData, comment comment.Comment, ...) *app.Comment + func ConvertComments(request *goa.RequestData, comments []comment.Comment, ...) []*app.Comment + func ConvertCommentsResourceID(request *goa.RequestData, comments []comment.Comment, ...) []*app.Comment + func ConvertFieldDefinitionsToModel(fields map[string]app.FieldDefinition) (map[string]workitem.FieldDefinition, error) + func ConvertIteration(request *goa.RequestData, itr iteration.Iteration, ...) *app.Iteration + func ConvertIterationSimple(request *goa.RequestData, id interface{}) *app.GenericData + func ConvertIterations(request *goa.RequestData, Iterations []iteration.Iteration, ...) []*app.Iteration + func ConvertJSONAPIToWorkItem(ctx context.Context, appl application.Application, source app.WorkItem, ...) error + func ConvertLinkFromModel(t link.WorkItemLink) app.WorkItemLinkSingle + func ConvertLinkToModel(appLink app.WorkItemLinkSingle) (*link.WorkItemLink, error) + func ConvertLinkTypesFromModels(request *goa.RequestData, modelLinkTypes []link.WorkItemLinkType) (*app.WorkItemLinkTypeList, error) + func ConvertSpaceFromModel(ctx context.Context, db application.DB, request *goa.RequestData, ...) (*app.Space, error) + func ConvertSpaceToModel(appSpace app.Space) space.Space + func ConvertSpacesFromModel(ctx context.Context, db application.DB, request *goa.RequestData, ...) ([]*app.Space, error) + func ConvertToAppUser(request *goa.RequestData, user *account.User, identity *account.Identity) *app.User + func ConvertUserSimple(request *goa.RequestData, identityID interface{}) *app.GenericData + func ConvertUsersSimple(request *goa.RequestData, identityIDs []interface{}) []*app.GenericData + func ConvertWorkItem(request *goa.RequestData, wi workitem.WorkItem, ...) *app.WorkItem + func ConvertWorkItemLinkTypeFromModel(request *goa.RequestData, modelLinkType link.WorkItemLinkType) app.WorkItemLinkTypeSingle + func ConvertWorkItemLinkTypeToModel(appLinkType app.WorkItemLinkTypeSingle) (*link.WorkItemLinkType, error) + func ConvertWorkItemTypeFromModel(request *goa.RequestData, t *workitem.WorkItemType) app.WorkItemTypeData + func ConvertWorkItems(request *goa.RequestData, wis []workitem.WorkItem, ...) []*app.WorkItem + func CreateCommentsRelation(request *goa.RequestData, wi *workitem.WorkItem) *app.RelationGeneric + func CreateCommentsRelationLinks(request *goa.RequestData, wi *workitem.WorkItem) *app.GenericLinks + func GenerateUserToken(ctx context.Context, tokenEndpoint string, configuration loginConfiguration, ...) (*app.AuthToken, error) + func GetAccessTokens(configuration trackerConfiguration) map[string]string + func LoadKeyCloakIdentities(appl application.Application, users []account.User) ([]account.User, []account.Identity, error) + type AreaController struct + func NewAreaController(service *goa.Service, db application.DB, config AreaControllerConfiguration) *AreaController + func (c *AreaController) CreateChild(ctx *app.CreateChildAreaContext) error + func (c *AreaController) Show(ctx *app.ShowAreaContext) error + func (c *AreaController) ShowChildren(ctx *app.ShowChildrenAreaContext) error + type AreaControllerConfiguration interface + GetCacheControlAreas func() string + type AreaConvertFunc func(application.Application, *goa.RequestData, *area.Area, *app.Area) error + type CodebaseController struct + func NewCodebaseController(service *goa.Service, db application.DB, config codebaseConfiguration) *CodebaseController + func (c *CodebaseController) Create(ctx *app.CreateCodebaseContext) error + func (c *CodebaseController) Edit(ctx *app.EditCodebaseContext) error + func (c *CodebaseController) Open(ctx *app.OpenCodebaseContext) error + func (c *CodebaseController) Show(ctx *app.ShowCodebaseContext) error + type CodebaseConvertFunc func(*goa.RequestData, *codebase.Codebase, *app.Codebase) + type CollaboratorsController struct + func NewCollaboratorsController(service *goa.Service, db application.DB, config collaboratorsConfiguration, ...) *CollaboratorsController + func (c *CollaboratorsController) Add(ctx *app.AddCollaboratorsContext) error + func (c *CollaboratorsController) AddMany(ctx *app.AddManyCollaboratorsContext) error + func (c *CollaboratorsController) List(ctx *app.ListCollaboratorsContext) error + func (c *CollaboratorsController) Remove(ctx *app.RemoveCollaboratorsContext) error + func (c *CollaboratorsController) RemoveMany(ctx *app.RemoveManyCollaboratorsContext) error + type CommentConvertFunc func(*goa.RequestData, *comment.Comment, *app.Comment) + func CommentIncludeParentWorkItem(ctx context.Context, appl application.Application, c *comment.Comment) (CommentConvertFunc, error) + type CommentsController struct + func NewCommentsController(service *goa.Service, db application.DB, ...) *CommentsController + func (c *CommentsController) Delete(ctx *app.DeleteCommentsContext) error + func (c *CommentsController) Show(ctx *app.ShowCommentsContext) error + func (c *CommentsController) Update(ctx *app.UpdateCommentsContext) error + type CommentsControllerConfiguration interface + GetCacheControlComments func() string + type Data struct + Data workitem.Fields + ID uuid.UUID + Path string + func (w Data) TableName() string + type FilterController struct + func NewFilterController(service *goa.Service, config FilterControllerConfiguration) *FilterController + func (c *FilterController) List(ctx *app.ListFilterContext) error + type FilterControllerConfiguration interface + GetCacheControlFilters func() string + type FilterEtagData struct + Query string + Type string + func (f FilterEtagData) GetETagData() []interface{} + func (f FilterEtagData) GetLastModified() time.Time + type HrefFunc func(id interface{}) string + type IterationController struct + func NewIterationController(service *goa.Service, db application.DB, ...) *IterationController + func (c *IterationController) CreateChild(ctx *app.CreateChildIterationContext) error + func (c *IterationController) Show(ctx *app.ShowIterationContext) error + func (c *IterationController) Update(ctx *app.UpdateIterationContext) error + type IterationControllerConfiguration interface + GetCacheControlIterations func() string + type IterationConvertFunc func(*goa.RequestData, *iteration.Iteration, *app.Iteration) + type LoginController struct + func NewLoginController(service *goa.Service, auth *login.KeycloakOAuthProvider, ...) *LoginController + func (c *LoginController) Authorize(ctx *app.AuthorizeLoginContext) error + func (c *LoginController) Generate(ctx *app.GenerateLoginContext) error + func (c *LoginController) Link(ctx *app.LinkLoginContext) error + func (c *LoginController) Linkcallback(ctx *app.LinkcallbackLoginContext) error + func (c *LoginController) Linksession(ctx *app.LinksessionLoginContext) error + func (c *LoginController) Refresh(ctx *app.RefreshLoginContext) error + type LogoutController struct + func NewLogoutController(service *goa.Service, logoutService *login.KeycloakLogoutService, ...) *LogoutController + func (c *LogoutController) Logout(ctx *app.LogoutLogoutContext) error + type NamedspacesController struct + func NewNamedspacesController(service *goa.Service, db application.DB) *NamedspacesController + func (c *NamedspacesController) List(ctx *app.ListNamedspacesContext) error + func (c *NamedspacesController) Show(ctx *app.ShowNamedspacesContext) error + type PermissionDefinition struct + CreateWorkItem string + DeleteWorkItem string + ReadWorkItem string + UpdateWorkItem string + func (p *PermissionDefinition) CRUDWorkItem() []string + type PlannerBacklogController struct + func NewPlannerBacklogController(service *goa.Service, db application.DB, config PlannerBacklogControllerConfig) *PlannerBacklogController + func (c *PlannerBacklogController) List(ctx *app.ListPlannerBacklogContext) error + type PlannerBacklogControllerConfig interface + GetCacheControlWorkItems func() string + type RedirectWorkItemLinkTypeController struct + func NewRedirectWorkItemLinkTypeController(service *goa.Service) *RedirectWorkItemLinkTypeController + func (c *RedirectWorkItemLinkTypeController) Create(ctx *app.CreateRedirectWorkItemLinkTypeContext) error + func (c *RedirectWorkItemLinkTypeController) Delete(ctx *app.DeleteRedirectWorkItemLinkTypeContext) error + func (c *RedirectWorkItemLinkTypeController) List(ctx *app.ListRedirectWorkItemLinkTypeContext) error + func (c *RedirectWorkItemLinkTypeController) Show(ctx *app.ShowRedirectWorkItemLinkTypeContext) error + func (c *RedirectWorkItemLinkTypeController) Update(ctx *app.UpdateRedirectWorkItemLinkTypeContext) error + type RedirectWorkitemController struct + func NewRedirectWorkitemController(service *goa.Service) *RedirectWorkitemController + func (c *RedirectWorkitemController) Create(ctx *app.CreateRedirectWorkitemContext) error + func (c *RedirectWorkitemController) Delete(ctx *app.DeleteRedirectWorkitemContext) error + func (c *RedirectWorkitemController) List(ctx *app.ListRedirectWorkitemContext) error + func (c *RedirectWorkitemController) Reorder(ctx *app.ReorderRedirectWorkitemContext) error + func (c *RedirectWorkitemController) Show(ctx *app.ShowRedirectWorkitemContext) error + func (c *RedirectWorkitemController) Update(ctx *app.UpdateRedirectWorkitemContext) error + type RedirectWorkitemtypeController struct + func NewRedirectWorkitemtypeController(service *goa.Service) *RedirectWorkitemtypeController + func (c *RedirectWorkitemtypeController) Create(ctx *app.CreateRedirectWorkitemtypeContext) error + func (c *RedirectWorkitemtypeController) List(ctx *app.ListRedirectWorkitemtypeContext) error + func (c *RedirectWorkitemtypeController) ListSourceLinkTypes(ctx *app.ListSourceLinkTypesRedirectWorkitemtypeContext) error + func (c *RedirectWorkitemtypeController) ListTargetLinkTypes(ctx *app.ListTargetLinkTypesRedirectWorkitemtypeContext) error + func (c *RedirectWorkitemtypeController) Show(ctx *app.ShowRedirectWorkitemtypeContext) error + type RenderController struct + func NewRenderController(service *goa.Service) *RenderController + func (c *RenderController) Render(ctx *app.RenderRenderContext) error + type SearchController struct + func NewSearchController(service *goa.Service, db application.DB, configuration searchConfiguration) *SearchController + func (c *SearchController) Show(ctx *app.ShowSearchContext) error + func (c *SearchController) Spaces(ctx *app.SpacesSearchContext) error + func (c *SearchController) Users(ctx *app.UsersSearchContext) error + type SpaceAreasController struct + func NewSpaceAreasController(service *goa.Service, db application.DB, config SpaceAreasControllerConfig) *SpaceAreasController + func (c *SpaceAreasController) List(ctx *app.ListSpaceAreasContext) error + type SpaceAreasControllerConfig interface + GetCacheControlAreas func() string + type SpaceCodebasesController struct + func NewSpaceCodebasesController(service *goa.Service, db application.DB) *SpaceCodebasesController + func (c *SpaceCodebasesController) Create(ctx *app.CreateSpaceCodebasesContext) error + func (c *SpaceCodebasesController) List(ctx *app.ListSpaceCodebasesContext) error + type SpaceConfiguration interface + GetCacheControlSpaces func() string + GetKeycloakClientID func() string + GetKeycloakEndpointAdmin func(*goa.RequestData) (string, error) + GetKeycloakEndpointAuthzResourceset func(*goa.RequestData) (string, error) + GetKeycloakEndpointClients func(*goa.RequestData) (string, error) + GetKeycloakEndpointToken func(*goa.RequestData) (string, error) + GetKeycloakSecret func() string + type SpaceController struct + func NewSpaceController(service *goa.Service, db application.DB, config SpaceConfiguration, ...) *SpaceController + func (c *SpaceController) Create(ctx *app.CreateSpaceContext) error + func (c *SpaceController) Delete(ctx *app.DeleteSpaceContext) error + func (c *SpaceController) List(ctx *app.ListSpaceContext) error + func (c *SpaceController) Show(ctx *app.ShowSpaceContext) error + func (c *SpaceController) Update(ctx *app.UpdateSpaceContext) error + type SpaceConvertFunc func(*goa.RequestData, *space.Space, *app.Space) + type SpaceIterationsController struct + func NewSpaceIterationsController(service *goa.Service, db application.DB, ...) *SpaceIterationsController + func (c *SpaceIterationsController) Create(ctx *app.CreateSpaceIterationsContext) error + func (c *SpaceIterationsController) List(ctx *app.ListSpaceIterationsContext) error + type SpaceIterationsControllerConfiguration interface + GetCacheControlIterations func() string + type StatusController struct + func NewStatusController(service *goa.Service, db *gorm.DB) *StatusController + func (c *StatusController) Show(ctx *app.ShowStatusContext) error + type TrackerController struct + func NewTrackerController(service *goa.Service, db application.DB, scheduler *remoteworkitem.Scheduler, ...) *TrackerController + func (c *TrackerController) Create(ctx *app.CreateTrackerContext) error + func (c *TrackerController) Delete(ctx *app.DeleteTrackerContext) error + func (c *TrackerController) List(ctx *app.ListTrackerContext) error + func (c *TrackerController) Show(ctx *app.ShowTrackerContext) error + func (c *TrackerController) Update(ctx *app.UpdateTrackerContext) error + type TrackerqueryController struct + func NewTrackerqueryController(service *goa.Service, db application.DB, scheduler *remoteworkitem.Scheduler, ...) *TrackerqueryController + func (c *TrackerqueryController) Create(ctx *app.CreateTrackerqueryContext) error + func (c *TrackerqueryController) Delete(ctx *app.DeleteTrackerqueryContext) error + func (c *TrackerqueryController) List(ctx *app.ListTrackerqueryContext) error + func (c *TrackerqueryController) Show(ctx *app.ShowTrackerqueryContext) error + func (c *TrackerqueryController) Update(ctx *app.UpdateTrackerqueryContext) error + type UserController struct + InitTenant func(context.Context) error + func NewUserController(service *goa.Service, db application.DB, tokenManager token.Manager, ...) *UserController + func (c *UserController) Show(ctx *app.ShowUserContext) error + type UserControllerConfiguration interface + GetCacheControlUser func() string + type UserServiceController struct + UpdateTenant func(context.Context) error + func NewUserServiceController(service *goa.Service) *UserServiceController + func (c *UserServiceController) Update(ctx *app.UpdateUserServiceContext) error + type UsersController struct + func NewUsersController(service *goa.Service, db application.DB, config UsersControllerConfiguration, ...) *UsersController + func (c *UsersController) List(ctx *app.ListUsersContext) error + func (c *UsersController) Show(ctx *app.ShowUsersContext) error + func (c *UsersController) Update(ctx *app.UpdateUsersContext) error + type UsersControllerConfiguration interface + GetCacheControlUsers func() string + GetKeycloakAccountEndpoint func(*goa.RequestData) (string, error) + type UserspaceController struct + func NewUserspaceController(service *goa.Service, db *gorm.DB) *UserspaceController + func (c *UserspaceController) Create(ctx *app.CreateUserspaceContext) error + func (c *UserspaceController) Show(ctx *app.ShowUserspaceContext) error + type WorkItemCommentsController struct + func NewWorkItemCommentsController(service *goa.Service, db application.DB, ...) *WorkItemCommentsController + func (c *WorkItemCommentsController) Create(ctx *app.CreateWorkItemCommentsContext) error + func (c *WorkItemCommentsController) List(ctx *app.ListWorkItemCommentsContext) error + func (c *WorkItemCommentsController) Relations(ctx *app.RelationsWorkItemCommentsContext) error + type WorkItemCommentsControllerConfiguration interface + GetCacheControlComments func() string + type WorkItemControllerConfig interface + GetCacheControlWorkItems func() string + type WorkItemControllerConfiguration interface + GetCacheControlWorkItemTypes func() string + type WorkItemConvertFunc func(*goa.RequestData, *workitem.WorkItem, *app.WorkItem) + type WorkItemLinkCategoryController struct + func NewWorkItemLinkCategoryController(service *goa.Service, db application.DB) *WorkItemLinkCategoryController + func (c *WorkItemLinkCategoryController) Create(ctx *app.CreateWorkItemLinkCategoryContext) error + func (c *WorkItemLinkCategoryController) Delete(ctx *app.DeleteWorkItemLinkCategoryContext) error + func (c *WorkItemLinkCategoryController) List(ctx *app.ListWorkItemLinkCategoryContext) error + func (c *WorkItemLinkCategoryController) Show(ctx *app.ShowWorkItemLinkCategoryContext) error + func (c *WorkItemLinkCategoryController) Update(ctx *app.UpdateWorkItemLinkCategoryContext) error + type WorkItemLinkController struct + func NewWorkItemLinkController(service *goa.Service, db application.DB, config WorkItemLinkControllerConfig) *WorkItemLinkController + func (c *WorkItemLinkController) Create(ctx *app.CreateWorkItemLinkContext) error + func (c *WorkItemLinkController) Delete(ctx *app.DeleteWorkItemLinkContext) error + func (c *WorkItemLinkController) List(ctx *app.ListWorkItemLinkContext) error + func (c *WorkItemLinkController) Show(ctx *app.ShowWorkItemLinkContext) error + func (c *WorkItemLinkController) Update(ctx *app.UpdateWorkItemLinkContext) error + type WorkItemLinkControllerConfig interface + GetCacheControlWorkItemLinks func() string + type WorkItemLinkTypeController struct + func NewWorkItemLinkTypeController(service *goa.Service, db application.DB, ...) *WorkItemLinkTypeController + func (c *WorkItemLinkTypeController) Create(ctx *app.CreateWorkItemLinkTypeContext) error + func (c *WorkItemLinkTypeController) Delete(ctx *app.DeleteWorkItemLinkTypeContext) error + func (c *WorkItemLinkTypeController) List(ctx *app.ListWorkItemLinkTypeContext) error + func (c *WorkItemLinkTypeController) Show(ctx *app.ShowWorkItemLinkTypeContext) error + func (c *WorkItemLinkTypeController) Update(ctx *app.UpdateWorkItemLinkTypeContext) error + type WorkItemLinkTypeControllerConfiguration interface + GetCacheControlWorkItemLinkTypes func() string + type WorkItemRelationshipsLinksController struct + func NewWorkItemRelationshipsLinksController(service *goa.Service, db application.DB, ...) *WorkItemRelationshipsLinksController + func (c *WorkItemRelationshipsLinksController) Create(ctx *app.CreateWorkItemRelationshipsLinksContext) error + func (c *WorkItemRelationshipsLinksController) List(ctx *app.ListWorkItemRelationshipsLinksContext) error + type WorkItemRelationshipsLinksControllerConfig interface + GetCacheControlWorkItemLinks func() string + type WorkitemController struct + func NewWorkitemController(service *goa.Service, db application.DB, config WorkItemControllerConfig) *WorkitemController + func (c *WorkitemController) Create(ctx *app.CreateWorkitemContext) error + func (c *WorkitemController) Delete(ctx *app.DeleteWorkitemContext) error + func (c *WorkitemController) List(ctx *app.ListWorkitemContext) error + func (c *WorkitemController) ListChildren(ctx *app.ListChildrenWorkitemContext) error + func (c *WorkitemController) Reorder(ctx *app.ReorderWorkitemContext) error + func (c *WorkitemController) Show(ctx *app.ShowWorkitemContext) error + func (c *WorkitemController) Update(ctx *app.UpdateWorkitemContext) error + type WorkitemtypeController struct + func NewWorkitemtypeController(service *goa.Service, db application.DB, ...) *WorkitemtypeController + func (c *WorkitemtypeController) Create(ctx *app.CreateWorkitemtypeContext) error + func (c *WorkitemtypeController) List(ctx *app.ListWorkitemtypeContext) error + func (c *WorkitemtypeController) ListSourceLinkTypes(ctx *app.ListSourceLinkTypesWorkitemtypeContext) error + func (c *WorkitemtypeController) ListTargetLinkTypes(ctx *app.ListTargetLinkTypesWorkitemtypeContext) error + func (c *WorkitemtypeController) Show(ctx *app.ShowWorkitemtypeContext) error