pipeline

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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_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_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_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_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_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_QUEUE_BATCH_UPGRADE_PRIORITY = apis.ApiSpec{
	Path:        "/api/pipeline-queues/actions/batch-upgrade-pipeline-priority",
	BackendPath: "/api/pipeline-queues/actions/batch-upgrade-pipeline-priority",
	Host:        "pipeline.marathon.l4lb.thisdcos.directory:3081",
	Scheme:      "http",
	Method:      http.MethodPut,
	IsOpenAPI:   true,
	CheckToken:  true,
	RequestType: apistructs.PipelinePriorityBatchUpgradeRequest{},
	Doc:         "summary: 批量更新 pipeline 队列优先级",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL