hpcacclient

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

type FileContentResp = hpcAC.FileContentResp

type FileDataReq

type FileDataReq = hpcAC.FileDataReq

type FileDataResp

type FileDataResp = hpcAC.FileDataResp

type GetJobDetailResp

type GetJobDetailResp = hpcAC.GetJobDetailResp

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

func NewHpcAC

func NewHpcAC(cli zrpc.Client) HpcAC

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

type SubmitJobReq = hpcAC.SubmitJobReq

type SubmitJobResp

type SubmitJobResp = hpcAC.SubmitJobResp

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