tmc

package
v1.1.0-rc Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TMC_ERROR_EVENT = apis.ApiSpec{
	Path:        "/api/error-events/<eventId>",
	BackendPath: "/api/tmc/error-events/<eventId>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 查询error-event详情",
}
View Source
var TMC_ERROR_EVENT_IDS = apis.ApiSpec{
	Path:        "/api/errors/<errorId>/error-events",
	BackendPath: "/api/tmc/errors/<errorId>/error-events",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 查询error下的event id列表",
}
View Source
var TMC_ERROR_LISTS = apis.ApiSpec{
	Path:        "/api/tmc/errors",
	BackendPath: "/api/tmc/errors",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 查询指定project和环境下面的error列表",
}
View Source
var TMC_MICRO_SERVICE_ALERT = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务告警详情",
}
View Source
var TMC_MICRO_SERVICE_ALERTS = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务告警列表",
}
View Source
var TMC_MICRO_SERVICE_ALERTS_RULES = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/rules",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/rules",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务告警规则列表",
}
View Source
var TMC_MICRO_SERVICE_ALERT_CREATE = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 创建微服务告警",
	Audit:       auditCreateMicroserviceAlert(apistructs.CreateMicroserviceAlert),
}
View Source
var TMC_MICRO_SERVICE_ALERT_DELETE = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 删除微服务告警",
	Audit:       auditOperateMicroserviceAlert(apistructs.DeleteMicroserviceAlert, "delete"),
}
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD = apis.ApiSpec{
	Path:        "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>",
	BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务告警记录",
}
View Source
var TMC_MICRO_SERVICE_ALERT_RECORDS = apis.ApiSpec{
	Path:        "/api/tmc/tenantGroup/<tenantGroup>/alert-records",
	BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务告警记录列表",
}
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_ATTRS = apis.ApiSpec{
	Path:        "/api/tmc/tenantGroup/<tenantGroup>/alert-record-attrs",
	BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-record-attrs",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务告警记录属性",
}
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_HISTORIES = apis.ApiSpec{
	Path:        "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/histories",
	BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/histories",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务告警记录历史",
}
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_ISSUE_CREATE = apis.ApiSpec{
	Path:        "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues",
	BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 创建微服务告警记录工单",
}
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_ISSUE_UPDATE = apis.ApiSpec{
	Path:        "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues/<issueId>",
	BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "PUT",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 修改微服务告警记录工单",
}
View Source
var TMC_MICRO_SERVICE_ALERT_SWITCH = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>/switch",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>/switch",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "PUT",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 切换微服务告警开关",
	Audit:       auditOperateMicroserviceAlert(apistructs.SwitchMicroserviceAlert, ""),
}
View Source
var TMC_MICRO_SERVICE_ALERT_UPDATE = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "PUT",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 修改微服务告警",
	Audit:       auditOperateMicroserviceAlert(apistructs.UpdateMicroserviceAlert, "update"),
}
View Source
var TMC_MICRO_SERVICE_CREATE = apis.ApiSpec{
	Path:        "/api/micro-service/<*>",
	BackendPath: "/api/tmc/micro-service/<*>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 管理微服务的创建",
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务自定义告警详情",
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERTS = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取微服务自定义告警列表",
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_CREATE = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 创建微服务自定义告警",
	Audit:       auditCreateMicroserviceAlert(apistructs.CreateMicroserviceCustomAlert),
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_DASH_PREVIEW = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/dash-preview/query",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/dash-preview/query",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 微服务自定义告警预览大盘生成",
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_DELETE = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 删除微服务自定义告警",
	Audit:       auditOperateMicroserviceCustomAlert(apistructs.DeleteMicroserviceCustomAlert, "delete"),
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_METRICS = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/metrics",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/metrics",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取企业自定义告警指标",
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_NOTIFY_TARGET = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/notifies/targets",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/notifies/targets",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取企业自定义告警通知方式",
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_SWITCH = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>/switch",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>/switch",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "PUT",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 切换微服务自定义告警开关",
	Audit:       auditOperateMicroserviceCustomAlert(apistructs.SwitchMicroserviceCustomAlert, ""),
}
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_UPDATE = apis.ApiSpec{
	Path:        "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>",
	BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "PUT",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 修改微服务自定义告警",
	Audit:       auditOperateMicroserviceCustomAlert(apistructs.UpdateMicroserviceCustomAlert, "update"),
}
View Source
var TMC_MICRO_SERVICE_DELETE = apis.ApiSpec{
	Path:        "/api/micro-service/<*>",
	BackendPath: "/api/tmc/micro-service/<*>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 管理微服务的删除",
}
View Source
var TMC_MONITOR_INSTAC = apis.ApiSpec{
	Path:        "/api/monitor/instances/<terminusKey>",
	BackendPath: "/api/msp/monitor/instances/<terminusKey>",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 根据TerminusKey获取monitor实例",
}
View Source
var TMC_MONITOR_RUNTIME = apis.ApiSpec{
	Path:        "/api/tmc/monitor/runtime/<runtimeId>",
	BackendPath: "/api/msp/monitor/runtime/<runtimeId>",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取Runtime信息",
}
View Source
var TMC_MONITOR_TK = apis.ApiSpec{
	Path:        "/api/monitor/tk/<runtimeId>",
	BackendPath: "/api/tmc/monitor/tk/<runtimeId>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 根据runtimeId查询TK",
}
View Source
var TMC_REPORT_DAILY_LIST = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/daily",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/daily",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 项目日报查询接口",
}
View Source
var TMC_REPORT_DAILY_RENDER = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/daily/render",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/daily/render",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 项目周报渲染接口",
}
View Source
var TMC_REPORT_DAILY_SEND = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/daily/send",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/daily/send",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 项目日报发送接口",
}
View Source
var TMC_REPORT_DELETE = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/<key>",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/<key>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 项目报表删除接口",
}
View Source
var TMC_REPORT_SETTINGS_GET = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/settings",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/settings",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 获取项目报表设置接口",
}
View Source
var TMC_REPORT_SETTINGS_SET = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/settings",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/settings",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 设置项目报表设置接口",
}
View Source
var TMC_REPORT_WEEKLY_LIST = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/weekly",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/weekly",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 项目周报查询接口",
}
View Source
var TMC_REPORT_WEEKLY_RENDER = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/weekly/render",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/weekly/render",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 项目周报渲染接口",
}
View Source
var TMC_REPORT_WEEKLY_SEND = apis.ApiSpec{
	Path:        "/api/report/<projectId>/<workspace>/weekly/send",
	BackendPath: "/api/tmc/report/<projectId>/<workspace>/weekly/send",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 项目周报发送接口",
}
View Source
var TMC_REQUEST_EVENT_IDS = apis.ApiSpec{
	Path:        "/api/trace/<requestId>/error-events",
	BackendPath: "/api/tmc/trace/<requestId>/error-events",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 查询requestid关联的event id列表",
}
View Source
var TMC_TRACE_SPANS = apis.ApiSpec{
	Path:        "/api/trace/<requestId>",
	BackendPath: "/api/tmc/trace/<requestId>",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: 查询调用链查询",
}
View Source
var TMC_TRACE_SUMMARY = apis.ApiSpec{
	Path:        "/api/trace/summary",
	BackendPath: "/api/tmc/trace/summary",
	Host:        "tmc.marathon.l4lb.thisdcos.directory:8050",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         "summary: trace 列表",
}

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