Documentation ¶
Index ¶
- func ApproveStage(c *gin.Context)
- func AutoCreateWorkflow(c *gin.Context)
- func BuildModuleToSubTasks(c *gin.Context)
- func CancelWorkflowTaskV2(c *gin.Context)
- func CancelWorkflowTaskV4(c *gin.Context)
- func CheckShareStorageEnabled(c *gin.Context)
- func CheckWorkflowV4Approval(c *gin.Context)
- func CloneWorkflowTaskV4(c *gin.Context)
- func CompareHelmServiceYamlInEnv(c *gin.Context)
- func CopyWorkflow(c *gin.Context)
- func CreateArtifactWorkflowTask(c *gin.Context)
- func CreateCronForWorkflowV4(c *gin.Context)
- func CreateCustomWorkflowTask(c *gin.Context)
- func CreateFavoritePipeline(c *gin.Context)
- func CreateGeneralHookForWorkflowV4(c *gin.Context)
- func CreateJiraHookForWorkflowV4(c *gin.Context)
- func CreateMeegoHookForWorkflowV4(c *gin.Context)
- func CreateWebhookForWorkflowV4(c *gin.Context)
- func CreateWorkflow(c *gin.Context)
- func CreateWorkflowTask(c *gin.Context)
- func CreateWorkflowTaskV4(c *gin.Context)
- func CreateWorkflowTaskV4ByBuildInTrigger(c *gin.Context)
- func CreateWorkflowV4(c *gin.Context)
- func CreateWorkflowView(c *gin.Context)
- func DeleteCronForWorkflowV4(c *gin.Context)
- func DeleteFavoritePipeline(c *gin.Context)
- func DeleteGeneralHookForWorkflowV4(c *gin.Context)
- func DeleteJiraHookForWorkflowV4(c *gin.Context)
- func DeleteMeegoHookForWorkflowV4(c *gin.Context)
- func DeletePluginRepo(c *gin.Context)
- func DeleteWebhookForWorkflowV4(c *gin.Context)
- func DeleteWorkflow(c *gin.Context)
- func DeleteWorkflowV4(c *gin.Context)
- func DeleteWorkflowView(c *gin.Context)
- func EnableDebugWorkflowTaskV4(c *gin.Context)
- func FindWorkflow(c *gin.Context)
- func FindWorkflowV4(c *gin.Context)
- func GeneralHookEventHandler(c *gin.Context)
- func GetArtifactFile(c *gin.Context)
- func GetBlueGreenServiceK8sServiceYaml(c *gin.Context)
- func GetBundleResources(c *gin.Context)
- func GetCronForWorkflowV4Preset(c *gin.Context)
- func GetFilteredEnvServices(c *gin.Context)
- func GetFiltersPipeline(c *gin.Context)
- func GetGeneralHookForWorkflowV4Preset(c *gin.Context)
- func GetJenkinsJobParams(c *gin.Context)
- func GetJiraHookForWorkflowV4Preset(c *gin.Context)
- func GetMeegoHookForWorkflowV4Preset(c *gin.Context)
- func GetMseOfflineResources(c *gin.Context)
- func GetMseTagsInEnv(c *gin.Context)
- func GetPatchParams(c *gin.Context)
- func GetPipelineTaskSSE(c *gin.Context)
- func GetProductNameByWorkflow(c *gin.Context)
- func GetWebhookForWorkflowV4Preset(c *gin.Context)
- func GetWorkflowArgs(c *gin.Context)
- func GetWorkflowGlobalVars(c *gin.Context)
- func GetWorkflowProductName(c *gin.Context)
- func GetWorkflowRepoIndex(c *gin.Context)
- func GetWorkflowTask(c *gin.Context)
- func GetWorkflowTaskCallback(c *gin.Context)
- func GetWorkflowTaskFilters(c *gin.Context)
- func GetWorkflowTaskSSE(c *gin.Context)
- func GetWorkflowTaskV3SSE(c *gin.Context)
- func GetWorkflowTaskV4(c *gin.Context)
- func GetWorkflowTasksCustomFields(c *gin.Context)
- func GetWorkflowV4ArtifactFileContent(c *gin.Context)
- func GetWorkflowV4Preset(c *gin.Context)
- func GetWorkflowViewPreset(c *gin.Context)
- func LintWorkflowV4(c *gin.Context)
- func ListAllAvailableWorkflows(c *gin.Context)
- func ListCronForWorkflowV4(c *gin.Context)
- func ListFavoritePipelines(c *gin.Context)
- func ListGeneralHookForWorkflowV4(c *gin.Context)
- func ListJiraHookForWorkflowV4(c *gin.Context)
- func ListMeegoHookForWorkflowV4(c *gin.Context)
- func ListPluginTemplates(c *gin.Context)
- func ListServiceWorkflows(c *gin.Context)
- func ListTestWorkflows(c *gin.Context)
- func ListUnofficalPluginRepositories(c *gin.Context)
- func ListWebhookForWorkflowV4(c *gin.Context)
- func ListWorkflowTaskV4ByFilter(c *gin.Context)
- func ListWorkflowTasksResult(c *gin.Context)
- func ListWorkflowV4(c *gin.Context)
- func ListWorkflowV4CanTrigger(c *gin.Context)
- func ListWorkflowViewNames(c *gin.Context)
- func ListWorkflows(c *gin.Context)
- func OpenAPIApproveStage(c *gin.Context)
- func OpenAPICancelWorkflowTaskV4(c *gin.Context)
- func OpenAPICreateProductWorkflowTask(c *gin.Context)
- func OpenAPICreateWorkflowView(c *gin.Context)
- func OpenAPIDeleteCustomWorkflowV4(c *gin.Context)
- func OpenAPIDeleteProductWorkflowV4(c *gin.Context)
- func OpenAPIDeleteWorkflowView(c *gin.Context)
- func OpenAPIGetCustomWorkflowTaskV4(c *gin.Context)
- func OpenAPIGetCustomWorkflowV4(c *gin.Context)
- func OpenAPIGetProductWorkflowTaskV4(c *gin.Context)
- func OpenAPIGetProductWorkflowTasksV4(c *gin.Context)
- func OpenAPIGetWorkflowTaskV4(c *gin.Context)
- func OpenAPIGetWorkflowV4List(c *gin.Context)
- func OpenAPIGetWorkflowViews(c *gin.Context)
- func OpenAPIRetryCustomWorkflowTaskV4(c *gin.Context)
- func OpenAPIUpdateWorkflowView(c *gin.Context)
- func PendingPipelineTasksSSE(c *gin.Context)
- func PendingWorkflowTasksSSE(c *gin.Context)
- func Placeholder10(c *gin.Context)
- func Placeholder11(c *gin.Context)
- func Placeholder12(c *gin.Context)
- func Placeholder13(c *gin.Context)
- func Placeholder2(c *gin.Context)
- func Placeholder3(c *gin.Context)
- func Placeholder4(c *gin.Context)
- func Placeholder5(c *gin.Context)
- func Placeholder6(c *gin.Context)
- func Placeholder7(c *gin.Context)
- func Placeholder8(c *gin.Context)
- func Placeholder9(c *gin.Context)
- func PlaceholderDeplyJobSpec(c *gin.Context)
- func PlaceholderUpdateEnvIstioConfigJobSpec(c *gin.Context)
- func PreSetWorkflow(c *gin.Context)
- func PresetWorkflowArgs(c *gin.Context)
- func ProcessWebHook(c *gin.Context)
- func RenderMseServiceYaml(c *gin.Context)
- func RestartWorkflowTask(c *gin.Context)
- func RetryWorkflowTaskV4(c *gin.Context)
- func RunningPipelineTasksSSE(c *gin.Context)
- func RunningWorkflowTasksSSE(c *gin.Context)
- func SetWorkflowTaskV4Breakpoint(c *gin.Context)
- func SetWorkflowTasksCustomFields(c *gin.Context)
- func StopDebugWorkflowTaskJobV4(c *gin.Context)
- func UpdateCronForWorkflowV4(c *gin.Context)
- func UpdateGeneralHookForWorkflowV4(c *gin.Context)
- func UpdateJiraHookForWorkflowV4(c *gin.Context)
- func UpdateMeegoHookForWorkflowV4(c *gin.Context)
- func UpdateWebhookForWorkflowV4(c *gin.Context)
- func UpdateWorkflow(c *gin.Context)
- func UpdateWorkflowV4(c *gin.Context)
- func UpdateWorkflowView(c *gin.Context)
- func UpsertEnterprisePluginRepository(c *gin.Context)
- func UpsertUserPluginRepository(c *gin.Context)
- func ValidateSQL(c *gin.Context)
- type ApproveRequest
- type ModuleAndImage
- type OpenAPIRouter
- type Router
- type ValidateSQLReq
- type ValidateSQLResp
- type YamlResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApproveStage ¶
func AutoCreateWorkflow ¶
func BuildModuleToSubTasks ¶
func CancelWorkflowTaskV2 ¶
func CancelWorkflowTaskV4 ¶
func CheckWorkflowV4Approval ¶
func CloneWorkflowTaskV4 ¶
func CompareHelmServiceYamlInEnv ¶
@Summary Compare Helm Service Yaml In Env @Description Compare Helm Service Yaml In Env @Tags workflow @Accept json @Produce json @Param body body getHelmValuesDifferenceReq true "body" @Success 200 {object} workflow.GetHelmValuesDifferenceResp @Router /api/aslan/workflow/v4/yamlComparison [post]
func CopyWorkflow ¶
func CreateArtifactWorkflowTask ¶
CreateArtifactWorkflowTask create a artifact workflow task
func CreateCronForWorkflowV4 ¶
func CreateFavoritePipeline ¶
func CreateWorkflow ¶
func CreateWorkflowTask ¶
CreateWorkflowTask create a workflow task
func CreateWorkflowTaskV4 ¶
func CreateWorkflowTaskV4ByBuildInTrigger ¶
TODO: fix the authorization problem for this
func CreateWorkflowV4 ¶
func CreateWorkflowView ¶
func DeleteCronForWorkflowV4 ¶
func DeleteFavoritePipeline ¶
func DeletePluginRepo ¶
func DeleteWorkflow ¶
func DeleteWorkflowV4 ¶
func DeleteWorkflowView ¶
func FindWorkflowV4 ¶
func GeneralHookEventHandler ¶
func GetArtifactFile ¶
func GetBundleResources ¶
func GetFilteredEnvServices ¶
@Summary Get filtered env services @Description Get filtered env services @Tags workflow @Accept json @Produce json @Param body body filterDeployServiceVarsQuery true "body" @Success 200 {array} commonmodels.DeployService @Router /api/aslan/workflow/v4/filterEnv [post]
func GetFiltersPipeline ¶
func GetJenkinsJobParams ¶
func GetMseOfflineResources ¶
func GetMseTagsInEnv ¶
func GetPatchParams ¶
func GetPipelineTaskSSE ¶
func GetWorkflowGlobalVars ¶
func GetWorkflowProductName ¶
func GetWorkflowRepoIndex ¶
func GetWorkflowTask ¶
func GetWorkflowTaskCallback ¶
func GetWorkflowTaskFilters ¶
func GetWorkflowTaskSSE ¶
func GetWorkflowTaskV3SSE ¶
func GetWorkflowTaskV4 ¶
func GetWorkflowV4Preset ¶
func GetWorkflowViewPreset ¶
func LintWorkflowV4 ¶
func ListCronForWorkflowV4 ¶
func ListFavoritePipelines ¶
func ListPluginTemplates ¶
func ListServiceWorkflows ¶
func ListTestWorkflows ¶
TODO: this API is used only by picket, should be removed later
func ListWorkflowTasksResult ¶
ListWorkflowTasksResult workflowtask分页信息
func ListWorkflowV4 ¶
func ListWorkflowViewNames ¶
func ListWorkflows ¶
func OpenAPIApproveStage ¶
func OpenAPIGetWorkflowViews ¶
func PendingPipelineTasksSSE ¶
func PendingWorkflowTasksSSE ¶
func Placeholder10 ¶ added in v2.3.0
@Summary [DONT USE] GrayRollbackJobSpec @Description [DONT USE] GrayRollbackJobSpec @Tags placeholder @Accept json @Produce json @Param gray_rollback_job_spec body commonmodels.GrayRollbackJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/gray_rollback_job_spec [post]
func Placeholder11 ¶ added in v2.3.0
@Summary [DONT USE] ZadigScanningJobSpec @Description [DONT USE] ZadigScanningJobSpec @Tags placeholder @Accept json @Produce json @Param zadig_scanning_job_spec body commonmodels.ZadigScanningJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/zadig_scanning_job_spec [post]
func Placeholder12 ¶ added in v2.3.0
@Summary [DONT USE] ZadigVMDeployJobSpec @Description [DONT USE] ZadigVMDeployJobSpec @Tags placeholder @Accept json @Produce json @Param zadig_vm_deploy_job_spec body commonmodels.ZadigVMDeployJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/zadig_vm_deploy_job_spec [post]
func Placeholder13 ¶ added in v2.3.0
@Summary [DONT USE] ApolloJobSpec @Description [DONT USE] ApolloJobSpec @Tags placeholder @Accept json @Produce json @Param apollo_job_spec body commonmodels.ApolloJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/apollo_job_spec [post]
func Placeholder2 ¶ added in v2.3.0
@Summary [DONT USE] CustomDeployJobSpec @Description [DONT USE] CustomDeployJobSpec @Tags placeholder @Accept json @Produce json @Param deploy_job_spec body commonmodels.CustomDeployJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/custom_deploy_job_spec [post]
func Placeholder3 ¶ added in v2.3.0
@Summary [DONT USE] ZadigBuildJobSpec @Description [DONT USE] ZadigBuildJobSpec @Tags placeholder @Accept json @Produce json @Param deploy_job_spec body commonmodels.ZadigBuildJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/zadig_build_job_spec [post]
func Placeholder4 ¶ added in v2.3.0
@Summary [DONT USE] ZadigHelmChartDeployJobSpec @Description [DONT USE] ZadigHelmChartDeployJobSpec @Tags placeholder @Accept json @Produce json @Param deploy_job_spec body commonmodels.ZadigHelmChartDeployJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/zadig_helm_chart_deploy_job_spec [post]
func Placeholder5 ¶ added in v2.3.0
@Summary [DONT USE] K8sPatchJobSpec @Description [DONT USE] K8sPatchJobSpec @Tags placeholder @Accept json @Produce json @Param deploy_job_spec body commonmodels.K8sPatchJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/k8s_patch_job_spec [post]
func Placeholder6 ¶ added in v2.3.0
@Summary [DONT USE] BlueGreenDeployV2JobSpec @Description [DONT USE] BlueGreenDeployV2JobSpec @Tags placeholder @Accept json @Produce json @Param blue_green_deploy_v2_jobSpec body commonmodels.BlueGreenDeployV2JobSpec true "body" @Success 200 @Router /api/aslan/placeholder/blue_green_deploy_v2_jobSpec [post]
func Placeholder7 ¶ added in v2.3.0
@Summary [DONT USE] CanaryDeployJobSpec @Description [DONT USE] CanaryDeployJobSpec @Tags placeholder @Accept json @Produce json @Param canary_deploy_job_spec body commonmodels.CanaryDeployJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/canary_deploy_job_spec [post]
func Placeholder8 ¶ added in v2.3.0
@Summary [DONT USE] ZadigDistributeImageJobSpec @Description [DONT USE] ZadigDistributeImageJobSpec @Tags placeholder @Accept json @Produce json @Param zadig_distribute_image_job_spec body commonmodels.ZadigDistributeImageJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/zadig_distribute_image_job_spec [post]
func Placeholder9 ¶ added in v2.3.0
@Summary [DONT USE] GrayReleaseJobSpec @Description [DONT USE] GrayReleaseJobSpec @Tags placeholder @Accept json @Produce json @Param gray_release_job_spec body commonmodels.GrayReleaseJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/gray_release_job_spec [post]
func PlaceholderDeplyJobSpec ¶ added in v2.3.0
@Summary [DONT USE] ZadigDeployJobSpec @Description [DONT USE] ZadigDeployJobSpec @Tags placeholder @Accept json @Produce json @Param deploy_job_spec body commonmodels.ZadigDeployJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/deploy_job_spec [post]
func PlaceholderUpdateEnvIstioConfigJobSpec ¶ added in v2.3.0
@Summary [DONT USE] UpdateEnvIstioConfigJobSpec @Description [DONT USE] UpdateEnvIstioConfigJobSpec @Tags placeholder @Accept json @Produce json @Param update_env_istio_config_job_spec body commonmodels.UpdateEnvIstioConfigJobSpec true "body" @Success 200 @Router /api/aslan/placeholder/update_env_istio_config_job_spec [post]
func PreSetWorkflow ¶
func PresetWorkflowArgs ¶
PresetWorkflowArgs find a workflow task
func ProcessWebHook ¶
func RenderMseServiceYaml ¶
func RestartWorkflowTask ¶
func RetryWorkflowTaskV4 ¶
func RunningPipelineTasksSSE ¶
func RunningWorkflowTasksSSE ¶
func UpdateCronForWorkflowV4 ¶
func UpdateWorkflowV4 ¶
func UpdateWorkflowView ¶
func ValidateSQL ¶
Types ¶
type ApproveRequest ¶
type ModuleAndImage ¶
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)
type ValidateSQLReq ¶
type ValidateSQLReq struct { Type config.DBInstanceType `json:"type"` SQL string `json:"sql"` }
type ValidateSQLResp ¶
type ValidateSQLResp struct {
Message string `json:"message"`
}
type YamlResponse ¶
type YamlResponse struct {
Yaml string `json:"yaml"`
}