service

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *conf.Config, hs *http.Server, gs *grpc.Server)

Types

type LogService added in v1.0.7

type LogService struct {
	pb.UnimplementedLogServer
	// contains filtered or unexported fields
}

func NewLogService added in v1.0.7

func NewLogService(conf *conf.Config) *LogService

func (*LogService) DeleteLog added in v1.0.7

func (s *LogService) DeleteLog(c context.Context, req *pb.DeleteLogRequest) (*pb.DeleteLogReply, error)

DeleteLog 删除日志信息

func (*LogService) GetLog added in v1.0.7

func (s *LogService) GetLog(c context.Context, req *pb.GetLogRequest) (*pb.GetLogReply, error)

GetLog 获取指定的日志信息

func (*LogService) ListLog added in v1.0.7

func (s *LogService) ListLog(c context.Context, req *pb.ListLogRequest) (*pb.ListLogReply, error)

ListLog 获取日志信息列表

type TaskService added in v1.0.7

type TaskService struct {
	pb.UnimplementedTaskServer
	// contains filtered or unexported fields
}

func NewTaskService added in v1.0.7

func NewTaskService(conf *conf.Config) *TaskService

func (*TaskService) CancelExecTask added in v1.0.7

CancelExecTask 取消任务信息

func (*TaskService) CreateTask added in v1.0.7

CreateTask 创建任务信息

func (*TaskService) CreateTaskGroup added in v1.0.7

CreateTaskGroup 创建任务分组

func (*TaskService) DeleteTask added in v1.0.7

DeleteTask 删除任务信息

func (*TaskService) DeleteTaskGroup added in v1.0.7

DeleteTaskGroup 删除任务分组

func (*TaskService) ExecTask added in v1.0.7

ExecTask 执行任务信息

func (*TaskService) GetTask added in v1.0.7

func (s *TaskService) GetTask(c context.Context, req *pb.GetTaskRequest) (*pb.GetTaskReply, error)

GetTask 获取指定的任务信息

func (*TaskService) GetTaskGroup added in v1.0.7

GetTaskGroup 获取指定的任务分组

func (*TaskService) ListTask added in v1.0.7

ListTask 获取任务信息列表

func (*TaskService) ListTaskGroup added in v1.0.7

ListTaskGroup 获取任务分组列表

func (*TaskService) UpdateTask added in v1.0.7

UpdateTask 更新任务信息

func (*TaskService) UpdateTaskGroup added in v1.0.7

UpdateTaskGroup 更新任务分组

func (*TaskService) UpdateTaskStatus added in v1.0.7

UpdateTaskStatus 更新任务信息状态

type WorkerService added in v1.0.7

type WorkerService struct {
	pb.UnimplementedWorkerServer
	// contains filtered or unexported fields
}

func NewWorkerService added in v1.0.7

func NewWorkerService(conf *conf.Config) *WorkerService

func (*WorkerService) CreateWorker added in v1.0.7

CreateWorker 创建节点信息

func (*WorkerService) CreateWorkerGroup added in v1.0.7

CreateWorkerGroup 创建节点分组

func (*WorkerService) DeleteWorker added in v1.0.7

DeleteWorker 删除节点信息

func (*WorkerService) DeleteWorkerGroup added in v1.0.7

DeleteWorkerGroup 删除节点分组

func (*WorkerService) GetWorker added in v1.0.7

GetWorker 获取指定的节点信息

func (*WorkerService) GetWorkerGroup added in v1.0.7

GetWorkerGroup 获取指定的节点分组

func (*WorkerService) ListWorker added in v1.0.7

ListWorker 获取节点信息列表

func (*WorkerService) ListWorkerGroup added in v1.0.7

ListWorkerGroup 获取节点分组列表

func (*WorkerService) UpdateWorker added in v1.0.7

UpdateWorker 更新节点信息

func (*WorkerService) UpdateWorkerGroup added in v1.0.7

UpdateWorkerGroup 更新节点分组

func (*WorkerService) UpdateWorkerStatus added in v1.0.7

UpdateWorkerStatus 更新节点信息状态

Jump to

Keyboard shortcuts

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