Documentation ¶
Overview ¶
TODO: Describe package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create() gin.HandlerFunc
TODO: Describe function
@Summary Create a operator config @Schemes @Description Create a operator config @Tags operatorconfigs @Accept application/json @Produce application/json @Param operatorconfig body apicontracts.OperatorConfig true "Add a operator config" @Success 200 {array} apicontracts.OperatorConfig @Failure 403 {string} Forbidden @Failure 401 {string} Unauthorized @Failure 500 {string} Failure message @Router /v1/operatorconfigs [post] @Security ApiKey || AccessToken
func Delete ¶
func Delete() gin.HandlerFunc
TODO: Describe function
@Summary Delete a operator config @Schemes @Description Delete a operator config by id @Tags operatorconfigs @Accept application/json @Produce application/json @Param id path string true "id" @Success 200 {bool} true @Failure 403 {string} Forbidden @Failure 401 {string} Unauthorized @Failure 500 {string} Failure message @Router /v1/operatorconfigs/:id [delete] @Security ApiKey || AccessToken
func GetAll ¶
func GetAll() gin.HandlerFunc
TODO: Describe function
@Summary Get all operator configs @Schemes @Description Get all operator configs @Tags operatorconfigs @Accept application/json @Produce application/json @Success 200 {array} apicontracts.OperatorConfig @Failure 403 {string} Forbidden @Failure 401 {string} Unauthorized @Failure 500 {string} Failure message @Router /v1/operatorconfigs [get] @Security ApiKey || AccessToken
func GetById ¶
func GetById() gin.HandlerFunc
TODO: Describe function
@Summary Get a operator config @Schemes @Description Get a operator config by id @Tags operatorconfigs @Accept application/json @Produce application/json @Param id path string true "id" @Param operatorconfig body apicontracts.OperatorConfig true "Get a operator config" @Success 200 {object} apicontracts.OperatorConfig @Failure 403 {string} Forbidden @Failure 401 {string} Unauthorized @Failure 500 {string} Failure message @Router /v1/operatorconfigs/:id [get] @Security ApiKey || AccessToken
func Update ¶
func Update() gin.HandlerFunc
TODO: Describe function
@Summary Update a operator config @Schemes @Description Update a operator config by id @Tags operatorconfigs @Accept application/json @Produce application/json @Param id path string true "id" @Param operatorconfig body apicontracts.OperatorConfig true "Update operator config" @Success 200 {object} apicontracts.OperatorConfig @Failure 403 {string} Forbidden @Failure 401 {string} Unauthorized @Failure 500 {string} Failure message @Router /v1/operatorconfigs/:id [put] @Security ApiKey || AccessToken
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.