hpcacclient

package
v0.0.0-...-d0752d0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACClusterData

type ACClusterData = hpcAC.ACClusterData

type ACClusterReq

type ACClusterReq = hpcAC.ACClusterReq

type ACClusterResp

type ACClusterResp = hpcAC.ACClusterResp

type ACTokenData

type ACTokenData = hpcAC.ACTokenData

type ACTokenReq

type ACTokenReq = hpcAC.ACTokenReq

type ACTokenResp

type ACTokenResp = hpcAC.ACTokenResp

type ACTokenState

type ACTokenState = hpcAC.ACTokenState

type Children

type Children = hpcAC.Children

type ClusterResp

type ClusterResp = hpcAC.ClusterResp

type ContainerPortInfo

type ContainerPortInfo = hpcAC.ContainerPortInfo

type ContainerPortInfoList

type ContainerPortInfoList = hpcAC.ContainerPortInfoList

type CpResp

type CpResp = hpcAC.CpResp

type CpuCore

type CpuCore = hpcAC.CpuCore

type CpuCoreReq

type CpuCoreReq = hpcAC.CpuCoreReq

type CpuCoreResp

type CpuCoreResp = hpcAC.CpuCoreResp

type CreateInstanceServiceReq

type CreateInstanceServiceReq = hpcAC.CreateInstanceServiceReq

type CreateInstanceServiceResp

type CreateInstanceServiceResp = hpcAC.CreateInstanceServiceResp

type CreateParams

type CreateParams = hpcAC.CreateParams

type DeleteJobReq

type DeleteJobReq = hpcAC.DeleteJobReq

type DeleteJobResp

type DeleteJobResp = hpcAC.DeleteJobResp

type DeleteTaskAiReq

type DeleteTaskAiReq = hpcAC.DeleteTaskAiReq

type DeleteTaskAiResp

type DeleteTaskAiResp = hpcAC.DeleteTaskAiResp

type Exist

type Exist = hpcAC.Exist

type FileContentResp

type FileContentResp = hpcAC.FileContentResp

type FileDataReq

type FileDataReq = hpcAC.FileDataReq

type FileDataResp

type FileDataResp = hpcAC.FileDataResp

type FileList

type FileList = hpcAC.FileList

type FileListData

type FileListData = hpcAC.FileListData

type GetFileListReq

type GetFileListReq = hpcAC.GetFileListReq

type GetFileListResp

type GetFileListResp = hpcAC.GetFileListResp

type GetFileReq

type GetFileReq = hpcAC.GetFileReq

type GetFileResp

type GetFileResp = hpcAC.GetFileResp

type GetImageAiByIdReq

type GetImageAiByIdReq = hpcAC.GetImageAiByIdReq

type GetImageAiByIdResp

type GetImageAiByIdResp = hpcAC.GetImageAiByIdResp

type GetImageListAiReq

type GetImageListAiReq = hpcAC.GetImageListAiReq

type GetImageListAiResp

type GetImageListAiResp = hpcAC.GetImageListAiResp

type GetImageListReq

type GetImageListReq = hpcAC.GetImageListReq

type GetImageListResp

type GetImageListResp = hpcAC.GetImageListResp

type GetInferUrlReq

type GetInferUrlReq = hpcAC.GetInferUrlReq

type GetInferUrlResp

type GetInferUrlResp = hpcAC.GetInferUrlResp

type GetInstanceDetailParams

type GetInstanceDetailParams = hpcAC.GetInstanceDetailParams

type GetInstanceDetailResp

type GetInstanceDetailResp = hpcAC.GetInstanceDetailResp

type GetInstanceListParams

type GetInstanceListParams = hpcAC.GetInstanceListParams

type GetInstanceListReq

type GetInstanceListReq = hpcAC.GetInstanceListReq

type GetInstanceListResp

type GetInstanceListResp = hpcAC.GetInstanceListResp

type GetInstanceLogReq

type GetInstanceLogReq = hpcAC.GetInstanceLogReq

type GetInstanceLogResp

type GetInstanceLogResp = hpcAC.GetInstanceLogResp

type GetInstanceServiceDetailReq

type GetInstanceServiceDetailReq = hpcAC.GetInstanceServiceDetailReq

type GetInstanceServiceDetailResp

type GetInstanceServiceDetailResp = hpcAC.GetInstanceServiceDetailResp

type GetInstanceServiceListReq

type GetInstanceServiceListReq = hpcAC.GetInstanceServiceListReq

type GetInstanceServiceListReqParam

type GetInstanceServiceListReqParam = hpcAC.GetInstanceServiceListReqParam

type GetInstanceServiceListResp

type GetInstanceServiceListResp = hpcAC.GetInstanceServiceListResp

type GetJobDetailResp

