Documentation
¶
Overview ¶
Package router Soutions-Service
Soutions-Service is service for managing user solutions.
Version: 0.0.1 Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
- func ActivateTemplate(ctx *gin.Context)
- func AddTemplate(ctx *gin.Context)
- func DeactivateTemplate(ctx *gin.Context)
- func DeleteNamespaceSolutions(ctx *gin.Context)
- func DeleteSolution(ctx *gin.Context)
- func DeleteSolutions(ctx *gin.Context)
- func GetNamespaceSolutions(ctx *gin.Context)
- func GetSolution(ctx *gin.Context)
- func GetSolutionsDeployments(ctx *gin.Context)
- func GetSolutionsList(ctx *gin.Context)
- func GetSolutionsServices(ctx *gin.Context)
- func GetTemplatesEnv(ctx *gin.Context)
- func GetTemplatesList(ctx *gin.Context)
- func GetTemplatesResources(ctx *gin.Context)
- func RunSolution(ctx *gin.Context)
- func UpdateTemplate(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateTemplate ¶
swagger:operation POST /templates/{template}/activate Templates ActivateTemplate Activate template.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: template in: path type: string required: true
responses:
'202': description: solution activated default: $ref: '#/responses/error'
func AddTemplate ¶
swagger:operation POST /templates Templates AddTemplate Add template.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: body in: body schema: $ref: '#/definitions/SolutionTemplate'
responses:
'201': description: solution added default: $ref: '#/responses/error'
func DeactivateTemplate ¶
swagger:operation POST /templates/{template}/deactivate Templates DeactivateTemplate Deactivate template.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: template in: path type: string required: true
responses:
'202': description: solution deactivated default: $ref: '#/responses/error'
func DeleteNamespaceSolutions ¶
swagger:operation DELETE /namespaces/{namespace}/solutions Solutions DeleteNamespaceSolutions Delete all namespace solutions.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: namespace in: path type: string required: true
responses:
'202': description: solutions deleted default: $ref: '#/responses/error'
func DeleteSolution ¶
swagger:operation DELETE /namespaces/{namespace}/solutions/{solution} Solutions DeleteSolution Delete solution.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: namespace in: path type: string required: true
- name: solution in: path type: string required: true
responses:
'202': description: solution deleted default: $ref: '#/responses/error'
func DeleteSolutions ¶
swagger:operation DELETE /solutions Solutions DeleteSolutions Delete user solution.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
responses:
'202': description: user solutions deleted default: $ref: '#/responses/error'
func GetNamespaceSolutions ¶
swagger:operation GET /namespaces/{namespace}/solutions Solutions GetNamespaceSolutions Get running namespace solutions list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: namespace in: path type: string required: true
responses:
'200':
description: running namespace solutions list
schema:
$ref: '#/definitions/SolutionsList'
default:
$ref: '#/responses/error'
func GetSolution ¶
swagger:operation GET /namespaces/{namespace}/solutions/{solution} Solutions GetSolution Get running solution.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: namespace in: path type: string required: true
- name: solution in: path type: string required: true
responses:
'200':
description: running solution
schema:
$ref: '#/definitions/SolutionsList'
default:
$ref: '#/responses/error'
func GetSolutionsDeployments ¶
swagger:operation GET /namespaces/{namespace}/solutions/{solution}/deployments Solutions GetSolutionsDeployments Get solution deployments.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: namespace in: path type: string required: true
- name: solution in: path type: string required: true
responses:
'200':
description: solution deployments
schema:
$ref: '#/definitions/DeploymentsList'
default:
$ref: '#/responses/error'
func GetSolutionsList ¶
swagger:operation GET /solutions Solutions GetSolutionsList Get running solutions list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
responses:
'200':
description: running solutions list
schema:
$ref: '#/definitions/SolutionsList'
default:
$ref: '#/responses/error'
func GetSolutionsServices ¶
swagger:operation GET /namespaces/{namespace}/solutions/{solution}/services Solutions GetSolutionsServices Get solution services.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: namespace in: path type: string required: true
- name: solution in: path type: string required: true
responses:
'200':
description: solutions services
schema:
$ref: '#/definitions/ServicesList'
default:
$ref: '#/responses/error'
func GetTemplatesEnv ¶
swagger:operation GET /templates/{template}/env Templates GetTemplatesEnv Get solution templates environment variables.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: template in: path type: string required: true
responses:
'200':
description: available solution envs
schema:
$ref: '#/definitions/SolutionEnv'
default:
$ref: '#/responses/error'
func GetTemplatesList ¶
swagger:operation GET /templates Templates GetTemplatesList Get solutions templates list.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
responses:
'200':
description: available solutions
schema:
$ref: '#/definitions/SolutionsTemplatesList'
default:
$ref: '#/responses/error'
func GetTemplatesResources ¶
swagger:operation GET /templates/{template}/resources Templates GetTemplatesResources Get solution templates resources.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: template in: path type: string required: true
responses:
'200':
description: available solution resources
schema:
$ref: '#/definitions/SolutionResources'
default:
$ref: '#/responses/error'
func RunSolution ¶
swagger:operation POST /namespaces/{namespace}/solutions Solutions RunSolution Run solution.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: namespace in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/Solution'
responses:
'202':
description: solution created
schema:
$ref: '#/definitions/RunSolutionResponse'
default:
$ref: '#/responses/error'
func UpdateTemplate ¶
swagger:operation PUT /templates/{template} Templates UpdateTemplate Update template.
--- x-method-visibility: public parameters:
- $ref: '#/parameters/UserRoleHeader'
- $ref: '#/parameters/UserIDHeader'
- name: template in: path type: string required: true
- name: body in: body schema: $ref: '#/definitions/SolutionTemplate'
responses:
'202': description: solution updated default: $ref: '#/responses/error'
Types ¶
This section is empty.