eventbox

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 2 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 EVENTBOX_WEBHOOK_CREATE = apis.ApiSpec{
	Path:         "/api/webhooks",
	BackendPath:  "/api/dice/eventbox/webhooks",
	Host:         "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:       "http",
	Method:       "POST",
	CheckLogin:   true,
	RequestType:  apistructs.WebhookCreateRequest{},
	ResponseType: apistructs.WebhookCreateResponse{},
	Doc:          `创建 webhook`,
	IsOpenAPI:    true,
}
View Source
var EVENTBOX_WEBHOOK_DEL = apis.ApiSpec{
	Path:         "/api/webhooks/<id>",
	BackendPath:  "/api/dice/eventbox/webhooks/<id>",
	Host:         "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:       "http",
	Method:       "DELETE",
	CheckLogin:   true,
	RequestType:  apistructs.WebhookDeleteRequest{},
	ResponseType: apistructs.WebhookDeleteResponse{},
	Doc:          `删除 webhook`,
	IsOpenAPI:    true,
}
View Source
var EVENTBOX_WEBHOOK_EDIT = apis.ApiSpec{
	Path:         "/api/webhooks/<id>",
	BackendPath:  "/api/dice/eventbox/webhooks/<id>",
	Host:         "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:       "http",
	Method:       "PUT",
	CheckLogin:   true,
	RequestType:  apistructs.WebhookUpdateRequest{},
	ResponseType: apistructs.WebhookUpdateResponse{},
	Doc:          `更新 webhook`,
	IsOpenAPI:    true,
}
View Source
var EVENTBOX_WEBHOOK_EVENTS = apis.ApiSpec{
	Path:         "/api/webhook-events",
	BackendPath:  "/api/dice/eventbox/webhook_events",
	Host:         "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	RequestType:  apistructs.WebhookListEventsRequest{},
	ResponseType: apistructs.WebhookListEventsResponse{},
	Doc:          `webhook 事件列表`,
	IsOpenAPI:    true,
	Group:        "webhooks",
}
View Source
var EVENTBOX_WEBHOOK_INSPECT = apis.ApiSpec{
	Path:         "/api/webhooks/<id>",
	BackendPath:  "/api/dice/eventbox/webhooks/<id>",
	Host:         "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:       "http",
	Method:       "GET",
	RequestType:  apistructs.WebhookInspectRequest{},
	ResponseType: apistructs.WebhookInspectResponse{},
	CheckLogin:   true,
	Doc:          `获取 webhook 详情`,
	IsOpenAPI:    true,
}
View Source
var EVENTBOX_WEBHOOK_LIST = apis.ApiSpec{
	Path:         "/api/webhooks",
	BackendPath:  "/api/dice/eventbox/webhooks",
	Host:         "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	RequestType:  apistructs.WebhookListRequest{},
	ResponseType: apistructs.WebhookListResponse{},
	Doc:          `webhook 列表`,
	IsOpenAPI:    true,
}
View Source
var EVENTBOX_WEBHOOK_PING = apis.ApiSpec{
	Path:         "/api/webhooks/<id>/actions/ping",
	BackendPath:  "/api/dice/eventbox/webhooks/<id>/actions/ping",
	Host:         "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:       "http",
	Method:       "POST",
	CheckLogin:   true,
	RequestType:  apistructs.WebhookPingRequest{},
	ResponseType: apistructs.WebhookPingResponse{},
	Doc:          `ping webhook, 发送 ping 事件`,
	IsOpenAPI:    true,
}
View Source
var EVENTBOX_WEBSOCKET = apis.ApiSpec{
	Path:        "/api/websocket/<a>/<b>/websocket",
	BackendPath: "/api/dice/eventbox/ws/<a>/<b>/websocket",
	Host:        "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:      "ws",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: dice's websocket proxy
`,
}
View Source
var EVENTBOX_WEBSOCKET_INFO = apis.ApiSpec{
	Path:        "/api/websocket/info",
	BackendPath: "/api/dice/eventbox/ws/info",
	Host:        "eventbox.marathon.l4lb.thisdcos.directory:9528",
	Scheme:      "ws",
	Method:      "GET",
	CheckLogin:  true,
	Doc: `
summary: dice's websocket proxy info
`,
}

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