type GetJobDetailResp = hpcAC.GetJobDetailResp

type GetMemberJobsData

type GetMemberJobsData = hpcAC.GetMemberJobsData

type GetMemberJobsReq

type GetMemberJobsReq = hpcAC.GetMemberJobsReq

type GetMemberJobsResp

type GetMemberJobsResp = hpcAC.GetMemberJobsResp

type GetNodeResourcesData

type GetNodeResourcesData = hpcAC.GetNodeResourcesData

type GetNodeResourcesReq

type GetNodeResourcesReq = hpcAC.GetNodeResourcesReq

type GetNodeResourcesResp

type GetNodeResourcesResp = hpcAC.GetNodeResourcesResp

type GetPytorchTaskReq

type GetPytorchTaskReq = hpcAC.GetPytorchTaskReq

type GetPytorchTaskResp

type GetPytorchTaskResp = hpcAC.GetPytorchTaskResp

type GetPytorchTaskRespParams

type GetPytorchTaskRespParams = hpcAC.GetPytorchTaskRespParams

type GetResourceSpecReq

type GetResourceSpecReq = hpcAC.GetResourceSpecReq

type GetResourceSpecResp

type GetResourceSpecResp = hpcAC.GetResourceSpecResp

type GetTensorflowTaskReq

type GetTensorflowTaskReq = hpcAC.GetTensorflowTaskReq

type GetTensorflowTaskResp

type GetTensorflowTaskResp = hpcAC.GetTensorflowTaskResp

type GetTensorflowTaskRespParams

type GetTensorflowTaskRespParams = hpcAC.GetTensorflowTaskRespParams

type GetUserInfoData

type GetUserInfoData = hpcAC.GetUserInfoData

type GetUserInfoReq

type GetUserInfoReq = hpcAC.GetUserInfoReq

type GetUserInfoResp

type GetUserInfoResp = hpcAC.GetUserInfoResp

type GiResp

type GiResp = hpcAC.GiResp

type HistoryJobData

type HistoryJobData = hpcAC.HistoryJobData

type HistoryJobDetail

type HistoryJobDetail = hpcAC.HistoryJobDetail

type HistoryJobDetailReq

type HistoryJobDetailReq = hpcAC.HistoryJobDetailReq

type HistoryJobDetailResp

type HistoryJobDetailResp = hpcAC.HistoryJobDetailResp

type HistoryJobList

type HistoryJobList = hpcAC.HistoryJobList

type HpcAC

