Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AiConf ¶
type AiConf struct { BaseUrlAi string GetImageListAi string GetTaskAi string SubmitTaskAi string DeleteTaskAi string GetResourceSpec string GetInstanceLog string }
曙光Ai 相关配置
type CPConf ¶
type CPConf struct { AcBaseUrl string TokenStateUrl string AuthUrl string ClusUrl string CenterUrl string UserLimitUrl string Dcu float32 CpuCore float32 AiResourceUrl string AiResourceGroupUrl string ParastorQuotaUrl string }
算力,cpu,内存 相关配置
type Config ¶
type Config struct { zrpc.RpcServerConf ShuguangConf PcmCoreRpcConf zrpc.RpcClientConf LogConf logx.LogConf CPConf AiConf FileConf UserConf JobConf ContainerConf }
type ContainerConf ¶
type ContainerConf struct { GetInstanceAi string GetNodeResources string GetInstanceServiceList string GetInstanceServiceDetail string StartInstanceService string StopInstanceService string CreateInstanceService string GetImageList string }
曙光容器
type ShuguangConf ¶
type ShuguangConf struct { ClusterUrl string `json:"ClusterUrl"` TokenUrl string `json:"TokenUrl"` StateUrl string `json:"StateUrl"` User string `json:"User"` Password string `json:"Password"` OrgId string `json:"OrgId"` Layout string `json:"Layout"` EndPoint string `json:"EndPoint"` Token string `json:"Token"` ClusterID string `json:"ClusterID"` AcStatus map[string]string `json:"AcStatus"` }
ShuguangConf Shuguang 相关URL配置
Click to show internal directories.
Click to hide internal directories.