api_gateway

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var API_GATEWAY_API_CREATE = apis.ApiSpec{
	Path:        "/api/gateway/api",
	BackendPath: "/api/gateway/api",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	Doc: `
summary: 创建api
`,
}
View Source
var API_GATEWAY_API_DELETE = apis.ApiSpec{
	Path:        "/api/gateway/api/<apiId>",
	BackendPath: "/api/gateway/api/<apiId>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	Doc: `
summary: 删除api
`,
}
View Source
var API_GATEWAY_API_LIST = apis.ApiSpec{
	Path:        "/api/gateway/api",
	BackendPath: "/api/gateway/api",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取api列表
`,
}
View Source
var API_GATEWAY_API_UPDATE = apis.ApiSpec{
	Path:        "/api/gateway/api/<apiId>",
	BackendPath: "/api/gateway/api/<apiId>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PATCH",
	CheckLogin:  true,
	Doc: `
summary: 修改api配置
`,
}
View Source
var API_GATEWAY_CATEGORY_CREATE = apis.ApiSpec{
	Path:        "/api/gateway/policies/<category>",
	BackendPath: "/api/gateway/policies/<category>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	Doc: `
summary: 创建限制api调用策略
`,
}
View Source
var API_GATEWAY_CATEGORY_CREATE_OR_UPDATE = apis.ApiSpec{
	Path:        "/api/gateway/policies/<category>",
	BackendPath: "/api/gateway/policies/<category>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PUT",
	CheckLogin:  true,
	Doc: `
summary: 创建或更新策略
`,
}
View Source
var API_GATEWAY_CATEGORY_DELETE = apis.ApiSpec{
	Path:        "/api/gateway/policies/<category>/<policyId>",
	BackendPath: "/api/gateway/policies/<category>/<policyId>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	Doc: `
summary: 删除api调用限制策略
`,
}
View Source
var API_GATEWAY_CATEGORY_INFO = apis.ApiSpec{
	Path:        "/api/gateway/policies/<category>",
	BackendPath: "/api/gateway/policies/<category>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取api调用限制策略详情
`,
}
View Source
var API_GATEWAY_CATEGORY_UPDATE = apis.ApiSpec{
	Path:        "/api/gateway/policies/<category>/<policyId>",
	BackendPath: "/api/gateway/policies/<category>/<policyId>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PATCH",
	CheckLogin:  true,
	Doc: `
summary: 修改api调用限制策略详情
`,
}
View Source
var API_GATEWAY_CHECK_COMPAT = apis.ApiSpec{
	Path:        "/api/gateway/check-compatibility",
	BackendPath: "/api/gateway/check-compatibility",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckToken:  true,
	Doc: `
summary: 判断API兼容性
`,
}
View Source
var API_GATEWAY_CONSUMER_API_EDIT = apis.ApiSpec{
	Path:        "/api/gateway/consumer-api",
	BackendPath: "/api/gateway/consumer-api",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PATCH",
	CheckLogin:  true,
	Doc: `
summary: 修改调度者各个api的限制策略
`,
}
View Source
var API_GATEWAY_CONSUMER_API_INFO = apis.ApiSpec{
	Path:        "/api/gateway/consumer",
	BackendPath: "/api/gateway/consumer",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取授权调用者API授权详情
`,
}
View Source
var API_GATEWAY_CONSUMER_CREATE = apis.ApiSpec{
	Path:        "/api/gateway/consumer",
	BackendPath: "/api/gateway/consumer",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	Doc: `
summary: 创建授权调用者
`,
}
View Source
var API_GATEWAY_CONSUMER_DELETE = apis.ApiSpec{
	Path:        "/api/gateway/consumer/<consumerId>",
	BackendPath: "/api/gateway/consumer/<consumerId>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	Doc: `
summary: 删除授权调用者
`,
}
View Source
var API_GATEWAY_CONSUMER_EDIT = apis.ApiSpec{
	Path:        "/api/gateway/consumer",
	BackendPath: "/api/gateway/consumer",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PATCH",
	CheckLogin:  true,
	Doc: `
summary: 修改调用者可调用的api授权
`,
}
View Source
var API_GATEWAY_CONSUMER_INFO = apis.ApiSpec{
	Path:        "/api/gateway/consumer/<consumerId>",
	BackendPath: "/api/gateway/consumer/<consumerId>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取授权调用者详情
`,
}
View Source
var API_GATEWAY_CONSUMER_INFO_UPDATE = apis.ApiSpec{
	Path:        "/api/gateway/consumer/<consumerId>",
	BackendPath: "/api/gateway/consumer/<consumerId>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PATCH",
	CheckLogin:  true,
	Doc: `
summary: 更新授权调用者详情
`,
}
View Source
var API_GATEWAY_CONSUMER_LIST = apis.ApiSpec{
	Path:        "/api/gateway/consumer-list",
	BackendPath: "/api/gateway/consumer-list",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取调用者对api的授权信息列表
`,
}
View Source
var API_GATEWAY_DOMAIN_CREATE_OR_UPDATE = apis.ApiSpec{
	Path:        "/api/gateway/domain",
	BackendPath: "/api/gateway/domain",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PUT",
	CheckLogin:  true,
	Doc: `
summary: 更新绑定域名信息
`,
}
View Source
var API_GATEWAY_DOMAIN_INFO = apis.ApiSpec{
	Path:        "/api/gateway/domain",
	BackendPath: "/api/gateway/domain",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取绑定域名信息
`,
}
View Source
var API_GATEWAY_OPENAPI_CREATE = apis.ApiSpec{
	Path:        "/api/gateway/openapi/<*>",
	BackendPath: "/api/gateway/openapi/<*>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	Doc: `
summary: 创建openapi
`,
}
View Source
var API_GATEWAY_OPENAPI_DELETE = apis.ApiSpec{
	Path:        "/api/gateway/openapi/<*>",
	BackendPath: "/api/gateway/openapi/<*>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	Doc: `
summary: 删除openapi
`,
}
View Source
var API_GATEWAY_OPENAPI_GET = apis.ApiSpec{
	Path:        "/api/gateway/openapi/<*>",
	BackendPath: "/api/gateway/openapi/<*>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取openapi
`,
}
View Source
var API_GATEWAY_OPENAPI_UPDATE = apis.ApiSpec{
	Path:        "/api/gateway/openapi/<*>",
	BackendPath: "/api/gateway/openapi/<*>",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "PATCH",
	CheckLogin:  true,
	Doc: `
summary: 更新openapi
`,
}
View Source
var API_GATEWAY_PUBLISH_AUTHN_GET = apis.ApiSpec{
	Path:        "/api/gateway/publications/<apiPublishId>/authn",
	BackendPath: "/api/gateway/publications/<apiPublishId>/authn",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	Doc: `
summary: 获取认证信息
`,
}
View Source
var API_GATEWAY_PUBLISH_SUBSCRIBE = apis.ApiSpec{
	Path:        "/api/gateway/publications/<apiPublishId>/subscribe",
	BackendPath: "/api/gateway/publications/<apiPublishId>/subscribe",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	Doc: `
summary: 订阅API
`,
}
View Source
var API_GATEWAY_PUBLISH_SWAGGER_GET = apis.ApiSpec{
	Path:        "/api/gateway/publications/<apiPublishId>/swagger",
	BackendPath: "/api/gateway/publications/<apiPublishId>/swagger",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	Doc: `
summary: 下载swagger
`,
}
View Source
var API_GATEWAY_REGISTER = apis.ApiSpec{
	Path:        "/api/gateway/registrations",
	BackendPath: "/api/gateway/registrations",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckToken:  true,
	Doc: `
summary: 注册API
`,
}
View Source
var API_GATEWAY_REGISTER_APPS_INFO = apis.ApiSpec{
	Path:        "/api/gateway/register-apps",
	BackendPath: "/api/gateway/register-apps",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 查看已注册的应用服务信息
`,
}
View Source
var API_GATEWAY_REGISTER_PUBLISH = apis.ApiSpec{
	Path:        "/api/gateway/registrations/<apiRegisterId>/publish",
	BackendPath: "/api/gateway/registrations/<apiRegisterId>/publish",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckToken:  true,
	Doc: `
summary: 发布API
`,
}
View Source
var API_GATEWAY_REGISTER_STATUS_GET = apis.ApiSpec{
	Path:        "/api/gateway/registrations/<apiRegisterId>/status",
	BackendPath: "/api/gateway/registrations/<apiRegisterId>/status",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckToken:  true,
	Doc: `
summary: API注册状态查询
`,
}
View Source
var API_GATEWAY_UI_TYPE_INFO = apis.ApiSpec{
	Path:        "/api/gateway/ui-type",
	BackendPath: "/api/gateway/ui-type",
	Host:        "hepa.marathon.l4lb.thisdcos.directory:8080",
	K8SHost:     "hepa.default.svc.cluster.local:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: 获取当前的UI类型
`,
}

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