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.
Click to show internal directories.
Click to hide internal directories.