Documentation ¶
Index ¶
- Constants
- Variables
- 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
- type AreaControllerConfiguration
- type AreaConvertFunc
- type CodebaseController
- type CodebaseConvertFunc
- type 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
- type CommentsController
- type CommentsControllerConfiguration
- type Data
- type FilterController
- type FilterControllerConfiguration
- type FilterEtagData
- type HrefFunc
- type IterationController
- type IterationControllerConfiguration
- type IterationConvertFunc
- type 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
- type NamedspacesController
- type PermissionDefinition
- type PlannerBacklogController
- type PlannerBacklogControllerConfig
- type 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
- 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
- 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
- type SearchController
- type SpaceAreasController
- type SpaceAreasControllerConfig
- type SpaceCodebasesController
- type SpaceConfiguration
- type 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
- type SpaceIterationsController
- type SpaceIterationsControllerConfiguration
- type StatusController
- type 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
- 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
- type UserControllerConfiguration
- type UserServiceController
- type UsersController
- type UsersControllerConfiguration
- type UserspaceController
- type WorkItemCommentsController
- type WorkItemCommentsControllerConfiguration
- type WorkItemControllerConfig
- type WorkItemControllerConfiguration
- type WorkItemConvertFunc
- type 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
- 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
- type 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
- type WorkItemRelationshipsLinksController
- type WorkItemRelationshipsLinksControllerConfig
- type 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
- 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
Constants ¶
const ( // APIStringTypeCodebase contains the JSON API type for codebases APIStringTypeCodebase = "codebases" // APIStringTypeWorkspace contains the JSON API type for worksapces APIStringTypeWorkspace = "workspaces" )
const ( RenderingType = "rendering" RenderedValue = "value" )
const ( APIStringTypeUser = "identities" APIStringTypeWorkItem = "workitems" APIStringTypeWorkItemType = "workitemtypes" )
Defines the constants to be used in json api "type" attribute
const (
// APIStringTypeCodebase contains the JSON API type for codebases
APIStringTypeSpace = "spaces"
)
Variables ¶
var ( // Commit current build commit set by build script Commit = "0" // BuildTime set by build script in ISO 8601 (UTC) format: YYYY-MM-DDThh:mm:ssTZD (see https://www.w3.org/TR/NOTE-datetime for details) BuildTime = "0" // StartTime in ISO 8601 (UTC) format StartTime = time.Now().UTC().Format("2006-01-02T15:04:05Z") )
var ( // Permissions defines the value of each Permission Permissions = PermissionDefinition{ CreateWorkItem: "create.workitem", ReadWorkItem: "read.workitem", UpdateWorkItem: "update.workitem", DeleteWorkItem: "delete.workitem", } )
Functions ¶
func CommentIncludeParent ¶
func CommentIncludeParent(request *goa.RequestData, comment *comment.Comment, data *app.Comment, ref HrefFunc, parentType string)
CommentIncludeParent adds the "parent" relationship to this Comment
func ConvertArea ¶
func ConvertArea(appl application.Application, request *goa.RequestData, ar area.Area, additional ...AreaConvertFunc) *app.Area
ConvertArea converts between internal and external REST representation
func ConvertAreaSimple ¶
func ConvertAreaSimple(request *goa.RequestData, id interface{}) *app.GenericData
ConvertAreaSimple converts a simple area ID into a Generic Reletionship
func ConvertAreas ¶
func ConvertAreas(appl application.Application, request *goa.RequestData, areas []area.Area, additional ...AreaConvertFunc) []*app.Area
ConvertAreas converts between internal and external REST representation
func ConvertCodebase ¶
func ConvertCodebase(request *goa.RequestData, codebase *codebase.Codebase, additional ...CodebaseConvertFunc) *app.Codebase
ConvertCodebase converts between internal and external REST representation
func ConvertCodebases ¶
func ConvertCodebases(request *goa.RequestData, codebases []*codebase.Codebase, additional ...CodebaseConvertFunc) []*app.Codebase
ConvertCodebases converts between internal and external REST representation
func ConvertComment ¶
func ConvertComment(request *goa.RequestData, comment comment.Comment, additional ...CommentConvertFunc) *app.Comment
ConvertComment converts between internal and external REST representation
func ConvertCommentResourceID ¶
func ConvertCommentResourceID(request *goa.RequestData, comment comment.Comment, additional ...CommentConvertFunc) *app.Comment
ConvertCommentResourceID converts between internal and external REST representation, ResourceIdentificationObject only
func ConvertComments ¶
func ConvertComments(request *goa.RequestData, comments []comment.Comment, additional ...CommentConvertFunc) []*app.Comment
ConvertComments converts between internal and external REST representation
func ConvertCommentsResourceID ¶
func ConvertCommentsResourceID(request *goa.RequestData, comments []comment.Comment, additional ...CommentConvertFunc) []*app.Comment
ConvertCommentsResourceID converts between internal and external REST representation, ResourceIdentificationObject only
func ConvertFieldDefinitionsToModel ¶
func ConvertFieldDefinitionsToModel(fields map[string]app.FieldDefinition) (map[string]workitem.FieldDefinition, error)
func ConvertIteration ¶
func ConvertIteration(request *goa.RequestData, itr iteration.Iteration, additional ...IterationConvertFunc) *app.Iteration
ConvertIteration converts between internal and external REST representation
func ConvertIterationSimple ¶
func ConvertIterationSimple(request *goa.RequestData, id interface{}) *app.GenericData
ConvertIterationSimple converts a simple Iteration ID into a Generic Reletionship
func ConvertIterations ¶
func ConvertIterations(request *goa.RequestData, Iterations []iteration.Iteration, additional ...IterationConvertFunc) []*app.Iteration
ConvertIterations converts between internal and external REST representation
func ConvertJSONAPIToWorkItem ¶
func ConvertJSONAPIToWorkItem(ctx context.Context, appl application.Application, source app.WorkItem, target *workitem.WorkItem, spaceID uuid.UUID) error
ConvertJSONAPIToWorkItem is responsible for converting given WorkItem model object into a response resource object by jsonapi.org specifications
func ConvertLinkFromModel ¶
func ConvertLinkFromModel(t link.WorkItemLink) app.WorkItemLinkSingle
ConvertLinkFromModel converts a work item from model to REST representation
func ConvertLinkToModel ¶
func ConvertLinkToModel(appLink app.WorkItemLinkSingle) (*link.WorkItemLink, error)
ConvertLinkToModel converts the incoming app representation of a work item link to the model layout. Values are only overwrriten if they are set in "in", otherwise the values in "out" remain. NOTE: Only the LinkTypeID, SourceID, and TargetID fields will be set.
You need to preload the elements after calling this function.
func ConvertLinkTypesFromModels ¶
func ConvertLinkTypesFromModels(request *goa.RequestData, modelLinkTypes []link.WorkItemLinkType) (*app.WorkItemLinkTypeList, error)
func ConvertSpaceFromModel ¶
func ConvertSpaceFromModel(ctx context.Context, db application.DB, request *goa.RequestData, sp space.Space, additional ...SpaceConvertFunc) (*app.Space, error)
ConvertSpaceFromModel converts between internal and external REST representation
func ConvertSpaceToModel ¶
ConvertSpaceToModel converts an `app.Space` to a `space.Space`
func ConvertSpacesFromModel ¶
func ConvertSpacesFromModel(ctx context.Context, db application.DB, request *goa.RequestData, spaces []space.Space, additional ...SpaceConvertFunc) ([]*app.Space, error)
ConvertSpacesFromModel converts between internal and external REST representation
func ConvertToAppUser ¶
func ConvertToAppUser(request *goa.RequestData, user *account.User, identity *account.Identity) *app.User
ConvertToAppUser converts a complete Identity object into REST representation
func ConvertUserSimple ¶
func ConvertUserSimple(request *goa.RequestData, identityID interface{}) *app.GenericData
ConvertUserSimple converts a simple Identity ID into a Generic Reletionship
func ConvertUsersSimple ¶
func ConvertUsersSimple(request *goa.RequestData, identityIDs []interface{}) []*app.GenericData
ConvertUsersSimple converts a array of simple Identity IDs into a Generic Reletionship List
func ConvertWorkItem ¶
func ConvertWorkItem(request *goa.RequestData, wi workitem.WorkItem, additional ...WorkItemConvertFunc) *app.WorkItem
ConvertWorkItem is responsible for converting given WorkItem model object into a response resource object by jsonapi.org specifications
func ConvertWorkItemLinkTypeFromModel ¶
func ConvertWorkItemLinkTypeFromModel(request *goa.RequestData, modelLinkType link.WorkItemLinkType) app.WorkItemLinkTypeSingle
ConvertWorkItemLinkTypeFromModel converts a work item link type from model to REST representation
func ConvertWorkItemLinkTypeToModel ¶
func ConvertWorkItemLinkTypeToModel(appLinkType app.WorkItemLinkTypeSingle) (*link.WorkItemLinkType, error)
ConvertWorkItemLinkTypeToModel converts the incoming app representation of a work item link type to the model layout. Values are only overwrriten if they are set in "in", otherwise the values in "out" remain.
func ConvertWorkItemTypeFromModel ¶
func ConvertWorkItemTypeFromModel(request *goa.RequestData, t *workitem.WorkItemType) app.WorkItemTypeData
converts from models to app representation
func ConvertWorkItems ¶
func ConvertWorkItems(request *goa.RequestData, wis []workitem.WorkItem, additional ...WorkItemConvertFunc) []*app.WorkItem
ConvertWorkItems is responsible for converting given []WorkItem model object into a response resource object by jsonapi.org specifications
func CreateCommentsRelation ¶
func CreateCommentsRelation(request *goa.RequestData, wi *workitem.WorkItem) *app.RelationGeneric
CreateCommentsRelation returns a RelationGeneric object representing the relation for a workitem to comment relation
func CreateCommentsRelationLinks ¶
func CreateCommentsRelationLinks(request *goa.RequestData, wi *workitem.WorkItem) *app.GenericLinks
CreateCommentsRelationLinks returns a RelationGeneric object representing the links for a workitem to comment relation
func GenerateUserToken ¶
func GenerateUserToken(ctx context.Context, tokenEndpoint string, configuration loginConfiguration, username string, userSecret string) (*app.AuthToken, error)
GenerateUserToken obtains the access token from Keycloak for the user
func GetAccessTokens ¶
func LoadKeyCloakIdentities ¶
func LoadKeyCloakIdentities(appl application.Application, users []account.User) ([]account.User, []account.Identity, error)
LoadKeyCloakIdentities loads keycloak identities for the users and returns the valid users along with their KC identities (if a user is missing his/her KC identity, he/she is filtered out of the result array)
Types ¶
type AreaController ¶
type AreaController struct { *goa.Controller // contains filtered or unexported fields }
AreaController implements the area resource.
func NewAreaController ¶
func NewAreaController(service *goa.Service, db application.DB, config AreaControllerConfiguration) *AreaController
NewAreaController creates a area controller.
func (*AreaController) CreateChild ¶
func (c *AreaController) CreateChild(ctx *app.CreateChildAreaContext) error
CreateChild runs the create-child action.
func (*AreaController) Show ¶
func (c *AreaController) Show(ctx *app.ShowAreaContext) error
Show runs the show action.
func (*AreaController) ShowChildren ¶
func (c *AreaController) ShowChildren(ctx *app.ShowChildrenAreaContext) error
ShowChildren runs the show-children action
type AreaControllerConfiguration ¶
type AreaControllerConfiguration interface {
GetCacheControlAreas() string
}
AreaControllerConfiguration the configuration for the AreaController
type AreaConvertFunc ¶
type AreaConvertFunc func(application.Application, *goa.RequestData, *area.Area, *app.Area) error
AreaConvertFunc is a open ended function to add additional links/data/relations to a area during convertion from internal to API
type CodebaseController ¶
type CodebaseController struct { *goa.Controller // contains filtered or unexported fields }
CodebaseController implements the codebase resource.
func NewCodebaseController ¶
func NewCodebaseController(service *goa.Service, db application.DB, config codebaseConfiguration) *CodebaseController
NewCodebaseController creates a codebase controller.
func (*CodebaseController) Create ¶
func (c *CodebaseController) Create(ctx *app.CreateCodebaseContext) error
Create runs the create action.
func (*CodebaseController) Edit ¶
func (c *CodebaseController) Edit(ctx *app.EditCodebaseContext) error
Edit runs the edit action.
func (*CodebaseController) Open ¶
func (c *CodebaseController) Open(ctx *app.OpenCodebaseContext) error
Open runs the open action.
func (*CodebaseController) Show ¶
func (c *CodebaseController) Show(ctx *app.ShowCodebaseContext) error
Show runs the show action.
type CodebaseConvertFunc ¶
CodebaseConvertFunc is a open ended function to add additional links/data/relations to a Codebase during convertion from internal to API
type CollaboratorsController ¶
type CollaboratorsController struct { *goa.Controller // contains filtered or unexported fields }
CollaboratorsController implements the collaborators resource.
func NewCollaboratorsController ¶
func NewCollaboratorsController(service *goa.Service, db application.DB, config collaboratorsConfiguration, policyManager auth.AuthzPolicyManager) *CollaboratorsController
NewCollaboratorsController creates a collaborators controller.
func (*CollaboratorsController) Add ¶
func (c *CollaboratorsController) Add(ctx *app.AddCollaboratorsContext) error
Add user's identity to the list of space collaborators.
func (*CollaboratorsController) AddMany ¶
func (c *CollaboratorsController) AddMany(ctx *app.AddManyCollaboratorsContext) error
AddMany adds user's identities to the list of space collaborators.
func (*CollaboratorsController) List ¶
func (c *CollaboratorsController) List(ctx *app.ListCollaboratorsContext) error
List collaborators for the given space ID.
func (*CollaboratorsController) Remove ¶
func (c *CollaboratorsController) Remove(ctx *app.RemoveCollaboratorsContext) error
Remove user from the list of space collaborators.
func (*CollaboratorsController) RemoveMany ¶
func (c *CollaboratorsController) RemoveMany(ctx *app.RemoveManyCollaboratorsContext) error
RemoveMany removes users from the list of space collaborators.
type CommentConvertFunc ¶
CommentConvertFunc is a open ended function to add additional links/data/relations to a Comment during conversion from internal to API
func CommentIncludeParentWorkItem ¶
func CommentIncludeParentWorkItem(ctx context.Context, appl application.Application, c *comment.Comment) (CommentConvertFunc, error)
CommentIncludeParentWorkItem includes a "parent" relation to a WorkItem
type CommentsController ¶
type CommentsController struct { *goa.Controller // contains filtered or unexported fields }
CommentsController implements the comments resource.
func NewCommentsController ¶
func NewCommentsController(service *goa.Service, db application.DB, config CommentsControllerConfiguration) *CommentsController
NewCommentsController creates a comments controller.
func (*CommentsController) Delete ¶
func (c *CommentsController) Delete(ctx *app.DeleteCommentsContext) error
Delete does DELETE comment
func (*CommentsController) Show ¶
func (c *CommentsController) Show(ctx *app.ShowCommentsContext) error
Show runs the show action.
func (*CommentsController) Update ¶
func (c *CommentsController) Update(ctx *app.UpdateCommentsContext) error
Update does PATCH comment
type CommentsControllerConfiguration ¶
type CommentsControllerConfiguration interface {
GetCacheControlComments() string
}
CommentsControllerConfiguration the configuration for CommentsController
type Data ¶
type Data struct { gormsupport.Lifecycle ID uuid.UUID `sql:"type:uuid default uuid_generate_v4()" gorm:"primary_key"` // This is the ID PK field Path string Data workitem.Fields `sql:"type:jsonb"` }
Data describes a single resource in usersapce
type FilterController ¶
type FilterController struct { *goa.Controller // contains filtered or unexported fields }
FilterController implements the filter resource.
func NewFilterController ¶
func NewFilterController(service *goa.Service, config FilterControllerConfiguration) *FilterController
NewFilterController creates a filter controller.
func (*FilterController) List ¶
func (c *FilterController) List(ctx *app.ListFilterContext) error
List runs the list action.
type FilterControllerConfiguration ¶
type FilterControllerConfiguration interface {
GetCacheControlFilters() string
}
FilterControllerConfiguration the configuration for the FilterController.
type FilterEtagData ¶
FilterEtagData structure that carries the data to generate an ETag.
func (FilterEtagData) GetETagData ¶
func (f FilterEtagData) GetETagData() []interface{}
GetETagData returns the field values to compute the ETag.
func (FilterEtagData) GetLastModified ¶
func (f FilterEtagData) GetLastModified() time.Time
GetLastModified returns the field values to compute the '`Last-Modified` response header.
type HrefFunc ¶
type HrefFunc func(id interface{}) string
HrefFunc generic function to greate a relative Href to a resource
type IterationController ¶
type IterationController struct { *goa.Controller // contains filtered or unexported fields }
IterationController implements the iteration resource.
func NewIterationController ¶
func NewIterationController(service *goa.Service, db application.DB, config IterationControllerConfiguration) *IterationController
NewIterationController creates a iteration controller.
func (*IterationController) CreateChild ¶
func (c *IterationController) CreateChild(ctx *app.CreateChildIterationContext) error
CreateChild runs the create-child action.
func (*IterationController) Show ¶
func (c *IterationController) Show(ctx *app.ShowIterationContext) error
Show runs the show action.
func (*IterationController) Update ¶
func (c *IterationController) Update(ctx *app.UpdateIterationContext) error
Update runs the update action.
type IterationControllerConfiguration ¶
type IterationControllerConfiguration interface {
GetCacheControlIterations() string
}
type IterationConvertFunc ¶
IterationConvertFunc is a open ended function to add additional links/data/relations to a Iteration during conversion from internal to API
type LoginController ¶
type LoginController struct { *goa.Controller // contains filtered or unexported fields }
LoginController implements the login resource.
func NewLoginController ¶
func NewLoginController(service *goa.Service, auth *login.KeycloakOAuthProvider, tokenManager token.Manager, configuration loginConfiguration) *LoginController
NewLoginController creates a login controller.
func (*LoginController) Authorize ¶
func (c *LoginController) Authorize(ctx *app.AuthorizeLoginContext) error
Authorize runs the authorize action.
func (*LoginController) Generate ¶
func (c *LoginController) Generate(ctx *app.GenerateLoginContext) error
Generate obtain the access token from Keycloak for the test user
func (*LoginController) Link ¶
func (c *LoginController) Link(ctx *app.LinkLoginContext) error
Link links identity provider(s) to the user's account
func (*LoginController) Linkcallback ¶
func (c *LoginController) Linkcallback(ctx *app.LinkcallbackLoginContext) error
Linkcallback redirects to original referel when Identity Provider account are linked to the user account
func (*LoginController) Linksession ¶
func (c *LoginController) Linksession(ctx *app.LinksessionLoginContext) error
Linksession links identity provider(s) to the user's account
func (*LoginController) Refresh ¶
func (c *LoginController) Refresh(ctx *app.RefreshLoginContext) error
Refresh obtain a new access token using the refresh token.
type LogoutController ¶
type LogoutController struct { *goa.Controller // contains filtered or unexported fields }
LogoutController implements the logout resource.
func NewLogoutController ¶
func NewLogoutController(service *goa.Service, logoutService *login.KeycloakLogoutService, configuration logoutConfiguration) *LogoutController
NewLogoutController creates a logout controller.
func (*LogoutController) Logout ¶
func (c *LogoutController) Logout(ctx *app.LogoutLogoutContext) error
Logout runs the logout action.
type NamedspacesController ¶
type NamedspacesController struct { *goa.Controller // contains filtered or unexported fields }
NamedspacesController implements the namedspaces resource.
func NewNamedspacesController ¶
func NewNamedspacesController(service *goa.Service, db application.DB) *NamedspacesController
NewNamedspacesController creates a namedspaces controller.
func (*NamedspacesController) List ¶
func (c *NamedspacesController) List(ctx *app.ListNamedspacesContext) error
func (*NamedspacesController) Show ¶
func (c *NamedspacesController) Show(ctx *app.ShowNamedspacesContext) error
Show runs the show action.
type PermissionDefinition ¶
type PermissionDefinition struct { CreateWorkItem string ReadWorkItem string UpdateWorkItem string DeleteWorkItem string }
PermissionDefinition defines the Permissions available
func (*PermissionDefinition) CRUDWorkItem ¶
func (p *PermissionDefinition) CRUDWorkItem() []string
CRUDWorkItem returns all CRUD permissions for a WorkItem
type PlannerBacklogController ¶
type PlannerBacklogController struct { *goa.Controller // contains filtered or unexported fields }
PlannerBacklogController implements the planner_backlog resource.
func NewPlannerBacklogController ¶
func NewPlannerBacklogController(service *goa.Service, db application.DB, config PlannerBacklogControllerConfig) *PlannerBacklogController
NewPlannerBacklogController creates a planner_backlog controller.
func (*PlannerBacklogController) List ¶
func (c *PlannerBacklogController) List(ctx *app.ListPlannerBacklogContext) error
type PlannerBacklogControllerConfig ¶
type PlannerBacklogControllerConfig interface {
GetCacheControlWorkItems() string
}
type RedirectWorkItemLinkTypeController ¶
type RedirectWorkItemLinkTypeController struct {
*goa.Controller
}
RedirectWorkItemLinkTypeController implements the redirect_work_item_link_type resource.
func NewRedirectWorkItemLinkTypeController ¶
func NewRedirectWorkItemLinkTypeController(service *goa.Service) *RedirectWorkItemLinkTypeController
NewRedirectWorkItemLinkTypeController creates a redirect_work_item_link_type controller.
func (*RedirectWorkItemLinkTypeController) Create ¶
func (c *RedirectWorkItemLinkTypeController) Create(ctx *app.CreateRedirectWorkItemLinkTypeContext) error
Create runs the create action.
func (*RedirectWorkItemLinkTypeController) Delete ¶
func (c *RedirectWorkItemLinkTypeController) Delete(ctx *app.DeleteRedirectWorkItemLinkTypeContext) error
Delete runs the delete action.
func (*RedirectWorkItemLinkTypeController) List ¶
func (c *RedirectWorkItemLinkTypeController) List(ctx *app.ListRedirectWorkItemLinkTypeContext) error
List runs the list action.
func (*RedirectWorkItemLinkTypeController) Show ¶
func (c *RedirectWorkItemLinkTypeController) Show(ctx *app.ShowRedirectWorkItemLinkTypeContext) error
Show runs the show action.
func (*RedirectWorkItemLinkTypeController) Update ¶
func (c *RedirectWorkItemLinkTypeController) Update(ctx *app.UpdateRedirectWorkItemLinkTypeContext) error
Update runs the update action.
type RedirectWorkitemController ¶
type RedirectWorkitemController struct {
*goa.Controller
}
RedirectWorkitemController implements the redirect_workitem resource.
func NewRedirectWorkitemController ¶
func NewRedirectWorkitemController(service *goa.Service) *RedirectWorkitemController
NewRedirectWorkitemController creates a redirect_workitem controller.
func (*RedirectWorkitemController) Create ¶
func (c *RedirectWorkitemController) Create(ctx *app.CreateRedirectWorkitemContext) error
Create runs the create action.
func (*RedirectWorkitemController) Delete ¶
func (c *RedirectWorkitemController) Delete(ctx *app.DeleteRedirectWorkitemContext) error
Delete runs the delete action.
func (*RedirectWorkitemController) List ¶
func (c *RedirectWorkitemController) List(ctx *app.ListRedirectWorkitemContext) error
List runs the list action.
func (*RedirectWorkitemController) Reorder ¶
func (c *RedirectWorkitemController) Reorder(ctx *app.ReorderRedirectWorkitemContext) error
Reorder runs the reorder action.
func (*RedirectWorkitemController) Show ¶
func (c *RedirectWorkitemController) Show(ctx *app.ShowRedirectWorkitemContext) error
Show runs the show action.
func (*RedirectWorkitemController) Update ¶
func (c *RedirectWorkitemController) Update(ctx *app.UpdateRedirectWorkitemContext) error
Update runs the update action.
type RedirectWorkitemtypeController ¶
type RedirectWorkitemtypeController struct {
*goa.Controller
}
RedirectWorkitemtypeController implements the redirect_workitemtype resource.
func NewRedirectWorkitemtypeController ¶
func NewRedirectWorkitemtypeController(service *goa.Service) *RedirectWorkitemtypeController
NewRedirectWorkitemtypeController creates a redirect_workitemtype controller.
func (*RedirectWorkitemtypeController) Create ¶
func (c *RedirectWorkitemtypeController) Create(ctx *app.CreateRedirectWorkitemtypeContext) error
Create runs the create action.
func (*RedirectWorkitemtypeController) List ¶
func (c *RedirectWorkitemtypeController) List(ctx *app.ListRedirectWorkitemtypeContext) error
List runs the list action.
func (*RedirectWorkitemtypeController) ListSourceLinkTypes ¶
func (c *RedirectWorkitemtypeController) ListSourceLinkTypes(ctx *app.ListSourceLinkTypesRedirectWorkitemtypeContext) error
ListSourceLinkTypes runs the list-source-link-types action.
func (*RedirectWorkitemtypeController) ListTargetLinkTypes ¶
func (c *RedirectWorkitemtypeController) ListTargetLinkTypes(ctx *app.ListTargetLinkTypesRedirectWorkitemtypeContext) error
ListTargetLinkTypes runs the list-target-link-types action.
func (*RedirectWorkitemtypeController) Show ¶
func (c *RedirectWorkitemtypeController) Show(ctx *app.ShowRedirectWorkitemtypeContext) error
Show runs the show action.
type RenderController ¶
type RenderController struct {
*goa.Controller
}
RenderController implements the render resource.
func NewRenderController ¶
func NewRenderController(service *goa.Service) *RenderController
NewRenderController creates a render controller.
func (*RenderController) Render ¶
func (c *RenderController) Render(ctx *app.RenderRenderContext) error
Render runs the render action.
type SearchController ¶
type SearchController struct { *goa.Controller // contains filtered or unexported fields }
SearchController implements the search resource.
func NewSearchController ¶
func NewSearchController(service *goa.Service, db application.DB, configuration searchConfiguration) *SearchController
NewSearchController creates a search controller.
func (*SearchController) Show ¶
func (c *SearchController) Show(ctx *app.ShowSearchContext) error
Show runs the show action.
func (*SearchController) Spaces ¶
func (c *SearchController) Spaces(ctx *app.SpacesSearchContext) error
Spaces runs the space search action.
func (*SearchController) Users ¶
func (c *SearchController) Users(ctx *app.UsersSearchContext) error
Users runs the user search action.
type SpaceAreasController ¶
type SpaceAreasController struct { *goa.Controller // contains filtered or unexported fields }
SpaceAreasController implements the space-Areas resource.
func NewSpaceAreasController ¶
func NewSpaceAreasController(service *goa.Service, db application.DB, config SpaceAreasControllerConfig) *SpaceAreasController
NewSpaceAreasController creates a space-Areas controller.
func (*SpaceAreasController) List ¶
func (c *SpaceAreasController) List(ctx *app.ListSpaceAreasContext) error
List runs the list action.
type SpaceAreasControllerConfig ¶
type SpaceAreasControllerConfig interface {
GetCacheControlAreas() string
}
SpaceAreasControllerConfig the configuration for the SpaceAreasController
type SpaceCodebasesController ¶
type SpaceCodebasesController struct { *goa.Controller // contains filtered or unexported fields }
SpaceCodebasesController implements the space-codebases resource.
func NewSpaceCodebasesController ¶
func NewSpaceCodebasesController(service *goa.Service, db application.DB) *SpaceCodebasesController
NewSpaceCodebasesController creates a space-codebases controller.
func (*SpaceCodebasesController) Create ¶
func (c *SpaceCodebasesController) Create(ctx *app.CreateSpaceCodebasesContext) error
Create runs the create action.
func (*SpaceCodebasesController) List ¶
func (c *SpaceCodebasesController) List(ctx *app.ListSpaceCodebasesContext) error
List runs the list action.
type SpaceConfiguration ¶
type SpaceConfiguration interface { GetKeycloakEndpointAuthzResourceset(*goa.RequestData) (string, error) GetKeycloakEndpointToken(*goa.RequestData) (string, error) GetKeycloakEndpointClients(*goa.RequestData) (string, error) GetKeycloakEndpointAdmin(*goa.RequestData) (string, error) GetKeycloakClientID() string GetKeycloakSecret() string GetCacheControlSpaces() string }
SpaceConfiguration represents space configuratoin
type SpaceController ¶
type SpaceController struct { *goa.Controller // contains filtered or unexported fields }
SpaceController implements the space resource.
func NewSpaceController ¶
func NewSpaceController(service *goa.Service, db application.DB, config SpaceConfiguration, resourceManager auth.AuthzResourceManager) *SpaceController
NewSpaceController creates a space controller.
func (*SpaceController) Create ¶
func (c *SpaceController) Create(ctx *app.CreateSpaceContext) error
Create runs the create action.
func (*SpaceController) Delete ¶
func (c *SpaceController) Delete(ctx *app.DeleteSpaceContext) error
Delete runs the delete action.
func (*SpaceController) List ¶
func (c *SpaceController) List(ctx *app.ListSpaceContext) error
List runs the list action.
func (*SpaceController) Show ¶
func (c *SpaceController) Show(ctx *app.ShowSpaceContext) error
Show runs the show action.
func (*SpaceController) Update ¶
func (c *SpaceController) Update(ctx *app.UpdateSpaceContext) error
Update runs the update action.
type SpaceConvertFunc ¶
SpaceConvertFunc is a open ended function to add additional links/data/relations to a Space during conversion from internal to API
type SpaceIterationsController ¶
type SpaceIterationsController struct { *goa.Controller // contains filtered or unexported fields }
SpaceIterationsController implements the space-iterations resource.
func NewSpaceIterationsController ¶
func NewSpaceIterationsController(service *goa.Service, db application.DB, config SpaceIterationsControllerConfiguration) *SpaceIterationsController
NewSpaceIterationsController creates a space-iterations controller.
func (*SpaceIterationsController) Create ¶
func (c *SpaceIterationsController) Create(ctx *app.CreateSpaceIterationsContext) error
Create runs the create action.
func (*SpaceIterationsController) List ¶
func (c *SpaceIterationsController) List(ctx *app.ListSpaceIterationsContext) error
List runs the list action.
type SpaceIterationsControllerConfiguration ¶
type SpaceIterationsControllerConfiguration interface {
GetCacheControlIterations() string
}
type StatusController ¶
type StatusController struct { *goa.Controller // contains filtered or unexported fields }
StatusController implements the status resource.
func NewStatusController ¶
func NewStatusController(service *goa.Service, db *gorm.DB) *StatusController
NewStatusController creates a status controller.
func (*StatusController) Show ¶
func (c *StatusController) Show(ctx *app.ShowStatusContext) error
Show runs the show action.
type TrackerController ¶
type TrackerController struct { *goa.Controller // contains filtered or unexported fields }
TrackerController implements the tracker resource.
func NewTrackerController ¶
func NewTrackerController(service *goa.Service, db application.DB, scheduler *remoteworkitem.Scheduler, configuration trackerConfiguration) *TrackerController
NewTrackerController creates a tracker controller.
func (*TrackerController) Create ¶
func (c *TrackerController) Create(ctx *app.CreateTrackerContext) error
Create runs the create action.
func (*TrackerController) Delete ¶
func (c *TrackerController) Delete(ctx *app.DeleteTrackerContext) error
Delete runs the delete action.
func (*TrackerController) List ¶
func (c *TrackerController) List(ctx *app.ListTrackerContext) error
List runs the list action.
func (*TrackerController) Show ¶
func (c *TrackerController) Show(ctx *app.ShowTrackerContext) error
Show runs the show action.
func (*TrackerController) Update ¶
func (c *TrackerController) Update(ctx *app.UpdateTrackerContext) error
Update runs the update action.
type TrackerqueryController ¶
type TrackerqueryController struct { *goa.Controller // contains filtered or unexported fields }
TrackerqueryController implements the trackerquery resource.
func NewTrackerqueryController ¶
func NewTrackerqueryController(service *goa.Service, db application.DB, scheduler *remoteworkitem.Scheduler, configuration trackerQueryConfiguration) *TrackerqueryController
NewTrackerqueryController creates a trackerquery controller.
func (*TrackerqueryController) Create ¶
func (c *TrackerqueryController) Create(ctx *app.CreateTrackerqueryContext) error
Create runs the create action.
func (*TrackerqueryController) Delete ¶
func (c *TrackerqueryController) Delete(ctx *app.DeleteTrackerqueryContext) error
Delete runs the delete action.
func (*TrackerqueryController) List ¶
func (c *TrackerqueryController) List(ctx *app.ListTrackerqueryContext) error
List runs the list action.
func (*TrackerqueryController) Show ¶
func (c *TrackerqueryController) Show(ctx *app.ShowTrackerqueryContext) error
Show runs the show action.
func (*TrackerqueryController) Update ¶
func (c *TrackerqueryController) Update(ctx *app.UpdateTrackerqueryContext) error
Update runs the update action.
type UserController ¶
type UserController struct { *goa.Controller InitTenant func(context.Context) error // contains filtered or unexported fields }
UserController implements the user resource.
func NewUserController ¶
func NewUserController(service *goa.Service, db application.DB, tokenManager token.Manager, config UserControllerConfiguration) *UserController
NewUserController creates a user controller.
func (*UserController) Show ¶
func (c *UserController) Show(ctx *app.ShowUserContext) error
Show returns the authorized user based on the provided Token
type UserControllerConfiguration ¶
type UserControllerConfiguration interface {
GetCacheControlUser() string
}
UserControllerConfiguration the configuration for the UserController
type UserServiceController ¶
type UserServiceController struct { *goa.Controller UpdateTenant func(context.Context) error }
UserServiceController implements the UserService resource.
func NewUserServiceController ¶
func NewUserServiceController(service *goa.Service) *UserServiceController
NewUserServiceController creates a UserService controller.
func (*UserServiceController) Update ¶
func (c *UserServiceController) Update(ctx *app.UpdateUserServiceContext) error
Update runs the update action.
type UsersController ¶
type UsersController struct { *goa.Controller // contains filtered or unexported fields }
UsersController implements the users resource.
func NewUsersController ¶
func NewUsersController(service *goa.Service, db application.DB, config UsersControllerConfiguration, userProfileService login.UserProfileService) *UsersController
NewUsersController creates a users controller.
func (*UsersController) List ¶
func (c *UsersController) List(ctx *app.ListUsersContext) error
List runs the list action.
func (*UsersController) Show ¶
func (c *UsersController) Show(ctx *app.ShowUsersContext) error
Show runs the show action.
func (*UsersController) Update ¶
func (c *UsersController) Update(ctx *app.UpdateUsersContext) error
Update updates the authorized user based on the provided Token
type UsersControllerConfiguration ¶
type UsersControllerConfiguration interface { GetCacheControlUsers() string GetKeycloakAccountEndpoint(*goa.RequestData) (string, error) }
UsersControllerConfiguration the configuration for the UsersController
type UserspaceController ¶
type UserspaceController struct { *goa.Controller // contains filtered or unexported fields }
UserspaceController implements the userspace resource.
func NewUserspaceController ¶
func NewUserspaceController(service *goa.Service, db *gorm.DB) *UserspaceController
NewUserspaceController creates a userspace controller.
func (*UserspaceController) Create ¶
func (c *UserspaceController) Create(ctx *app.CreateUserspaceContext) error
Create runs the create action.
func (*UserspaceController) Show ¶
func (c *UserspaceController) Show(ctx *app.ShowUserspaceContext) error
Show shows the record
type WorkItemCommentsController ¶
type WorkItemCommentsController struct { *goa.Controller // contains filtered or unexported fields }
WorkItemCommentsController implements the work-item-comments resource.
func NewWorkItemCommentsController ¶
func NewWorkItemCommentsController(service *goa.Service, db application.DB, config WorkItemCommentsControllerConfiguration) *WorkItemCommentsController
NewWorkItemCommentsController creates a work-item-relationships-comments controller.
func (*WorkItemCommentsController) Create ¶
func (c *WorkItemCommentsController) Create(ctx *app.CreateWorkItemCommentsContext) error
Create runs the create action.
func (*WorkItemCommentsController) List ¶
func (c *WorkItemCommentsController) List(ctx *app.ListWorkItemCommentsContext) error
List runs the list action.
func (*WorkItemCommentsController) Relations ¶
func (c *WorkItemCommentsController) Relations(ctx *app.RelationsWorkItemCommentsContext) error
Relations runs the relation action. TODO: Should only return Resource Identifier Objects, not complete object (See List)
type WorkItemCommentsControllerConfiguration ¶
type WorkItemCommentsControllerConfiguration interface {
GetCacheControlComments() string
}
type WorkItemControllerConfig ¶
type WorkItemControllerConfig interface {
GetCacheControlWorkItems() string
}
WorkItemControllerConfig the config interface for the WorkitemController
type WorkItemControllerConfiguration ¶
type WorkItemControllerConfiguration interface {
GetCacheControlWorkItemTypes() string
}
type WorkItemConvertFunc ¶
WorkItemConvertFunc is a open ended function to add additional links/data/relations to a Comment during conversion from internal to API
type WorkItemLinkCategoryController ¶
type WorkItemLinkCategoryController struct { *goa.Controller // contains filtered or unexported fields }
WorkItemLinkCategoryController implements the work-item-link-category resource.
func NewWorkItemLinkCategoryController ¶
func NewWorkItemLinkCategoryController(service *goa.Service, db application.DB) *WorkItemLinkCategoryController
NewWorkItemLinkCategoryController creates a WorkItemLinkCategoryController.
func (*WorkItemLinkCategoryController) Create ¶
func (c *WorkItemLinkCategoryController) Create(ctx *app.CreateWorkItemLinkCategoryContext) error
Create runs the create action.
func (*WorkItemLinkCategoryController) Delete ¶
func (c *WorkItemLinkCategoryController) Delete(ctx *app.DeleteWorkItemLinkCategoryContext) error
Delete runs the delete action.
func (*WorkItemLinkCategoryController) List ¶
func (c *WorkItemLinkCategoryController) List(ctx *app.ListWorkItemLinkCategoryContext) error
List runs the list action.
func (*WorkItemLinkCategoryController) Show ¶
func (c *WorkItemLinkCategoryController) Show(ctx *app.ShowWorkItemLinkCategoryContext) error
Show runs the show action.
func (*WorkItemLinkCategoryController) Update ¶
func (c *WorkItemLinkCategoryController) Update(ctx *app.UpdateWorkItemLinkCategoryContext) error
Update runs the update action.
type WorkItemLinkController ¶
type WorkItemLinkController struct { *goa.Controller // contains filtered or unexported fields }
WorkItemLinkController implements the work-item-link resource.
func NewWorkItemLinkController ¶
func NewWorkItemLinkController(service *goa.Service, db application.DB, config WorkItemLinkControllerConfig) *WorkItemLinkController
NewWorkItemLinkController creates a work-item-link controller.
func (*WorkItemLinkController) Create ¶
func (c *WorkItemLinkController) Create(ctx *app.CreateWorkItemLinkContext) error
Create runs the create action.
func (*WorkItemLinkController) Delete ¶
func (c *WorkItemLinkController) Delete(ctx *app.DeleteWorkItemLinkContext) error
Delete runs the delete action
func (*WorkItemLinkController) List ¶
func (c *WorkItemLinkController) List(ctx *app.ListWorkItemLinkContext) error
List runs the list action.
func (*WorkItemLinkController) Show ¶
func (c *WorkItemLinkController) Show(ctx *app.ShowWorkItemLinkContext) error
Show runs the show action.
func (*WorkItemLinkController) Update ¶
func (c *WorkItemLinkController) Update(ctx *app.UpdateWorkItemLinkContext) error
Update runs the update action.
type WorkItemLinkControllerConfig ¶
type WorkItemLinkControllerConfig interface {
GetCacheControlWorkItemLinks() string
}
WorkItemLinkControllerConfig the config interface for the WorkitemLinkController
type WorkItemLinkTypeController ¶
type WorkItemLinkTypeController struct { *goa.Controller // contains filtered or unexported fields }
WorkItemLinkTypeController implements the work-item-link-type resource.
func NewWorkItemLinkTypeController ¶
func NewWorkItemLinkTypeController(service *goa.Service, db application.DB, config WorkItemLinkTypeControllerConfiguration) *WorkItemLinkTypeController
NewWorkItemLinkTypeController creates a work-item-link-type controller.
func (*WorkItemLinkTypeController) Create ¶
func (c *WorkItemLinkTypeController) Create(ctx *app.CreateWorkItemLinkTypeContext) error
Create runs the create action.
func (*WorkItemLinkTypeController) Delete ¶
func (c *WorkItemLinkTypeController) Delete(ctx *app.DeleteWorkItemLinkTypeContext) error
Delete runs the delete action.
func (*WorkItemLinkTypeController) List ¶
func (c *WorkItemLinkTypeController) List(ctx *app.ListWorkItemLinkTypeContext) error
List runs the list action.
func (*WorkItemLinkTypeController) Show ¶
func (c *WorkItemLinkTypeController) Show(ctx *app.ShowWorkItemLinkTypeContext) error
Show runs the show action.
func (*WorkItemLinkTypeController) Update ¶
func (c *WorkItemLinkTypeController) Update(ctx *app.UpdateWorkItemLinkTypeContext) error
Update runs the update action.
type WorkItemLinkTypeControllerConfiguration ¶
type WorkItemLinkTypeControllerConfiguration interface {
GetCacheControlWorkItemLinkTypes() string
}
WorkItemLinkTypeControllerConfiguration the configuration for the WorkItemLinkTypeController
type WorkItemRelationshipsLinksController ¶
type WorkItemRelationshipsLinksController struct { *goa.Controller // contains filtered or unexported fields }
WorkItemRelationshipsLinksController implements the work-item-relationships-links resource.
func NewWorkItemRelationshipsLinksController ¶
func NewWorkItemRelationshipsLinksController(service *goa.Service, db application.DB, config WorkItemRelationshipsLinksControllerConfig) *WorkItemRelationshipsLinksController
NewWorkItemRelationshipsLinksController creates a work-item-relationships-links controller.
func (*WorkItemRelationshipsLinksController) Create ¶
func (c *WorkItemRelationshipsLinksController) Create(ctx *app.CreateWorkItemRelationshipsLinksContext) error
Create runs the create action.
func (*WorkItemRelationshipsLinksController) List ¶
func (c *WorkItemRelationshipsLinksController) List(ctx *app.ListWorkItemRelationshipsLinksContext) error
List runs the list action.
type WorkItemRelationshipsLinksControllerConfig ¶
type WorkItemRelationshipsLinksControllerConfig interface {
GetCacheControlWorkItemLinks() string
}
WorkItemRelationshipsLinksControllerConfig the config interface for the WorkItemRelationshipsLinksController
type WorkitemController ¶
type WorkitemController struct { *goa.Controller // contains filtered or unexported fields }
WorkitemController implements the workitem resource.
func NewWorkitemController ¶
func NewWorkitemController(service *goa.Service, db application.DB, config WorkItemControllerConfig) *WorkitemController
NewWorkitemController creates a workitem controller.
func (*WorkitemController) Create ¶
func (c *WorkitemController) Create(ctx *app.CreateWorkitemContext) error
Create does POST workitem
func (*WorkitemController) Delete ¶
func (c *WorkitemController) Delete(ctx *app.DeleteWorkitemContext) error
Delete does DELETE workitem
func (*WorkitemController) List ¶
func (c *WorkitemController) List(ctx *app.ListWorkitemContext) error
List runs the list action. Prev and Next links will be present only when there actually IS a next or previous page. Last will always be present. Total Item count needs to be computed from the "Last" link.
func (*WorkitemController) ListChildren ¶
func (c *WorkitemController) ListChildren(ctx *app.ListChildrenWorkitemContext) error
ListChildren runs the list action.
func (*WorkitemController) Reorder ¶
func (c *WorkitemController) Reorder(ctx *app.ReorderWorkitemContext) error
Reorder does PATCH workitem
func (*WorkitemController) Show ¶
func (c *WorkitemController) Show(ctx *app.ShowWorkitemContext) error
Show does GET workitem
func (*WorkitemController) Update ¶
func (c *WorkitemController) Update(ctx *app.UpdateWorkitemContext) error
Update does PATCH workitem
type WorkitemtypeController ¶
type WorkitemtypeController struct { *goa.Controller // contains filtered or unexported fields }
WorkitemtypeController implements the workitemtype resource.
func NewWorkitemtypeController ¶
func NewWorkitemtypeController(service *goa.Service, db application.DB, config WorkItemControllerConfiguration) *WorkitemtypeController
NewWorkitemtypeController creates a workitemtype controller.
func (*WorkitemtypeController) Create ¶
func (c *WorkitemtypeController) Create(ctx *app.CreateWorkitemtypeContext) error
Create runs the create action.
func (*WorkitemtypeController) List ¶
func (c *WorkitemtypeController) List(ctx *app.ListWorkitemtypeContext) error
List runs the list action
func (*WorkitemtypeController) ListSourceLinkTypes ¶
func (c *WorkitemtypeController) ListSourceLinkTypes(ctx *app.ListSourceLinkTypesWorkitemtypeContext) error
ListSourceLinkTypes runs the list-source-link-types action.
func (*WorkitemtypeController) ListTargetLinkTypes ¶
func (c *WorkitemtypeController) ListTargetLinkTypes(ctx *app.ListTargetLinkTypesWorkitemtypeContext) error
ListTargetLinkTypes runs the list-target-link-types action.
func (*WorkitemtypeController) Show ¶
func (c *WorkitemtypeController) Show(ctx *app.ShowWorkitemtypeContext) error
Show runs the show action.
Source Files ¶
- area.go
- codebase.go
- collaborators.go
- comments.go
- filter.go
- iteration.go
- login.go
- logout.go
- namedspaces.go
- paging.go
- permission.go
- planner_backlog.go
- redirect_work_item_link_type.go
- redirect_workitem.go
- redirect_workitemtype.go
- render.go
- search.go
- space.go
- space_areas.go
- space_codebases.go
- space_iterations.go
- status.go
- tracker.go
- trackerquery.go
- user.go
- user_service.go
- users.go
- userspace.go
- work_item_comments.go
- work_item_link.go
- work_item_link_category.go
- work_item_link_type.go
- work_item_relationships_links.go
- workitem.go
- workitemtype.go