Documentation ¶
Overview ¶
generated by stacks/gong/go/models/controller_file.go
generated by stacks/gong/go/models/controller_file.go
generated by stacks/gong/go/models/controller_file.go
generated by stacks/gong/go/models/controller_file.go
Index ¶
- func DeleteDependency(c *gin.Context)
- func DeleteGanttChart(c *gin.Context)
- func DeleteRessource(c *gin.Context)
- func DeleteTask(c *gin.Context)
- func GetDependency(c *gin.Context)
- func GetDependencys(c *gin.Context)
- func GetGanttChart(c *gin.Context)
- func GetGanttCharts(c *gin.Context)
- func GetLastCommitNb(c *gin.Context)
- func GetRessource(c *gin.Context)
- func GetRessources(c *gin.Context)
- func GetTask(c *gin.Context)
- func GetTasks(c *gin.Context)
- func PostDependency(c *gin.Context)
- func PostGanttChart(c *gin.Context)
- func PostRessource(c *gin.Context)
- func PostTask(c *gin.Context)
- func RegisterControllers(r *gin.Engine)
- func UpdateDependency(c *gin.Context)
- func UpdateGanttChart(c *gin.Context)
- func UpdateRessource(c *gin.Context)
- func UpdateTask(c *gin.Context)
- type DependencyID
- type DependencyInput
- type GanttChartID
- type GanttChartInput
- type GenericError
- type RessourceID
- type RessourceInput
- type TaskID
- type TaskInput
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDependency ¶
DeleteDependency
swagger:route DELETE /dependencys/{ID} dependencys deleteDependency
Delete a dependency ¶
Responses:
default: genericError
func DeleteGanttChart ¶
DeleteGanttChart
swagger:route DELETE /ganttcharts/{ID} ganttcharts deleteGanttChart
Delete a ganttchart ¶
Responses:
default: genericError
func DeleteRessource ¶
DeleteRessource
swagger:route DELETE /ressources/{ID} ressources deleteRessource
Delete a ressource ¶
Responses:
default: genericError
func DeleteTask ¶
DeleteTask
swagger:route DELETE /tasks/{ID} tasks deleteTask
Delete a task ¶
Responses:
default: genericError
func GetDependency ¶
GetDependency
swagger:route GET /dependencys/{ID} dependencys getDependency
Gets the details for a dependency.
Responses:
default: genericError 200: dependencyDBResponse
func GetDependencys ¶
GetDependencys
swagger:route GET /dependencys dependencys getDependencys
Get all dependencys ¶
Responses:
default: genericError 200: dependencyDBsResponse
func GetGanttChart ¶
GetGanttChart
swagger:route GET /ganttcharts/{ID} ganttcharts getGanttChart
Gets the details for a ganttchart.
Responses:
default: genericError 200: ganttchartDBResponse
func GetGanttCharts ¶
GetGanttCharts
swagger:route GET /ganttcharts ganttcharts getGanttCharts
Get all ganttcharts ¶
Responses:
default: genericError 200: ganttchartDBsResponse
func GetLastCommitNb ¶
swagger:route GET /commitnb backrepo GetLastCommitNb
func GetRessource ¶
GetRessource
swagger:route GET /ressources/{ID} ressources getRessource
Gets the details for a ressource.
Responses:
default: genericError 200: ressourceDBResponse
func GetRessources ¶
GetRessources
swagger:route GET /ressources ressources getRessources
Get all ressources ¶
Responses:
default: genericError 200: ressourceDBsResponse
func GetTask ¶
GetTask
swagger:route GET /tasks/{ID} tasks getTask
Gets the details for a task.
Responses:
default: genericError 200: taskDBResponse
func GetTasks ¶
GetTasks
swagger:route GET /tasks tasks getTasks
Get all tasks ¶
Responses:
default: genericError 200: taskDBsResponse
func PostDependency ¶
PostDependency
swagger:route POST /dependencys dependencys postDependency
Creates a dependency
Consumes: - application/json Produces: - application/json Responses: 200: dependencyDBResponse
func PostGanttChart ¶
PostGanttChart
swagger:route POST /ganttcharts ganttcharts postGanttChart
Creates a ganttchart
Consumes: - application/json Produces: - application/json Responses: 200: ganttchartDBResponse
func PostRessource ¶
PostRessource
swagger:route POST /ressources ressources postRessource
Creates a ressource
Consumes: - application/json Produces: - application/json Responses: 200: ressourceDBResponse
func PostTask ¶
PostTask
swagger:route POST /tasks tasks postTask
Creates a task
Consumes: - application/json Produces: - application/json Responses: 200: taskDBResponse
func RegisterControllers ¶
RegisterControllers register controllers
func UpdateDependency ¶
UpdateDependency
swagger:route PATCH /dependencys/{ID} dependencys updateDependency
Update a dependency ¶
Responses:
default: genericError 200: dependencyDBResponse
func UpdateGanttChart ¶
UpdateGanttChart
swagger:route PATCH /ganttcharts/{ID} ganttcharts updateGanttChart
Update a ganttchart ¶
Responses:
default: genericError 200: ganttchartDBResponse
func UpdateRessource ¶
UpdateRessource
swagger:route PATCH /ressources/{ID} ressources updateRessource
Update a ressource ¶
Responses:
default: genericError 200: ressourceDBResponse
func UpdateTask ¶
UpdateTask
swagger:route PATCH /tasks/{ID} tasks updateTask
Update a task ¶
Responses:
default: genericError 200: taskDBResponse
Types ¶
type DependencyID ¶
type DependencyID struct { // The ID of the order // // in: path // required: true ID int64 }
An DependencyID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getDependency updateDependency deleteDependency
type DependencyInput ¶
type DependencyInput struct { // The Dependency to submit or modify // in: body Dependency *orm.DependencyAPI }
DependencyInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postDependency updateDependency
type GanttChartID ¶
type GanttChartID struct { // The ID of the order // // in: path // required: true ID int64 }
An GanttChartID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGanttChart updateGanttChart deleteGanttChart
type GanttChartInput ¶
type GanttChartInput struct { // The GanttChart to submit or modify // in: body GanttChart *orm.GanttChartAPI }
GanttChartInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGanttChart updateGanttChart
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 RessourceID ¶
type RessourceID struct { // The ID of the order // // in: path // required: true ID int64 }
An RessourceID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getRessource updateRessource deleteRessource
type RessourceInput ¶
type RessourceInput struct { // The Ressource to submit or modify // in: body Ressource *orm.RessourceAPI }
RessourceInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postRessource updateRessource
type TaskID ¶
type TaskID struct { // The ID of the order // // in: path // required: true ID int64 }
An TaskID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getTask updateTask deleteTask
type TaskInput ¶
TaskInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postTask updateTask
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