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 DeleteChartConfiguration(c *gin.Context)
- func DeleteDataPoint(c *gin.Context)
- func DeleteDataset(c *gin.Context)
- func DeleteLabel(c *gin.Context)
- func GetChartConfiguration(c *gin.Context)
- func GetChartConfigurations(c *gin.Context)
- func GetDataPoint(c *gin.Context)
- func GetDataPoints(c *gin.Context)
- func GetDataset(c *gin.Context)
- func GetDatasets(c *gin.Context)
- func GetLabel(c *gin.Context)
- func GetLabels(c *gin.Context)
- func GetLastCommitFromBackNb(c *gin.Context)
- func GetLastPushFromFrontNb(c *gin.Context)
- func PostChartConfiguration(c *gin.Context)
- func PostDataPoint(c *gin.Context)
- func PostDataset(c *gin.Context)
- func PostLabel(c *gin.Context)
- func RegisterControllers(r *gin.Engine)
- func UpdateChartConfiguration(c *gin.Context)
- func UpdateDataPoint(c *gin.Context)
- func UpdateDataset(c *gin.Context)
- func UpdateLabel(c *gin.Context)
- type ChartConfigurationID
- type ChartConfigurationInput
- type DataPointID
- type DataPointInput
- type DatasetID
- type DatasetInput
- type GenericError
- type LabelID
- type LabelInput
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteChartConfiguration ¶
DeleteChartConfiguration
swagger:route DELETE /chartconfigurations/{ID} chartconfigurations deleteChartConfiguration
Delete a chartconfiguration ¶
default: genericError
200: chartconfigurationDBResponse
func DeleteDataPoint ¶
DeleteDataPoint
swagger:route DELETE /datapoints/{ID} datapoints deleteDataPoint
Delete a datapoint ¶
default: genericError
200: datapointDBResponse
func DeleteDataset ¶
DeleteDataset
swagger:route DELETE /datasets/{ID} datasets deleteDataset
Delete a dataset ¶
default: genericError
200: datasetDBResponse
func DeleteLabel ¶
DeleteLabel
swagger:route DELETE /labels/{ID} labels deleteLabel
Delete a label ¶
default: genericError
200: labelDBResponse
func GetChartConfiguration ¶
GetChartConfiguration
swagger:route GET /chartconfigurations/{ID} chartconfigurations getChartConfiguration
Gets the details for a chartconfiguration.
Responses: default: genericError
200: chartconfigurationDBResponse
func GetChartConfigurations ¶
GetChartConfigurations
swagger:route GET /chartconfigurations chartconfigurations getChartConfigurations
Get all chartconfigurations ¶
Responses: default: genericError
200: chartconfigurationDBResponse
func GetDataPoint ¶
GetDataPoint
swagger:route GET /datapoints/{ID} datapoints getDataPoint
Gets the details for a datapoint.
Responses: default: genericError
200: datapointDBResponse
func GetDataPoints ¶
GetDataPoints
swagger:route GET /datapoints datapoints getDataPoints
Get all datapoints ¶
Responses: default: genericError
200: datapointDBResponse
func GetDataset ¶
GetDataset
swagger:route GET /datasets/{ID} datasets getDataset
Gets the details for a dataset.
Responses: default: genericError
200: datasetDBResponse
func GetDatasets ¶
GetDatasets
swagger:route GET /datasets datasets getDatasets
Get all datasets ¶
Responses: default: genericError
200: datasetDBResponse
func GetLabel ¶
GetLabel
swagger:route GET /labels/{ID} labels getLabel
Gets the details for a label.
Responses: default: genericError
200: labelDBResponse
func GetLabels ¶
GetLabels
swagger:route GET /labels labels getLabels
Get all labels ¶
Responses: default: genericError
200: labelDBResponse
func GetLastCommitFromBackNb ¶
swagger:route GET /commitfrombacknb backrepo GetLastCommitFromBackNb
func GetLastPushFromFrontNb ¶
swagger:route GET /pushfromfrontnb backrepo GetLastPushFromFrontNb
func PostChartConfiguration ¶
PostChartConfiguration
swagger:route POST /chartconfigurations chartconfigurations postChartConfiguration
Creates a chartconfiguration
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func PostDataPoint ¶
PostDataPoint
swagger:route POST /datapoints datapoints postDataPoint
Creates a datapoint
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func PostDataset ¶
PostDataset
swagger:route POST /datasets datasets postDataset
Creates a dataset
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func PostLabel ¶
PostLabel
swagger:route POST /labels labels postLabel
Creates a label
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func RegisterControllers ¶
RegisterControllers register controllers
func UpdateChartConfiguration ¶
UpdateChartConfiguration
swagger:route PATCH /chartconfigurations/{ID} chartconfigurations updateChartConfiguration
Update a chartconfiguration ¶
Responses: default: genericError
200: chartconfigurationDBResponse
func UpdateDataPoint ¶
UpdateDataPoint
swagger:route PATCH /datapoints/{ID} datapoints updateDataPoint
Update a datapoint ¶
Responses: default: genericError
200: datapointDBResponse
func UpdateDataset ¶
UpdateDataset
swagger:route PATCH /datasets/{ID} datasets updateDataset
Update a dataset ¶
Responses: default: genericError
200: datasetDBResponse
func UpdateLabel ¶
UpdateLabel
swagger:route PATCH /labels/{ID} labels updateLabel
Update a label ¶
Responses: default: genericError
200: labelDBResponse
Types ¶
type ChartConfigurationID ¶
type ChartConfigurationID struct { // The ID of the order // // in: path // required: true ID int64 }
An ChartConfigurationID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getChartConfiguration updateChartConfiguration deleteChartConfiguration
type ChartConfigurationInput ¶
type ChartConfigurationInput struct { // The ChartConfiguration to submit or modify // in: body ChartConfiguration *orm.ChartConfigurationAPI }
ChartConfigurationInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postChartConfiguration updateChartConfiguration
type DataPointID ¶
type DataPointID struct { // The ID of the order // // in: path // required: true ID int64 }
An DataPointID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getDataPoint updateDataPoint deleteDataPoint
type DataPointInput ¶
type DataPointInput struct { // The DataPoint to submit or modify // in: body DataPoint *orm.DataPointAPI }
DataPointInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postDataPoint updateDataPoint
type DatasetID ¶
type DatasetID struct { // The ID of the order // // in: path // required: true ID int64 }
An DatasetID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getDataset updateDataset deleteDataset
type DatasetInput ¶
type DatasetInput struct { // The Dataset to submit or modify // in: body Dataset *orm.DatasetAPI }
DatasetInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postDataset updateDataset
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 LabelID ¶
type LabelID struct { // The ID of the order // // in: path // required: true ID int64 }
An LabelID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getLabel updateLabel deleteLabel
type LabelInput ¶
LabelInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postLabel updateLabel
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