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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cfg = getConfig()

Functions

This section is empty.

Types

type Config

type Config struct {
	zrpc.RpcServerConf
	OctopusConfig  OctopusConfig
	OctopusApi     OctopusApi
	PcmCoreRpcConf zrpc.RpcClientConf
	LogConf        logx.LogConf
	RedisConf      redis.RedisConf
}

type OctopusApi

type OctopusApi struct {
	GetUserImageList          string
	GetMyAlgorithmList        string
	GetNotebookList           string
	GetMydatasetList          string
	CreateImage               string
	DeleteImage               string
	CreateDataSet             string
	DeleteDataSet             string
	GetAlgorithmApplyList     string
	GetAlgorithmFrameworkList string
	DeleteMyAlgorithm         string
	CreateMyAlgorithm         string
	GetAlgorithmList          string
	GetAlgorithm              string
	DownloadAlgorithm         string
	UploadAlgorithm           string
	UploadAlgorithmConfirm    string
	UploadImage               string
	UploadImageConfirm        string
	UploadDataSet             string
	UploadDataSetConfirm      string
	CreateDataSetVersion      string
	DeleteDataSetVersion      string
	GetDatasetVersionList     string
	DeleteNotebook            string
	StartNotebook             string
	StopNotebook              string
	CreateNotebook            string
	GetNotebook               string
	CreateTrainJob            string
	GetDatasetApplyList       string
	GetDatasetTypeList        string
	GetTrainJobList           string
	GetMyModelList            string
	GetModelVersionList       string
	DeleteMyModel             string
	DeleteModelVersion        string
	DownloadModelVersion      string
	GetTrainJob               string
	DeleteTrainJob            string
	StopTrainJob              string
	GetTrainJobEvent          string
	GetTrainJobMetric         string
	CreateModelDeploy         string
	GetModelDeployList        string
	GetModelDeploy            string
	GetModelDeployEvent       string
	StopModelDeploy           string
	DeleteModelDeploy         string
	InferModelDeploy          string
}

type OctopusConfig

type OctopusConfig struct {
	Username           string
	Password           string
	HanwujiUrl         string
	SuiyuanUrl         string
	SailingsiUrl       string
	OctopusResouceSpec string
	OctopusTokenUrl    string
	CambriconMLU290    int32
	EnflameT20         int32
	OctopusCp          string
}

Jump to

Keyboard shortcuts

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