type HpcAC interface {
	// ListJob list all jobs
	ListJob(ctx context.Context, in *ListJobReq, opts ...grpc.CallOption) (*ListJobResp, error)
	// ListHistoryJob list all history jobs
	ListHistoryJob(ctx context.Context, in *ListHistoryJobReq, opts ...grpc.CallOption) (*ListHistoryJobResp, error)
	// Submit job
	SubmitJob(ctx context.Context, in *SubmitJobReq, opts ...grpc.CallOption) (*SubmitJobResp, error)
	// ListJobManager list all job managers
	ListJobManager(ctx context.Context, in *JobManagerReq, opts ...grpc.CallOption) (*ListJobManagerResp, error)
	// GetJobDetail get job detail
	GetJobDetail(ctx context.Context, in *JobDetailReq, opts ...grpc.CallOption) (*GetJobDetailResp, error)
	// DeleteJob delete job
	DeleteJob(ctx context.Context, in *DeleteJobReq, opts ...grpc.CallOption) (*DeleteJobResp, error)
	// FileContent 查看文件内容
	FileContent(ctx context.Context, in *FileDataReq, opts ...grpc.CallOption) (*FileContentResp, error)
	// SelectQueueByUser 查询用户可访问队列列表
	SelectQueueByUser(ctx context.Context, in *QueueReq, opts ...grpc.CallOption) (*QueueResp, error)
	// QueryQueueDetails 查询队列资源详细信息
	QueryQueueDetails(ctx context.Context, in *QueueReq, opts ...grpc.CallOption) (*QueueDetailsResp, error)
	// QueryUserQuotasLimit 查询用户资源限制信息
	QueryUserQuotasLimit(ctx context.Context, in *QueueReq, opts ...grpc.CallOption) (*UserQuotasLimitResp, error)
	// ParaStor Quota
	ParaStorQuota(ctx context.Context, in *ParaStorQuotaReq, opts ...grpc.CallOption) (*ParaStorQuotaResp, error)
	// WallTime
	WallTime(ctx context.Context, in *WallTimeReq, opts ...grpc.CallOption) (*WallTimeResp, error)
	// QueueJobs
	QueueJobs(ctx context.Context, in *QueueJobsReq, opts ...grpc.CallOption) (*QueueJobsResp, error)
	CpuCore(ctx context.Context, in *CpuCoreReq, opts ...grpc.CallOption) (*CpuCoreResp, error)
	Jobs(ctx context.Context, in *JobsReq, opts ...grpc.CallOption) (*JobsResp, error)
	HistoryJobDetail(ctx context.Context, in *HistoryJobDetailReq, opts ...grpc.CallOption) (*HistoryJobDetailResp, error)
	// 曙光ac获取token
	GetACToken(ctx context.Context, in *ACTokenReq, opts ...grpc.CallOption) (*TokenResp, error)
	// 曙光ac获取clusterid
	GetACClusterId(ctx context.Context, in *ACClusterReq, opts ...grpc.CallOption) (*ClusterResp, error)
	// 获取曙光账号算力
	GetComputingPower(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*CpResp, error)
	// 获取曙光账号cpu,内存,存储信息
	GetGeneralInfo(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*GiResp, error)
	// 曙光智算接口
	SubmitPytorchTask(ctx context.Context, in *SubmitPytorchTaskReq, opts ...grpc.CallOption) (*SubmitTaskAiResp, error)
	SubmitTensorflowTask(ctx context.Context, in *SubmitTensorflowTaskReq, opts ...grpc.CallOption) (*SubmitTaskAiResp, error)
	GetImageListAi(ctx context.Context, in *GetImageListAiReq, opts ...grpc.CallOption) (*GetImageListAiResp, error)
	GetImageAiById(ctx context.Context, in *GetImageAiByIdReq, opts ...grpc.CallOption) (*GetImageAiByIdResp, error)
	GetPytorchTask(ctx context.Context, in *GetPytorchTaskReq, opts ...grpc.CallOption) (*GetPytorchTaskResp, error)
	GetTensorflowTask(ctx context.Context, in *GetTensorflowTaskReq, opts ...grpc.CallOption) (*GetTensorflowTaskResp, error)
	DeleteTaskAi(ctx context.Context, in *DeleteTaskAiReq, opts ...grpc.CallOption) (*DeleteTaskAiResp, error)
	GetResourceSpec(ctx context.Context, in *GetResourceSpecReq, opts ...grpc.CallOption) (*GetResourceSpecResp, error)
	GetInstanceLog(ctx context.Context, in *GetInstanceLogReq, opts ...grpc.CallOption) (*GetInstanceLogResp, error)
	GetInstanceListAi(ctx context.Context, in *GetInstanceListReq, opts ...grpc.CallOption) (*GetInstanceListResp, error)
	GetInferUrl(ctx context.Context, in *GetInferUrlReq, opts ...grpc.CallOption) (*GetInferUrlResp, error)
	// 曙光文件接口
	GetFileList(ctx context.Context, in *GetFileListReq, opts ...grpc.CallOption) (*GetFileListResp, error)
	GetFile(ctx context.Context, in *GetFileReq, opts ...grpc.CallOption) (*GetFileResp, error)
	UploadFile(ctx context.Context, in *UploadFileReq, opts ...grpc.CallOption) (*UploadFileResp, error)
	IsExistFile(ctx context.Context, in *IsExistFileReq, opts ...grpc.CallOption) (*IsExistFileResp, error)
	// 用户资源
	GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error)
	GetMemberJobs(ctx context.Context, in *GetMemberJobsReq, opts ...grpc.CallOption) (*GetMemberJobsResp, error)
	// 容器
	GetNodeResources(ctx context.Context, in *GetNodeResourcesReq, opts ...grpc.CallOption) (*GetNodeResourcesResp, error)
	GetInstanceServiceList(ctx context.Context, in *GetInstanceServiceListReq, opts ...grpc.CallOption) (*GetInstanceServiceListResp, error)
	GetInstanceServiceDetail(ctx context.Context, in *GetInstanceServiceDetailReq, opts ...grpc.CallOption) (*GetInstanceServiceDetailResp, error)
	StartInstanceService(ctx context.Context, in *StartInstanceServiceReq, opts ...grpc.CallOption) (*StartInstanceServiceResp, error)
	StopInstanceService(ctx context.Context, in *StopInstanceServiceReq, opts ...grpc.CallOption) (*StopInstanceServiceResp, error)
	CreateInstanceService(ctx context.Context, in *CreateInstanceServiceReq, opts ...grpc.CallOption) (*CreateInstanceServiceResp, error)
	GetImageList(ctx context.Context, in *GetImageListReq, opts ...grpc.CallOption) (*GetImageListResp, error)
}

func NewHpcAC

func NewHpcAC(cli zrpc.Client) HpcAC

type ImageAI

type ImageAI = hpcAC.ImageAI

type InstanceService

type InstanceService = hpcAC.InstanceService

