Documentation ¶
Index ¶
- type AcComputingPower
- type CommitHpcTaskLogic
- type CommitTaskLogic
- type DeleteTaskLogic
- type GetComputilityStatisticsLogic
- type GetComputingPowerLogic
- type GetGeneralInfoLogic
- type GetHashcatLogic
- type GetRegionLogic
- type GetResourcePanelConfigLogic
- type Job
- type JobTotalLogic
- type ListCenterLogic
- type ListClusterLogic
- type ListDomainResourceLogic
- type ListRegionLogic
- type NodeAssetsLogic
- type OctopusComputingPower
- type OtJob
- type ParticipantListLogic
- type PutResourcePanelConfigLogic
- type SaveHashcatLogic
- type ScheduleTaskByYamlLogic
- type SubmitJobLogic
- type Task
- type TaskDetailLogic
- type TaskListLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcComputingPower ¶
type AcComputingPower struct { }
func (AcComputingPower) GetComputing ¶
func (cp AcComputingPower) GetComputing(l *GetComputingPowerLogic) float32
曙光账号算力
type CommitHpcTaskLogic ¶ added in v0.1.13
func NewCommitHpcTaskLogic ¶ added in v0.1.13
func NewCommitHpcTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommitHpcTaskLogic
func (*CommitHpcTaskLogic) CommitHpcTask ¶ added in v0.1.13
func (l *CommitHpcTaskLogic) CommitHpcTask(req *types.CommitHpcTaskReq) (resp *types.CommitHpcTaskResp, err error)
type CommitTaskLogic ¶ added in v0.1.14
func NewCommitTaskLogic ¶ added in v0.1.14
func NewCommitTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CommitTaskLogic
func (*CommitTaskLogic) CommitTask ¶ added in v0.1.14
func (l *CommitTaskLogic) CommitTask(req *types.CommitTaskReq) error
type DeleteTaskLogic ¶ added in v0.1.8
func NewDeleteTaskLogic ¶ added in v0.1.8
func NewDeleteTaskLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTaskLogic
func (*DeleteTaskLogic) DeleteTask ¶ added in v0.1.8
func (l *DeleteTaskLogic) DeleteTask(req *types.DeleteTaskReq) error
type GetComputilityStatisticsLogic ¶ added in v0.1.8
func NewGetComputilityStatisticsLogic ¶ added in v0.1.8
func NewGetComputilityStatisticsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetComputilityStatisticsLogic
func (*GetComputilityStatisticsLogic) GetComputilityStatistics ¶ added in v0.1.8
func (l *GetComputilityStatisticsLogic) GetComputilityStatistics() (resp *types.ComputilityStatisticsResp, err error)
type GetComputingPowerLogic ¶
func NewGetComputingPowerLogic ¶
func NewGetComputingPowerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetComputingPowerLogic
func (*GetComputingPowerLogic) GetComputingPower ¶
func (l *GetComputingPowerLogic) GetComputingPower() (resp *types.CpResp, err error)
type GetGeneralInfoLogic ¶
func NewGetGeneralInfoLogic ¶
func NewGetGeneralInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetGeneralInfoLogic
func (*GetGeneralInfoLogic) GetGeneralInfo ¶
func (l *GetGeneralInfoLogic) GetGeneralInfo() (resp *types.GiResp, err error)
type GetHashcatLogic ¶ added in v0.1.8
func NewGetHashcatLogic ¶ added in v0.1.8
func NewGetHashcatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetHashcatLogic
func (*GetHashcatLogic) GetHashcat ¶ added in v0.1.8
func (l *GetHashcatLogic) GetHashcat(req *types.GetHashcatHandlerReq) (resp *types.GetHashcatHandlerResp, err error)
type GetRegionLogic ¶
func NewGetRegionLogic ¶
func NewGetRegionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRegionLogic
func (*GetRegionLogic) GetRegion ¶
func (l *GetRegionLogic) GetRegion() (resp *types.GetRegionResp, err error)
type GetResourcePanelConfigLogic ¶
func NewGetResourcePanelConfigLogic ¶
func NewGetResourcePanelConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetResourcePanelConfigLogic
func (*GetResourcePanelConfigLogic) GetResourcePanelConfig ¶
func (l *GetResourcePanelConfigLogic) GetResourcePanelConfig() (resp *types.ResourcePanelConfigResp, err error)
type JobTotalLogic ¶
func NewJobTotalLogic ¶
func NewJobTotalLogic(ctx context.Context, svcCtx *svc.ServiceContext) *JobTotalLogic
func (*JobTotalLogic) JobTotal ¶
func (l *JobTotalLogic) JobTotal() (resp *types.JobTotalResp, err error)
type ListCenterLogic ¶
func NewListCenterLogic ¶
func NewListCenterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCenterLogic
func (*ListCenterLogic) ListCenter ¶
func (l *ListCenterLogic) ListCenter() (*types.ListCenterResp, error)
type ListClusterLogic ¶
func NewListClusterLogic ¶
func NewListClusterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListClusterLogic
func (*ListClusterLogic) ListCluster ¶
func (l *ListClusterLogic) ListCluster(req *types.ListClusterReq) (*types.ListClusterResp, error)
type ListDomainResourceLogic ¶
func NewListDomainResourceLogic ¶
func NewListDomainResourceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListDomainResourceLogic
func (*ListDomainResourceLogic) ListDomainResource ¶
func (l *ListDomainResourceLogic) ListDomainResource() (resp *types.DomainResourceResp, err error)
type ListRegionLogic ¶
func NewListRegionLogic ¶
func NewListRegionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListRegionLogic
func (*ListRegionLogic) ListRegion ¶
func (l *ListRegionLogic) ListRegion() (resp *types.ListRegionResp, err error)
type NodeAssetsLogic ¶ added in v0.1.8
func NewNodeAssetsLogic ¶ added in v0.1.8
func NewNodeAssetsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeAssetsLogic
func (*NodeAssetsLogic) NodeAssets ¶ added in v0.1.8
func (l *NodeAssetsLogic) NodeAssets() (resp *types.NodeAssetsResp, err error)
type OctopusComputingPower ¶
type OctopusComputingPower struct { }
func (OctopusComputingPower) GetComputing ¶
func (cp OctopusComputingPower) GetComputing(l *GetComputingPowerLogic) float32
启智章鱼资源算力
type ParticipantListLogic ¶ added in v0.1.8
func NewParticipantListLogic ¶ added in v0.1.8
func NewParticipantListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ParticipantListLogic
func (*ParticipantListLogic) ParticipantList ¶ added in v0.1.8
func (l *ParticipantListLogic) ParticipantList() (resp *types.ParticipantListResp, err error)
type PutResourcePanelConfigLogic ¶
func NewPutResourcePanelConfigLogic ¶
func NewPutResourcePanelConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PutResourcePanelConfigLogic
func (*PutResourcePanelConfigLogic) PutResourcePanelConfig ¶
func (l *PutResourcePanelConfigLogic) PutResourcePanelConfig(req *types.ResourcePanelConfigReq) error
type SaveHashcatLogic ¶ added in v0.1.8
func NewSaveHashcatLogic ¶ added in v0.1.8
func NewSaveHashcatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SaveHashcatLogic
func (*SaveHashcatLogic) SaveHashcat ¶ added in v0.1.8
func (l *SaveHashcatLogic) SaveHashcat(req *types.SaveHashcatReq) error
type ScheduleTaskByYamlLogic ¶
func NewScheduleTaskByYamlLogic ¶
func NewScheduleTaskByYamlLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ScheduleTaskByYamlLogic
func (*ScheduleTaskByYamlLogic) ScheduleTaskByYaml ¶
func (l *ScheduleTaskByYamlLogic) ScheduleTaskByYaml(req *types.ScheduleTaskByYamlReq) (resp *types.ScheduleTaskByYamlResp, err error)
type SubmitJobLogic ¶
func NewSubmitJobLogic ¶
func NewSubmitJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SubmitJobLogic
func (*SubmitJobLogic) SubmitJob ¶
func (l *SubmitJobLogic) SubmitJob(req *types.SubmitJobReq) (resp *types.SubmitJobResp, err error)
type TaskDetailLogic ¶ added in v0.1.8
func NewTaskDetailLogic ¶ added in v0.1.8
func NewTaskDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TaskDetailLogic
func (*TaskDetailLogic) TaskDetail ¶ added in v0.1.8
func (l *TaskDetailLogic) TaskDetail(req *types.TaskDetailReq) (resp *types.TaskDetailResp, err error)
type TaskListLogic ¶
func NewTaskListLogic ¶
func NewTaskListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TaskListLogic
func (*TaskListLogic) TaskList ¶
func (l *TaskListLogic) TaskList(req *types.TaskListReq) (resp *types.TaskListResp, err error)
Source Files ¶
- commithpctasklogic.go
- committasklogic.go
- deletetasklogic.go
- getcomputilitystatisticslogic.go
- getcomputingpowerlogic.go
- getgeneralinfologic.go
- gethashcatlogic.go
- getregionlogic.go
- getresourcepanelconfiglogic.go
- jobtotallogic.go
- listcenterlogic.go
- listclusterlogic.go
- listdomainresourcelogic.go
- listregionlogic.go
- nodeassetslogic.go
- participantlistlogic.go
- putresourcepanelconfiglogic.go
- savehashcatlogic.go
- scheduletaskbyyamllogic.go
- submitjoblogic.go
- taskdetaillogic.go
- tasklistlogic.go
Click to show internal directories.
Click to hide internal directories.