autotest

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ACTION_LOG_DOWNLOAD = apis.ApiSpec{
	Path:        "/api/autotests/filetree/<inode>/actions/download-action-log",
	BackendPath: "/api/logs/actions/download",
	Host:        "monitor.marathon.l4lb.thisdcos.directory:7096",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	ChunkAPI:    true,
	Doc:         "下载自动化测试节点 action 日志",
}
View Source
var ACTION_LOG_GET = apis.ApiSpec{
	Path:        "/api/autotests/filetree/<inode>/actions/get-action-log",
	BackendPath: "/api/logs",
	Host:        "monitor.marathon.l4lb.thisdcos.directory:7096",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "查看自动化测试节点 action 日志",
}
View Source
var AUTOTESTS_SCENES_CANCEL = apis.ApiSpec{
	Path:        "/api/autotests/scenes/<sceneID>/actions/cancel",
	BackendPath: "/api/autotests/scenes/<sceneID>/actions/cancel",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodPost,
	CheckLogin:  true,
	Doc:         "自动化测试场景取消执行",
}
View Source
var AUTOTESTS_SCENES_EXECUTE = apis.ApiSpec{
	Path:        "/api/autotests/scenes/<sceneID>/actions/execute",
	BackendPath: "/api/autotests/scenes/<sceneID>/actions/execute",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodPost,
	CheckLogin:  true,
	CheckToken:  true,
	IsOpenAPI:   true,
	Doc:         "自动化测试场景执行",
}
View Source
var BATCH_QUERY_PIPELINE_SNIPPET_YAML = apis.ApiSpec{
	Path:        "/api/autotests/pipeline-snippets/actions/batch-query-snippet-yml",
	BackendPath: "/api/autotests/pipeline-snippets/actions/batch-query-snippet-yml",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodPost,
	CheckLogin:  true,
	RequestType: apistructs.AutoTestCaseSavePipelineRequest{},
	Doc:         "批量查询自动化测试用例流水线文件",
}
View Source
var FILETREE_NODE_COPY = apis.ApiSpec{
	Path:         "/api/autotests/filetree/<inode>/actions/copy",
	BackendPath:  "/api/autotests/filetree/<inode>/actions/copy",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeCopyRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeCopyResponse{},
	Doc:          "复制自动化测试目录树节点",
}
View Source
var FILETREE_NODE_CREATE = apis.ApiSpec{
	Path:         "/api/autotests/filetree",
	BackendPath:  "/api/autotests/filetree",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeCreateRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeCreateResponse{},
	Doc:          "创建自动化测试目录树节点",
}
View Source
var FILETREE_NODE_DELETE = apis.ApiSpec{
	Path:         "/api/autotests/filetree/<inode>",
	BackendPath:  "/api/autotests/filetree/<inode>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodDelete,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeDeleteRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeDeleteResponse{},
	Doc:          "删除自动化测试目录树节点",
}
View Source
var FILETREE_NODE_FIND_ANCESTORS = apis.ApiSpec{
	Path:         "/api/autotests/filetree/<inode>/actions/find-ancestors",
	BackendPath:  "/api/autotests/filetree/<inode>/actions/find-ancestors",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeFindAncestorsRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeFindAncestorsResponse{},
	Doc:          "自动化测试目录树节点寻祖",
}
View Source
var FILETREE_NODE_FUZZY_SEARCH = apis.ApiSpec{
	Path:         "/api/autotests/filetree/actions/fuzzy-search",
	BackendPath:  "/api/autotests/filetree/actions/fuzzy-search",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeFuzzySearchRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeFuzzySearchResponse{},
	Doc:          "自动化测试目录树节点模糊搜索",
}
View Source
var FILETREE_NODE_GET = apis.ApiSpec{
	Path:         "/api/autotests/filetree/<inode>",
	BackendPath:  "/api/autotests/filetree/<inode>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeGetRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeGetResponse{},
	Doc:          "查询自动化测试目录树节点详情",
}
View Source
var FILETREE_NODE_HISTORY_LIST = apis.ApiSpec{
	Path:        "/api/autotests/filetree/<inode>/actions/get-histories",
	BackendPath: "/api/autotests/filetree/<inode>/actions/get-histories",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodGet,
	CheckLogin:  true,
	RequestType: apistructs.UnifiedFileTreeNodeHistorySearchRequest{},
	Doc:         "查询自动化测试的历史记录",
}
View Source
var FILETREE_NODE_LIST = apis.ApiSpec{
	Path:         "/api/autotests/filetree",
	BackendPath:  "/api/autotests/filetree",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeListRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeListResponse{},
	Doc:          "查询自动化测试目录树节点列表",
}
View Source
var FILETREE_NODE_MOVE = apis.ApiSpec{
	Path:         "/api/autotests/filetree/<inode>/actions/move",
	BackendPath:  "/api/autotests/filetree/<inode>/actions/move",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeMoveRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeMoveResponse{},
	Doc:          "移动自动化测试目录树节点失败",
}
View Source
var FILETREE_NODE_SAVE_PIPELINE = apis.ApiSpec{
	Path:         "/api/autotests/filetree/<inode>/actions/save-pipeline",
	BackendPath:  "/api/autotests/filetree/<inode>/actions/save-pipeline",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.AutoTestCaseSavePipelineRequest{},
	ResponseType: apistructs.AutoTestCaseSavePipelineResponse{},
	Doc:          "保存自动化测试用例流水线",
}
View Source
var FILETREE_NODE_UPDATE_BASIC_INFO = apis.ApiSpec{
	Path:         "/api/autotests/filetree/<inode>",
	BackendPath:  "/api/autotests/filetree/<inode>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPut,
	CheckLogin:   true,
	RequestType:  apistructs.UnifiedFileTreeNodeUpdateBasicInfoRequest{},
	ResponseType: apistructs.UnifiedFileTreeNodeUpdateBasicInfoResponse{},
	Doc:          "更新自动化测试目录树节点基础信息",
}
View Source
var GLOBAL_CONFIG_CREATE = apis.ApiSpec{
	Path:         "/api/autotests/global-configs",
	BackendPath:  "/api/autotests/global-configs",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.AutoTestGlobalConfigCreateRequest{},
	ResponseType: apistructs.AutoTestGlobalConfigCreateResponse{},
	Doc:          "创建自动化测试全局配置",
}
View Source
var GLOBAL_CONFIG_DELETE = apis.ApiSpec{
	Path:         "/api/autotests/global-configs/<ns>",
	BackendPath:  "/api/autotests/global-configs/<ns>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodDelete,
	CheckLogin:   true,
	RequestType:  apistructs.AutoTestGlobalConfigDeleteRequest{},
	ResponseType: apistructs.AutoTestGlobalConfigDeleteResponse{},
	Doc:          "删除自动化测试全局配置",
}
View Source
var GLOBAL_CONFIG_LIST = apis.ApiSpec{
	Path:         "/api/autotests/global-configs",
	BackendPath:  "/api/autotests/global-configs",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	RequestType:  apistructs.AutoTestGlobalConfigListRequest{},
	ResponseType: apistructs.AutoTestGlobalConfigListResponse{},
	Doc:          "查询自动化测试全局配置列表",
}
View Source
var GLOBAL_CONFIG_UPDATE = apis.ApiSpec{
	Path:         "/api/autotests/global-configs/<ns>",
	BackendPath:  "/api/autotests/global-configs/<ns>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPut,
	CheckLogin:   true,
	RequestType:  apistructs.AutoTestGlobalConfigUpdateRequest{},
	ResponseType: apistructs.AutoTestGlobalConfigUpdateResponse{},
	Doc:          "更新自动化测试全局配置",
}
View Source
var QA_REPORTSETS_LIST = apis.ApiSpec{
	Path:        "/api/reportsets/<pipelineID>",
	BackendPath: "/api/reportsets/<pipelineID>",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodGet,
	CheckLogin:  true,
	Doc:         "QA的上报数据查询",
}
View Source
var QUERY_PIPELINE_SNIPPET_YAML = apis.ApiSpec{
	Path:        "/api/autotests/pipeline-snippets/actions/query-snippet-yml",
	BackendPath: "/api/autotests/pipeline-snippets/actions/query-snippet-yml",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodPost,
	CheckLogin:  true,
	RequestType: apistructs.AutoTestCaseSavePipelineRequest{},
	Doc:         "查询自动化测试用例流水线文件",
}
View Source
var SPACE_EXPORT = apis.ApiSpec{
	Path:         "/api/autotests/spaces/actions/export",
	BackendPath:  "/api/autotests/spaces/actions/export",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	RequestType:  apistructs.AutoTestSpaceExportRequest{},
	ResponseType: apistructs.AutoTestSpaceExportResponse{},
	CheckLogin:   true,
	Doc:          "summary: 导出自动化测试空间",
}
View Source
var SPACE_IMPORT = apis.ApiSpec{
	Path:         "/api/autotests/spaces/actions/import",
	BackendPath:  "/api/autotests/spaces/actions/import",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	RequestType:  apistructs.AutoTestSpaceImportRequest{},
	ResponseType: apistructs.AutoTestSpaceImportResponse{},
	Doc:          "summary: 导入自动化测试空间",
	CheckLogin:   true,
}

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