type IsExistFileReq

type IsExistFileReq = hpcAC.IsExistFileReq

type IsExistFileResp

type IsExistFileResp = hpcAC.IsExistFileResp

type Job

type Job = hpcAC.Job

type JobCore

type JobCore = hpcAC.JobCore

type JobDetail

type JobDetail = hpcAC.JobDetail

type JobDetailReq

type JobDetailReq = hpcAC.JobDetailReq

type JobInitAttr

type JobInitAttr = hpcAC.JobInitAttr

type JobManager

type JobManager = hpcAC.JobManager

type JobManagerReq

type JobManagerReq = hpcAC.JobManagerReq

type JobVncSessionInfo

type JobVncSessionInfo = hpcAC.JobVncSessionInfo

type JobsReq

type JobsReq = hpcAC.JobsReq

type JobsResp

type JobsResp = hpcAC.JobsResp

type ListHistoryJobReq

type ListHistoryJobReq = hpcAC.ListHistoryJobReq

type ListHistoryJobResp

type ListHistoryJobResp = hpcAC.ListHistoryJobResp

type ListJobManagerResp

type ListJobManagerResp = hpcAC.ListJobManagerResp

type ListJobReq

type ListJobReq = hpcAC.ListJobReq

type ListJobResp

type ListJobResp = hpcAC.ListJobResp

type LogData

type LogData = hpcAC.LogData

type MapAppJobInfo

type MapAppJobInfo = hpcAC.MapAppJobInfo

type Metric

type Metric = hpcAC.Metric

type MountInfo

type MountInfo = hpcAC.MountInfo

type MountInfoList

type MountInfoList = hpcAC.MountInfoList

type ParaStorQuotaReq

type ParaStorQuotaReq = hpcAC.ParaStorQuotaReq

type ParaStorQuotaResp

type ParaStorQuotaResp = hpcAC.ParaStorQuotaResp

type PermissionAction

type PermissionAction = hpcAC.PermissionAction

type Queue

type Queue = hpcAC.Queue

type QueueData

type QueueData = hpcAC.QueueData

type QueueDetailsData

type QueueDetailsData = hpcAC.QueueDetailsData

type QueueDetailsResp

type QueueDetailsResp = hpcAC.QueueDetailsResp

type QueueJobsReq

type QueueJobsReq = hpcAC.QueueJobsReq

type QueueJobsResp

type QueueJobsResp = hpcAC.QueueJobsResp

type QueueReq

type QueueReq = hpcAC.QueueReq

type QueueResp

type QueueResp = hpcAC.QueueResp

type QuotaData

type QuotaData = hpcAC.QuotaData

type ResourceReq

type ResourceReq = hpcAC.ResourceReq

type ResourceSpec

type ResourceSpec = hpcAC.ResourceSpec

type StartInstanceServiceReq

type StartInstanceServiceReq = hpcAC.StartInstanceServiceReq

type StartInstanceServiceResp

type StartInstanceServiceResp = hpcAC.StartInstanceServiceResp

type StopInstanceServiceReq

type StopInstanceServiceReq = hpcAC.StopInstanceServiceReq

type StopInstanceServiceResp

type StopInstanceServiceResp = hpcAC.StopInstanceServiceResp

type SubmitJobReq

type SubmitJobReq = hpcAC.SubmitJobReq

type SubmitJobResp

type SubmitJobResp = hpcAC.SubmitJobResp

type SubmitPytorchTaskParams

type SubmitPytorchTaskParams = hpcAC.SubmitPytorchTaskParams

type SubmitPytorchTaskReq

type SubmitPytorchTaskReq = hpcAC.SubmitPytorchTaskReq

type SubmitTaskAiResp

type SubmitTaskAiResp = hpcAC.SubmitTaskAiResp

type SubmitTensorflowTaskParams

type SubmitTensorflowTaskParams = hpcAC.SubmitTensorflowTaskParams

type SubmitTensorflowTaskReq

type SubmitTensorflowTaskReq = hpcAC.SubmitTensorflowTaskReq

type TokenResp

type TokenResp = hpcAC.TokenResp

type UploadFileData

type UploadFileData = hpcAC.UploadFileData

type UploadFileReq

type UploadFileReq = hpcAC.UploadFileReq

type UploadFileResp

type UploadFileResp = hpcAC.UploadFileResp

type UserQuotasLimitData

type UserQuotasLimitData = hpcAC.UserQuotasLimitData

type UserQuotasLimitResp

type UserQuotasLimitResp = hpcAC.UserQuotasLimitResp

type WallTimeReq

type WallTimeReq = hpcAC.WallTimeReq

type WallTimeResp

type WallTimeResp = hpcAC.WallTimeResp

Jump to

Keyboard shortcuts

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