Documentation
¶
Overview ¶
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
Index ¶
- func Register(r *gin.Engine)
- type ArrowID
- type ArrowInput
- type BarID
- type BarInput
- type Controller
- func (controller *Controller) AddBackRepo(backRepo *gantt_orm.BackRepoStruct, stackPath string)
- func (controller *Controller) DeleteArrow(c *gin.Context)
- func (controller *Controller) DeleteBar(c *gin.Context)
- func (controller *Controller) DeleteGantt(c *gin.Context)
- func (controller *Controller) DeleteGroup(c *gin.Context)
- func (controller *Controller) DeleteLane(c *gin.Context)
- func (controller *Controller) DeleteLaneUse(c *gin.Context)
- func (controller *Controller) DeleteMilestone(c *gin.Context)
- func (controller *Controller) GetArrow(c *gin.Context)
- func (controller *Controller) GetArrows(c *gin.Context)
- func (controller *Controller) GetBar(c *gin.Context)
- func (controller *Controller) GetBars(c *gin.Context)
- func (controller *Controller) GetGantt(c *gin.Context)
- func (controller *Controller) GetGantts(c *gin.Context)
- func (controller *Controller) GetGroup(c *gin.Context)
- func (controller *Controller) GetGroups(c *gin.Context)
- func (controller *Controller) GetLane(c *gin.Context)
- func (controller *Controller) GetLaneUse(c *gin.Context)
- func (controller *Controller) GetLaneUses(c *gin.Context)
- func (controller *Controller) GetLanes(c *gin.Context)
- func (controller *Controller) GetLastCommitFromBackNb(c *gin.Context)
- func (controller *Controller) GetLastPushFromFrontNb(c *gin.Context)
- func (controller *Controller) GetMilestone(c *gin.Context)
- func (controller *Controller) GetMilestones(c *gin.Context)
- func (controller *Controller) PostArrow(c *gin.Context)
- func (controller *Controller) PostBar(c *gin.Context)
- func (controller *Controller) PostGantt(c *gin.Context)
- func (controller *Controller) PostGroup(c *gin.Context)
- func (controller *Controller) PostLane(c *gin.Context)
- func (controller *Controller) PostLaneUse(c *gin.Context)
- func (controller *Controller) PostMilestone(c *gin.Context)
- func (controller *Controller) UpdateArrow(c *gin.Context)
- func (controller *Controller) UpdateBar(c *gin.Context)
- func (controller *Controller) UpdateGantt(c *gin.Context)
- func (controller *Controller) UpdateGroup(c *gin.Context)
- func (controller *Controller) UpdateLane(c *gin.Context)
- func (controller *Controller) UpdateLaneUse(c *gin.Context)
- func (controller *Controller) UpdateMilestone(c *gin.Context)
- type GanttID
- type GanttInput
- type GenericError
- type GroupID
- type GroupInput
- type LaneID
- type LaneInput
- type LaneUseID
- type LaneUseInput
- type MilestoneID
- type MilestoneInput
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArrowID ¶
type ArrowID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An ArrowID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getArrow updateArrow deleteArrow
type ArrowInput ¶
ArrowInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postArrow updateArrow
type BarID ¶
type BarID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An BarID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getBar updateBar deleteBar
type BarInput ¶
BarInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postBar updateBar
type Controller ¶
type Controller struct {
// Map_BackRepos is the map to the backRepo instance according to the stack instance path
Map_BackRepos map[string]*gantt_orm.BackRepoStruct
// contains filtered or unexported fields
}
A Controller is the handler of all API REST calls matching the stack model It forwards API requests to the stack instance identified by the Name parameters in the request the stack instance is the BackRepo instance
func GetController ¶
func GetController() *Controller
func (*Controller) AddBackRepo ¶
func (controller *Controller) AddBackRepo(backRepo *gantt_orm.BackRepoStruct, stackPath string)
func (*Controller) DeleteArrow ¶
func (controller *Controller) DeleteArrow(c *gin.Context)
DeleteArrow
swagger:route DELETE /arrows/{ID} arrows deleteArrow
Delete a arrow ¶
default: genericError
200: arrowDBResponse
func (*Controller) DeleteBar ¶
func (controller *Controller) DeleteBar(c *gin.Context)
DeleteBar
swagger:route DELETE /bars/{ID} bars deleteBar
Delete a bar ¶
default: genericError
200: barDBResponse
func (*Controller) DeleteGantt ¶
func (controller *Controller) DeleteGantt(c *gin.Context)
DeleteGantt
swagger:route DELETE /gantts/{ID} gantts deleteGantt
Delete a gantt ¶
default: genericError
200: ganttDBResponse
func (*Controller) DeleteGroup ¶
func (controller *Controller) DeleteGroup(c *gin.Context)
DeleteGroup
swagger:route DELETE /groups/{ID} groups deleteGroup
Delete a group ¶
default: genericError
200: groupDBResponse
func (*Controller) DeleteLane ¶
func (controller *Controller) DeleteLane(c *gin.Context)
DeleteLane
swagger:route DELETE /lanes/{ID} lanes deleteLane
Delete a lane ¶
default: genericError
200: laneDBResponse
func (*Controller) DeleteLaneUse ¶
func (controller *Controller) DeleteLaneUse(c *gin.Context)
DeleteLaneUse
swagger:route DELETE /laneuses/{ID} laneuses deleteLaneUse
Delete a laneuse ¶
default: genericError
200: laneuseDBResponse
func (*Controller) DeleteMilestone ¶
func (controller *Controller) DeleteMilestone(c *gin.Context)
DeleteMilestone
swagger:route DELETE /milestones/{ID} milestones deleteMilestone
Delete a milestone ¶
default: genericError
200: milestoneDBResponse
func (*Controller) GetArrow ¶
func (controller *Controller) GetArrow(c *gin.Context)
GetArrow
swagger:route GET /arrows/{ID} arrows getArrow
Gets the details for a arrow.
Responses: default: genericError
200: arrowDBResponse
func (*Controller) GetArrows ¶
func (controller *Controller) GetArrows(c *gin.Context)
GetArrows
swagger:route GET /arrows arrows getArrows
Get all arrows ¶
Responses: default: genericError
200: arrowDBResponse
func (*Controller) GetBar ¶
func (controller *Controller) GetBar(c *gin.Context)
GetBar
swagger:route GET /bars/{ID} bars getBar
Gets the details for a bar.
Responses: default: genericError
200: barDBResponse
func (*Controller) GetBars ¶
func (controller *Controller) GetBars(c *gin.Context)
GetBars
swagger:route GET /bars bars getBars
Get all bars ¶
Responses: default: genericError
200: barDBResponse
func (*Controller) GetGantt ¶
func (controller *Controller) GetGantt(c *gin.Context)
GetGantt
swagger:route GET /gantts/{ID} gantts getGantt
Gets the details for a gantt.
Responses: default: genericError
200: ganttDBResponse
func (*Controller) GetGantts ¶
func (controller *Controller) GetGantts(c *gin.Context)
GetGantts
swagger:route GET /gantts gantts getGantts
Get all gantts ¶
Responses: default: genericError
200: ganttDBResponse
func (*Controller) GetGroup ¶
func (controller *Controller) GetGroup(c *gin.Context)
GetGroup
swagger:route GET /groups/{ID} groups getGroup
Gets the details for a group.
Responses: default: genericError
200: groupDBResponse
func (*Controller) GetGroups ¶
func (controller *Controller) GetGroups(c *gin.Context)
GetGroups
swagger:route GET /groups groups getGroups
Get all groups ¶
Responses: default: genericError
200: groupDBResponse
func (*Controller) GetLane ¶
func (controller *Controller) GetLane(c *gin.Context)
GetLane
swagger:route GET /lanes/{ID} lanes getLane
Gets the details for a lane.
Responses: default: genericError
200: laneDBResponse
func (*Controller) GetLaneUse ¶
func (controller *Controller) GetLaneUse(c *gin.Context)
GetLaneUse
swagger:route GET /laneuses/{ID} laneuses getLaneUse
Gets the details for a laneuse.
Responses: default: genericError
200: laneuseDBResponse
func (*Controller) GetLaneUses ¶
func (controller *Controller) GetLaneUses(c *gin.Context)
GetLaneUses
swagger:route GET /laneuses laneuses getLaneUses
Get all laneuses ¶
Responses: default: genericError
200: laneuseDBResponse
func (*Controller) GetLanes ¶
func (controller *Controller) GetLanes(c *gin.Context)
GetLanes
swagger:route GET /lanes lanes getLanes
Get all lanes ¶
Responses: default: genericError
200: laneDBResponse
func (*Controller) GetLastCommitFromBackNb ¶
func (controller *Controller) GetLastCommitFromBackNb(c *gin.Context)
swagger:route GET /commitfrombacknb backrepo GetLastCommitFromBackNb
func (*Controller) GetLastPushFromFrontNb ¶
func (controller *Controller) GetLastPushFromFrontNb(c *gin.Context)
swagger:route GET /pushfromfrontnb backrepo GetLastPushFromFrontNb
func (*Controller) GetMilestone ¶
func (controller *Controller) GetMilestone(c *gin.Context)
GetMilestone
swagger:route GET /milestones/{ID} milestones getMilestone
Gets the details for a milestone.
Responses: default: genericError
200: milestoneDBResponse
func (*Controller) GetMilestones ¶
func (controller *Controller) GetMilestones(c *gin.Context)
GetMilestones
swagger:route GET /milestones milestones getMilestones
Get all milestones ¶
Responses: default: genericError
200: milestoneDBResponse
func (*Controller) PostArrow ¶
func (controller *Controller) PostArrow(c *gin.Context)
PostArrow
swagger:route POST /arrows arrows postArrow
Creates a arrow
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostBar ¶
func (controller *Controller) PostBar(c *gin.Context)
PostBar
swagger:route POST /bars bars postBar
Creates a bar
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGantt ¶
func (controller *Controller) PostGantt(c *gin.Context)
PostGantt
swagger:route POST /gantts gantts postGantt
Creates a gantt
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGroup ¶
func (controller *Controller) PostGroup(c *gin.Context)
PostGroup
swagger:route POST /groups groups postGroup
Creates a group
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostLane ¶
func (controller *Controller) PostLane(c *gin.Context)
PostLane
swagger:route POST /lanes lanes postLane
Creates a lane
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostLaneUse ¶
func (controller *Controller) PostLaneUse(c *gin.Context)
PostLaneUse
swagger:route POST /laneuses laneuses postLaneUse
Creates a laneuse
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostMilestone ¶
func (controller *Controller) PostMilestone(c *gin.Context)
PostMilestone
swagger:route POST /milestones milestones postMilestone
Creates a milestone
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) UpdateArrow ¶
func (controller *Controller) UpdateArrow(c *gin.Context)
UpdateArrow
swagger:route PATCH /arrows/{ID} arrows updateArrow
Update a arrow ¶
Responses: default: genericError
200: arrowDBResponse
func (*Controller) UpdateBar ¶
func (controller *Controller) UpdateBar(c *gin.Context)
UpdateBar
swagger:route PATCH /bars/{ID} bars updateBar
Update a bar ¶
Responses: default: genericError
200: barDBResponse
func (*Controller) UpdateGantt ¶
func (controller *Controller) UpdateGantt(c *gin.Context)
UpdateGantt
swagger:route PATCH /gantts/{ID} gantts updateGantt
Update a gantt ¶
Responses: default: genericError
200: ganttDBResponse
func (*Controller) UpdateGroup ¶
func (controller *Controller) UpdateGroup(c *gin.Context)
UpdateGroup
swagger:route PATCH /groups/{ID} groups updateGroup
Update a group ¶
Responses: default: genericError
200: groupDBResponse
func (*Controller) UpdateLane ¶
func (controller *Controller) UpdateLane(c *gin.Context)
UpdateLane
swagger:route PATCH /lanes/{ID} lanes updateLane
Update a lane ¶
Responses: default: genericError
200: laneDBResponse
func (*Controller) UpdateLaneUse ¶
func (controller *Controller) UpdateLaneUse(c *gin.Context)
UpdateLaneUse
swagger:route PATCH /laneuses/{ID} laneuses updateLaneUse
Update a laneuse ¶
Responses: default: genericError
200: laneuseDBResponse
func (*Controller) UpdateMilestone ¶
func (controller *Controller) UpdateMilestone(c *gin.Context)
UpdateMilestone
swagger:route PATCH /milestones/{ID} milestones updateMilestone
Update a milestone ¶
Responses: default: genericError
200: milestoneDBResponse
type GanttID ¶
type GanttID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GanttID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGantt updateGantt deleteGantt
type GanttInput ¶
GanttInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGantt updateGantt
type GenericError ¶
type GenericError struct {
// in: body
Body struct {
Code int32 `json:"code"`
Message string `json:"message"`
} `json:"body"`
}
A GenericError is the default error message that is generated. For certain status codes there are more appropriate error structures.
swagger:response genericError
type GroupID ¶
type GroupID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An GroupID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGroup updateGroup deleteGroup
type GroupInput ¶
GroupInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGroup updateGroup
type LaneID ¶
type LaneID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An LaneID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getLane updateLane deleteLane
type LaneInput ¶
LaneInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postLane updateLane
type LaneUseID ¶
type LaneUseID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An LaneUseID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getLaneUse updateLaneUse deleteLaneUse
type LaneUseInput ¶
type LaneUseInput struct {
// The LaneUse to submit or modify
// in: body
LaneUse *orm.LaneUseAPI
}
LaneUseInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postLaneUse updateLaneUse
type MilestoneID ¶
type MilestoneID struct {
// The ID of the order
//
// in: path
// required: true
ID int64
}
An MilestoneID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getMilestone updateMilestone deleteMilestone
type MilestoneInput ¶
type MilestoneInput struct {
// The Milestone to submit or modify
// in: body
Milestone *orm.MilestoneAPI
}
MilestoneInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postMilestone updateMilestone
type ValidationError ¶
type ValidationError struct {
// in: body
Body struct {
Code int32 `json:"code"`
Message string `json:"message"`
Field string `json:"field"`
} `json:"body"`
}
A ValidationError is an that is generated for validation failures. It has the same fields as a generic error but adds a Field property.
swagger:response validationError