Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CI_PING = apis.ApiSpec{ Path: "/api/pipelines/ping", BackendPath: "/ping", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: "GET", CheckLogin: false, Doc: "summary: ping 健康检查接口", }
View Source
var PIPELINE_ACTIONS_DETAIL = apis.ApiSpec{ Path: "/api/actions/<actionType>", BackendPath: "/api/actions/<actionType>", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionDetailResponse{}, Doc: "summary: 获取单个 action 类型详情", }
View Source
var PIPELINE_ACTIONS_LIST = apis.ApiSpec{ Path: "/api/actions", BackendPath: "/api/actions", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionListResponse{}, Doc: "summary: 获取 action 列表", }
View Source
var PIPELINE_BATCH_CREATE = apis.ApiSpec{ Path: "/api/pipelines/actions/batch-create", BackendPath: "/api/pipelines/actions/batch-create", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.PipelineBatchCreateRequest{}, ResponseType: apistructs.PipelineBatchCreateResponse{}, Doc: "summary: 批量创建 pipeline", }
View Source
var PIPELINE_BRANCHES_ALL_VALID = apis.ApiSpec{ Path: "/api/pipelines/actions/app-all-valid-branch-workspaces", BackendPath: "/api/pipelines/actions/app-all-valid-branch-workspaces", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineAppAllValidBranchWorkspaceResponse{}, Doc: "summary: 获取应用下所有符合 gitflow 规范的分支列表,以及每个分支对应的 workspace", }
View Source
var PIPELINE_BUILD_ARTIFACT_QUERY = apis.ApiSpec{ Path: "/api/build-artifacts/<sha>", BackendPath: "/api/build-artifacts/<sha>", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: "GET", IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.BuildArtifactQueryResponse{}, Doc: "summary: 查询 build artifact 是否存在", }
View Source
var PIPELINE_BUILD_ARTIFACT_REGISTER = apis.ApiSpec{ Path: "/api/build-artifacts", BackendPath: "/api/build-artifacts", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: "POST", IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.BuildArtifactRegisterRequest{}, ResponseType: apistructs.BuildArtifactRegisterResponse{}, Doc: "summary: 注册 build artifact", }
View Source
var PIPELINE_BUILD_CACHE_REPORT = apis.ApiSpec{ Path: "/api/build-caches", BackendPath: "/api/build-caches", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: "POST", IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.BuildCacheImageReportRequest{}, ResponseType: apistructs.BuildCacheImageReportResponse{}, Doc: "summary: 上报缓存镜像使用情况", }
View Source
var PIPELINE_CANCEL = apis.ApiSpec{ Path: "/api/pipelines/<pipelineID>/actions/cancel", BackendPath: "/api/pipelines/<pipelineID>/actions/cancel", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineCancelResponse{}, Doc: "summary: 取消 pipeline", }
View Source
var PIPELINE_CONFIG_NAMESPACE = apis.ApiSpec{ Path: "/api/pipelines/actions/fetch-config-namespaces", BackendPath: "/api/pipelines/actions/fetch-config-namespaces", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineConfigNamespacesFetchResponse{}, Doc: "summary: 获取应用级别的配置的命名空间", }
View Source
var PIPELINE_CREATE = apis.ApiSpec{ Path: "/api/pipelines", BackendPath: "/api/pipelines", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.PipelineCreateRequest{}, ResponseType: apistructs.PipelineCreateResponse{}, Doc: "summary: 创建 pipeline", }
View Source
var PIPELINE_CRON_LIST = apis.ApiSpec{ Path: "/api/pipeline-crons", BackendPath: "/api/pipeline-crons", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineCronListResponse{}, Doc: "summary: 定时 pipeline 列表", }
View Source
var PIPELINE_CRON_START = apis.ApiSpec{ Path: "/api/pipeline-crons/<cronID>/actions/start", BackendPath: "/api/pipeline-crons/<cronID>/actions/start", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPut, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineCronStartResponse{}, Doc: "summary: 开始定时 pipeline", }
View Source
var PIPELINE_CRON_STOP = apis.ApiSpec{ Path: "/api/pipeline-crons/<cronID>/actions/stop", BackendPath: "/api/pipeline-crons/<cronID>/actions/stop", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPut, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineCronStopResponse{}, Doc: "summary: 停止定时 pipeline", }
View Source
var PIPELINE_DETAIL = apis.ApiSpec{ Path: "/api/pipelines/<pipelineID>", BackendPath: "/api/pipelines/<pipelineID>", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineDetailResponse{}, Doc: "summary: pipeline 详情", }
View Source
var PIPELINE_INVOKED_COMBO = apis.ApiSpec{ Path: "/api/pipelines/actions/app-invoked-combos", BackendPath: "/api/pipelines/actions/app-invoked-combos", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.PipelineInvokedComboRequest{}, ResponseType: apistructs.PipelineInvokedComboResponse{}, Doc: "summary: pipeline 侧边栏 combo", }
View Source
var PIPELINE_LIST = apis.ApiSpec{ Path: "/api/pipelines", BackendPath: "/api/pipelines", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.PipelinePageListRequest{}, ResponseType: apistructs.PipelinePageListResponse{}, Doc: "summary: pipeline 列表", }
View Source
var PIPELINE_OPERATE = apis.ApiSpec{ Path: "/api/pipelines/<pipelineID>", BackendPath: "/api/pipelines/<pipelineID>", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPut, CheckLogin: true, CheckToken: true, IsOpenAPI: true, RequestType: apistructs.PipelineOperateRequest{}, ResponseType: apistructs.PipelineOperateResponse{}, Doc: "summary: 操作 pipeline", }
View Source
var PIPELINE_PLATFORM_CALLBACK = apis.ApiSpec{ Path: "/api/pipelines/actions/callback", BackendPath: "/api/pipelines/actions/callback", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: "POST", IsOpenAPI: true, CheckLogin: false, CheckToken: true, RequestType: apistructs.PipelineCallbackRequest{}, ResponseType: apistructs.PipelineCallbackResponse{}, Doc: "summary: pipeline 所有回调统一接口", }
View Source
var PIPELINE_PUBLIC_ACTIONS_LIST = apis.ApiSpec{ Path: "/api/public-actions", BackendPath: "/api/public-actions", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionQueryResponse{}, Doc: "summary: 获取action市场有效的action列表", }
View Source
var PIPELINE_PUBLIC_ACTIONS_LIST_BY_NAME = apis.ApiSpec{ Path: "/api/public-actions/<name>", BackendPath: "/api/public-actions/<name>", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionQueryResponse{}, Doc: "summary: 根据action名字获取历史action版本", }
View Source
var PIPELINE_PUBLIC_ACTION_PUBLISH = apis.ApiSpec{ Path: "/api/public-actions", BackendPath: "/api/public-actions", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionCreateResponse{}, RequestType: apistructs.ActionCreateRequest{}, Doc: "summary: 发布 action 列表", }
View Source
var PIPELINE_PUBLIC_ACTION_REPUBLISH = apis.ApiSpec{ Path: "/api/public-actions/<name>/<version>/actions/republish", BackendPath: "/api/public-actions/<name>/<version>/actions/republish", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionSetStatusResponse{}, Doc: "summary: 对发布失败的action重新发布", }
View Source
var PIPELINE_PUBLIC_ACTION_SET_DEFAULT = apis.ApiSpec{ Path: "/api/public-actions/<name>/<version>/actions/set-default", BackendPath: "/api/public-actions/<name>/<version>/actions/set-default", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionSetStatusResponse{}, Doc: "summary: 设置指定版本action为默认版本", }
View Source
var PIPELINE_PUBLIC_ACTION_UNSET_DEFAULT = apis.ApiSpec{ Path: "/api/public-actions/<name>/<version>/actions/unset-default", BackendPath: "/api/public-actions/<name>/<version>/actions/unset-default", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.ActionSetStatusResponse{}, Doc: "summary: 取消设置指定版本action的默认状态", }
View Source
var PIPELINE_RERUN = apis.ApiSpec{ Path: "/api/pipelines/<pipelineID>/actions/rerun", BackendPath: "/api/pipelines/<pipelineID>/actions/rerun", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineRerunResponse{}, Doc: "summary: pipeline 全流程重试", }
View Source
var PIPELINE_RERUN_FAILED = apis.ApiSpec{ Path: "/api/pipelines/<pipelineID>/actions/rerun-failed", BackendPath: "/api/pipelines/<pipelineID>/actions/rerun-failed", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.PipelineRerunFailedResponse{}, Doc: "summary: pipeline 从失败节点处开始重试", }
View Source
var PIPELINE_RUN = apis.ApiSpec{ Path: "/api/pipelines/<pipelineID>/actions/run", BackendPath: "/api/pipelines/<pipelineID>/actions/run", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, ResponseType: apistructs.PipelineRunResponse{}, Doc: "summary: 开始 pipeline", }
View Source
var PIPELINE_SNIPPET_QUERY_OUTPUTS = apis.ApiSpec{ Path: "/api/pipeline-snippets/actions/query-details", BackendPath: "/api/pipeline-snippets/actions/query-details", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, CheckLogin: true, CheckToken: true, Doc: "summary: 用于查询 snippet 的 detail, 包括 params 和 outputs", }
View Source
var PIPELINE_TASK_GET_BOOTSTRAP_INFO = apis.ApiSpec{ Path: "/api/pipelines/<pipelineID>/tasks/<taskID>/actions/get-bootstrap-info", BackendPath: "/api/pipelines/<pipelineID>/tasks/<taskID>/actions/get-bootstrap-info", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodGet, CheckLogin: false, CheckToken: true, Doc: "summary: task 调用 pipeline 获取启动参数", }
View Source
var PIPELINE_V2_CREATE = apis.ApiSpec{ Path: "/api/v2/pipelines", BackendPath: "/api/v2/pipelines", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.PipelineCreateRequestV2{}, ResponseType: apistructs.PipelineCreateResponse{}, Doc: "summary: v2 版本创建 pipeline", }
View Source
var PIPELINE_YML_GRAPH = apis.ApiSpec{ Path: "/api/pipelines/actions/pipeline-yml-graph", BackendPath: "/api/pipelines/actions/pipeline-yml-graph", Host: "pipeline.marathon.l4lb.thisdcos.directory:3081", Scheme: "http", Method: http.MethodPost, IsOpenAPI: true, CheckLogin: true, CheckToken: true, RequestType: apistructs.PipelineYmlParseGraphRequest{}, ResponseType: apistructs.PipelineYmlParseGraphResponse{}, Doc: "summary: pipeline yml 图形化展示接口", }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
- pipeline_actions_detail.go
- pipeline_actions_list.go
- pipeline_batch_create.go
- pipeline_branch_all_valid.go
- pipeline_build_artifact_query.go
- pipeline_build_artifact_register.go
- pipeline_build_cache_report.go
- pipeline_cancel.go
- pipeline_config_namespace.go
- pipeline_create.go
- pipeline_cron_list.go
- pipeline_cron_start.go
- pipeline_cron_stop.go
- pipeline_detail.go
- pipeline_invoked_combo.go
- pipeline_list.go
- pipeline_operate.go
- pipeline_ping.go
- pipeline_platform_callback.go
- pipeline_public_action_list.go
- pipeline_public_action_list_by_name.go
- pipeline_public_action_publish.go
- pipeline_public_action_republish.go
- pipeline_public_action_set_default.go
- pipeline_public_action_unset_default.go
- pipeline_rerun.go
- pipeline_rerun_failed.go
- pipeline_run.go
- pipeline_snippet_query_outputs.go
- pipeline_task_get_bootstrap_info.go
- pipeline_v2_create.go
- pipeline_yml_graph.go
Click to show internal directories.
Click to hide internal directories.