Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseIDResp ¶
type BaseIDResp = job.BaseIDResp
type BaseUUIDResp ¶
type BaseUUIDResp = job.BaseUUIDResp
type Job ¶
type Job interface { InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error) // Task management CreateTask(ctx context.Context, in *TaskInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateTask(ctx context.Context, in *TaskInfo, opts ...grpc.CallOption) (*BaseResp, error) GetTaskList(ctx context.Context, in *TaskListReq, opts ...grpc.CallOption) (*TaskListResp, error) GetTaskById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*TaskInfo, error) DeleteTask(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) // TaskLog management CreateTaskLog(ctx context.Context, in *TaskLogInfo, opts ...grpc.CallOption) (*BaseIDResp, error) UpdateTaskLog(ctx context.Context, in *TaskLogInfo, opts ...grpc.CallOption) (*BaseResp, error) GetTaskLogList(ctx context.Context, in *TaskLogListReq, opts ...grpc.CallOption) (*TaskLogListResp, error) GetTaskLogById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*TaskLogInfo, error) DeleteTaskLog(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error) }
type PageInfoReq ¶
type PageInfoReq = job.PageInfoReq
type TaskListReq ¶
type TaskListReq = job.TaskListReq
type TaskListResp ¶
type TaskListResp = job.TaskListResp
type TaskLogInfo ¶
type TaskLogInfo = job.TaskLogInfo
type TaskLogListReq ¶
type TaskLogListReq = job.TaskLogListReq
type TaskLogListResp ¶
type TaskLogListResp = job.TaskLogListResp
Click to show internal directories.
Click to hide internal directories.