hpcacclient

package
v0.0.0-...-377fbde Latest Latest
Warning

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

Go to latest
Published: Apr 7, 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 CpResp

type CpResp = hpcAC.CpResp

type CpuCore

type CpuCore = hpcAC.CpuCore

type CpuCoreReq

type CpuCoreReq = hpcAC.CpuCoreReq

type CpuCoreResp

type CpuCoreResp = hpcAC.CpuCoreResp

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 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 GetImageAiByIdReq

type GetImageAiByIdReq = hpcAC.GetImageAiByIdReq

type GetImageAiByIdResp

type GetImageAiByIdResp = hpcAC.GetImageAiByIdResp

type GetImageListAiReq

type GetImageListAiReq = hpcAC.GetImageListAiReq

type GetImageListAiResp

type GetImageListAiResp = hpcAC.GetImageListAiResp

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)
	// 曙光文件接口
	GetFileList(ctx context.Context, in *GetFileListReq, opts ...grpc.CallOption) (*GetFileListResp, 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)
}

func NewHpcAC

func NewHpcAC(cli zrpc.Client) HpcAC

type ImageAI

type ImageAI = hpcAC.ImageAI

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 MapAppJobInfo

type MapAppJobInfo = hpcAC.MapAppJobInfo

type Metric

type Metric = hpcAC.Metric

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 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 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