config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPConf

type CPConf struct {
	AcBaseUrl          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
}

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"`
}

ShuguangConf Shuguang 相关URL配置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL