core

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MulanPSL-2.0 Imports: 28 Imported by: 0

Documentation

Index

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

type CommitHpcTaskLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type CommitTaskLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeleteTaskLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetComputilityStatisticsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetComputingPowerLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetGeneralInfoLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetHashcatLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetHashcatLogic added in v0.1.8

func NewGetHashcatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetHashcatLogic

func (*GetHashcatLogic) GetHashcat added in v0.1.8

type GetRegionLogic

type GetRegionLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetResourcePanelConfigLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetResourcePanelConfigLogic

func NewGetResourcePanelConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetResourcePanelConfigLogic

func (*GetResourcePanelConfigLogic) GetResourcePanelConfig

func (l *GetResourcePanelConfigLogic) GetResourcePanelConfig() (resp *types.ResourcePanelConfigResp, err error)

type Job

type Job struct {
	TotalSize int     `json:"totalSize"`
	OtJobs    []OtJob `json:"otJobs"`
}

type JobTotalLogic

type JobTotalLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type ListCenterLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListCenterLogic

func NewListCenterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCenterLogic

func (*ListCenterLogic) ListCenter

func (l *ListCenterLogic) ListCenter() (*types.ListCenterResp, error)

type ListClusterLogic

type ListClusterLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListClusterLogic

func NewListClusterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListClusterLogic

func (*ListClusterLogic) ListCluster

type ListDomainResourceLogic

type ListDomainResourceLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type ListRegionLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type NodeAssetsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

启智章鱼资源算力

type OtJob

type OtJob struct {
	Name   string `json:"name"`
	Status string `json:"status"`
	Tasks  []Task `json:"tasks"`
}

type ParticipantListLogic added in v0.1.8

type ParticipantListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type PutResourcePanelConfigLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type SaveHashcatLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type ScheduleTaskByYamlLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type SubmitJobLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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 Task

type Task struct {
	CenterName []string `json:"centerName"`
}

type TaskDetailLogic added in v0.1.8

type TaskDetailLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type TaskListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

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