Documentation ¶
Index ¶
- func BatchCreatePMHost(c *gin.Context)
- func CreateOrUpdateMatchRules(c *gin.Context)
- func CreatePMHost(c *gin.Context)
- func CreateProductTemplate(c *gin.Context)
- func CreateProjectCodeHost(c *gin.Context)
- func CreateProjectGroup(c *gin.Context)
- func CreateVariableSet(c *gin.Context)
- func DeleteCodeHost(c *gin.Context)
- func DeletePMHost(c *gin.Context)
- func DeleteProductTemplate(c *gin.Context)
- func DeleteProjectGroup(c *gin.Context)
- func DeleteVariableSet(c *gin.Context)
- func GetAgentAccessCmd(c *gin.Context)
- func GetBizDirProject(c *gin.Context)
- func GetBizDirProjectServices(c *gin.Context)
- func GetBizDirServiceDetail(c *gin.Context)
- func GetCustomMatchRules(c *gin.Context)
- func GetGlobalVariableCandidates(c *gin.Context)
- func GetGlobalVariables(c *gin.Context)
- func GetPMHost(c *gin.Context)
- func GetPresetProjectGroup(c *gin.Context)
- func GetProductTemplate(c *gin.Context)
- func GetProductTemplateServices(c *gin.Context)
- func GetProductionGlobalVariableCandidates(c *gin.Context)
- func GetProductionGlobalVariables(c *gin.Context)
- func GetProjectCodeHost(c *gin.Context)
- func GetVariableSet(c *gin.Context)
- func ListAvailableCodeHost(c *gin.Context)
- func ListLabels(c *gin.Context)
- func ListPMHosts(c *gin.Context)
- func ListProjectCodeHost(c *gin.Context)
- func ListProjectGroups(c *gin.Context)
- func ListProjects(c *gin.Context)
- func ListTemplatesHierachy(c *gin.Context)
- func ListVariableSets(c *gin.Context)
- func OfflineVM(c *gin.Context)
- func OpenAPICreateProductTemplate(c *gin.Context)
- func OpenAPIDeleteProject(c *gin.Context)
- func OpenAPIGetGlobalVariables(c *gin.Context)
- func OpenAPIGetProjectDetail(c *gin.Context)
- func OpenAPIInitializeHelmProject(c *gin.Context)
- func OpenAPIInitializeYamlProject(c *gin.Context)
- func OpenAPIListProject(c *gin.Context)
- func RecoveryVM(c *gin.Context)
- func SearchBizDirByProject(c *gin.Context)
- func SearchBizDirByService(c *gin.Context)
- func TransferProject(c *gin.Context)
- func UpdateGlobalVariables(c *gin.Context)
- func UpdatePMHost(c *gin.Context)
- func UpdateProductTemplate(c *gin.Context)
- func UpdateProductTmplStatus(c *gin.Context)
- func UpdateProductionGlobalVariables(c *gin.Context)
- func UpdateProductionServiceOrchestration(c *gin.Context)
- func UpdateProject(c *gin.Context)
- func UpdateProjectCodeHost(c *gin.Context)
- func UpdateProjectGroup(c *gin.Context)
- func UpdateServiceOrchestration(c *gin.Context)
- func UpdateVariableSet(c *gin.Context)
- func UpgradeAgent(c *gin.Context)
- type OpenAPIRouter
- type Router
- type UpdateOrchestrationServiceReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchCreatePMHost ¶
func CreatePMHost ¶
func CreateProductTemplate ¶
func CreateProjectCodeHost ¶
@Summary Create Project CodeHost @Description Create Project CodeHost @Tags project @Accept json @Produce json @Param name path string true "project name" @Param body body models.CodeHost true "body" @Success 200 @Router /api/aslan/project/integration/{name}/codehosts [post]
func CreateProjectGroup ¶
func CreateVariableSet ¶
func DeleteCodeHost ¶
@Summary Delete Project CodeHost @Description Delete Project CodeHost @Tags project @Accept json @Produce json @Param name path string true "project name" @Param id path int true "code host id" @Success 200 @Router /api/aslan/project/integration/{name}/codehosts/{id} [delete]
func DeleteProductTemplate ¶
func DeleteProjectGroup ¶
func DeleteVariableSet ¶
func GetAgentAccessCmd ¶
func GetBizDirProject ¶
@Summary Get Bussiness Directory @Description Get Bussiness Directory @Tags project @Accept json @Produce json @Success 200 {array} projectservice.GroupDetail @Router /api/aslan/project/bizdir [get]
func GetBizDirProjectServices ¶
@Summary Get Bussiness Directory Project Services @Description Get Bussiness Directory Project Services @Tags project @Accept json @Produce json @Param projectName query string true "project name" @Success 200 {array} string @Router /api/aslan/project/bizdir/services [get]
func GetBizDirServiceDetail ¶
@Summary Get Bussiness Directory Searvice Detail @Description Get Bussiness Directory Searvice Detail @Tags project @Accept json @Produce json @Param projectName query string true "project name" @Param serviceName query string true "service name" @Success 200 {array} projectservice.GetBizDirServiceDetailResponse @Router /api/aslan/project/bizdir/service/detail [get]
func GetCustomMatchRules ¶
func GetGlobalVariableCandidates ¶
@Summary Get global variable candidates @Description Get global variable candidates @Tags project @Accept json @Produce json @Param name path string true "project name" @Success 200 {array} projectservice.GetGlobalVariableCandidatesRespone @Router /api/aslan/project/products/{name}/globalVariableCandidates [get]
func GetGlobalVariables ¶
@Summary Get global variables @Description Get global variables @Tags project @Accept json @Produce json @Param name path string true "project name" @Success 200 {array} commontypes.ServiceVariableKV @Router /api/aslan/project/products/{name}/globalVariables [get]
func GetPresetProjectGroup ¶
func GetProductTemplate ¶
func GetProductTemplateServices ¶
TODO: no authorization whatsoever
func GetProductionGlobalVariableCandidates ¶
@Summary Get production_global variable candidates @Description Get global variable candidates @Tags project @Accept json @Produce json @Param name path string true "project name" @Success 200 {array} projectservice.GetGlobalVariableCandidatesRespone @Router /api/aslan/project/products/{name}/globalProductionGlobalVariables [get]
func GetProductionGlobalVariables ¶
@Summary Get global production_variables @Description Get global variables @Tags project @Accept json @Produce json @Param name path string true "project name" @Success 200 {array} commontypes.ServiceVariableKV @Router /api/aslan/project/products/{name}/productionGlobalVariables [get]
func GetProjectCodeHost ¶
@Summary Get Project CodeHost @Description Get Project CodeHost @Tags project @Accept json @Produce json @Param name path string true "project name" @Param id path int true "code host id" @Success 200 {object} models.CodeHost @Router /api/aslan/project/integration/{name}/codehosts/{id} [get]
func GetVariableSet ¶
func ListAvailableCodeHost ¶
@Summary List Available CodeHost @Description List Available CodeHost @Tags project @Accept json @Produce json @Param name path string true "project name" @Param encryptedKey query string true "encrypted key" @Success 200 {array} models.CodeHost @Router /api/aslan/project/integration/{name}/codehosts/available [get]
func ListLabels ¶
func ListPMHosts ¶
func ListProjectCodeHost ¶
@Summary List Project CodeHost @Description List Project CodeHost @Tags project @Accept json @Produce json @Param name path string true "project name" @Param encryptedKey query string true "encrypted key" @Success 200 {array} models.CodeHost @Router /api/aslan/project/integration/{name}/codehosts [get]
func ListProjectGroups ¶
func ListProjects ¶
func ListTemplatesHierachy ¶
func OpenAPIDeleteProject ¶
func OpenAPIGetProjectDetail ¶
func OpenAPIInitializeYamlProject ¶
@Summary OpenAPI Initialize Yaml Project @Description OpenAPI Initialize Yaml Project @Tags OpenAPI @Accept json @Produce json @Param body body service.OpenAPIInitializeProjectReq true "body" @Success 200 @Router /openapi/projects/project/init/yaml [post]
func OpenAPIListProject ¶
func RecoveryVM ¶
func SearchBizDirByProject ¶
@Summary Bussiness Directory Search By Project @Description Bussiness Directory Search By Project @Tags project @Accept json @Produce json @Param projectName query string true "project name" @Success 200 {array} projectservice.GroupDetail @Router /api/aslan/project/bizdir/search/project [get]
func SearchBizDirByService ¶
@Summary Bussiness Directory Search By Service @Description Bussiness Directory Search By Service @Tags project @Accept json @Produce json @Param serviceName query string true "service name" @Success 200 {array} projectservice.SearchBizDirByServiceGroup @Router /api/aslan/project/bizdir/search/service [get]
func TransferProject ¶
func UpdateGlobalVariables ¶
@Summary Update global variables @Description Update global variables @Tags project @Accept json @Produce json @Param name path string true "project name" @Param body body updateGlobalVariablesRequest true "body" @Success 200 @Router /api/aslan/project/products/{name}/globalVariables [put]
func UpdatePMHost ¶
func UpdateProductTmplStatus ¶
TODO: old API with no authorizations
func UpdateProductionGlobalVariables ¶
@Summary Update production_global variables @Description Update global variables @Tags project @Accept json @Produce json @Param name path string true "project name" @Param body body updateGlobalVariablesRequest true "body" @Success 200 @Router /api/aslan/project/products/{name}/productionGlobalVariables [put]
func UpdateProject ¶
func UpdateProjectCodeHost ¶
@Summary Update Project CodeHost @Description Update Project CodeHost @Tags project @Accept json @Produce json @Param name path string true "project name" @Param id path int true "code host id" @Param body body models.CodeHost true "body" @Success 200 @Router /api/aslan/project/integration/{name}/codehosts/{id} [patch]
func UpdateProjectGroup ¶
func UpdateVariableSet ¶
func UpgradeAgent ¶
Types ¶
type OpenAPIRouter ¶
type OpenAPIRouter struct{}
func (*OpenAPIRouter) Inject ¶
func (*OpenAPIRouter) Inject(router *gin.RouterGroup)
type Router ¶
type Router struct{}
func (*Router) Inject ¶
func (*Router) Inject(router *gin.RouterGroup)