config

package
v0.0.0-...-1352ba5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 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 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 ContainerConf

type ContainerConf struct {
	GetInstanceAi            string
	GetNodeResources         string
	GetInstanceServiceList   string
	GetInstanceServiceDetail string
	StartInstanceService     string
	StopInstanceService      string
	CreateInstanceService    string
	GetImageList             string
}

曙光容器

type FileConf

type FileConf struct {
	GetFileList string
	GetFile     string
	UploadFile  string
	ExistFile   string
}

曙光文件

type JobConf

type JobConf struct {
	GetQueueNames 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配置

type UserConf

type UserConf struct {
	GetUserInfo     string
	GetGroupMembers string
	GetMemberJobs   string
}

曙光用户资源

Jump to

Keyboard shortcuts

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