scheduler

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SCHEDULER_CLUSTER_INFO = apis.ApiSpec{
	Path:         "/api/clusterinfo/<clusterName>",
	BackendPath:  "/api/clusterinfo/<clusterName>",
	Host:         "scheduler.marathon.l4lb.thisdcos.directory:9091",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	ResponseType: apistructs.ClusterInfoResponse{},
	IsOpenAPI:    true,
	Doc:          "获取集群信息",
}
View Source
var SCHEDULER_NODELABEL_LIST = apis.ApiSpec{
	Path:         "/api/nodelabels",
	BackendPath:  "/api/nodelabels",
	Host:         "scheduler.marathon.l4lb.thisdcos.directory:9091",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	RequestType:  apistructs.ScheduleLabelListRequest{},
	ResponseType: apistructs.ScheduleLabelListResponse{},
	IsOpenAPI:    true,
	Doc:          "获取可用 nodelabel 列表",
}
View Source
var SCHEDULER_NODELABEL_SET = apis.ApiSpec{
	Path:         "/api/nodelabels",
	BackendPath:  "/api/nodelabels",
	Host:         "scheduler.marathon.l4lb.thisdcos.directory:9091",
	Scheme:       "http",
	Method:       "POST",
	CheckLogin:   true,
	RequestType:  apistructs.ScheduleLabelSetRequest{},
	ResponseType: apistructs.ScheduleLabelSetResponse{},
	IsOpenAPI:    true,
	Doc:          "设置 nodelabel",
}
View Source
var SCHEDULER_TERMINAL = apis.ApiSpec{
	Path:        "/api/terminal",
	BackendPath: "/api/terminal",
	Host:        "scheduler.marathon.l4lb.thisdcos.directory:9091",
	Scheme:      "ws",
	Method:      "GET",
	CheckLogin:  true,
	Doc:         `控制台 websocket api`,
}

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