Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTaskHTTPServer(s *http.Server, srv TaskHTTPServer)
- func RegisterTaskServer(s grpc.ServiceRegistrar, srv TaskServer)
- type CancelExecTaskReply
- func (*CancelExecTaskReply) Descriptor() ([]byte, []int)deprecated
- func (*CancelExecTaskReply) ProtoMessage()
- func (x *CancelExecTaskReply) ProtoReflect() protoreflect.Message
- func (x *CancelExecTaskReply) Reset()
- func (x *CancelExecTaskReply) String() string
- func (m *CancelExecTaskReply) Validate() error
- func (m *CancelExecTaskReply) ValidateAll() error
- type CancelExecTaskReplyMultiError
- type CancelExecTaskReplyValidationError
- func (e CancelExecTaskReplyValidationError) Cause() error
- func (e CancelExecTaskReplyValidationError) Error() string
- func (e CancelExecTaskReplyValidationError) ErrorName() string
- func (e CancelExecTaskReplyValidationError) Field() string
- func (e CancelExecTaskReplyValidationError) Key() bool
- func (e CancelExecTaskReplyValidationError) Reason() string
- type CancelExecTaskRequest
- func (*CancelExecTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelExecTaskRequest) GetUuid() string
- func (*CancelExecTaskRequest) ProtoMessage()
- func (x *CancelExecTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CancelExecTaskRequest) Reset()
- func (x *CancelExecTaskRequest) String() string
- func (m *CancelExecTaskRequest) Validate() error
- func (m *CancelExecTaskRequest) ValidateAll() error
- type CancelExecTaskRequestMultiError
- type CancelExecTaskRequestValidationError
- func (e CancelExecTaskRequestValidationError) Cause() error
- func (e CancelExecTaskRequestValidationError) Error() string
- func (e CancelExecTaskRequestValidationError) ErrorName() string
- func (e CancelExecTaskRequestValidationError) Field() string
- func (e CancelExecTaskRequestValidationError) Key() bool
- func (e CancelExecTaskRequestValidationError) Reason() string
- type CreateTaskGroupReply
- func (*CreateTaskGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskGroupReply) GetId() uint32
- func (*CreateTaskGroupReply) ProtoMessage()
- func (x *CreateTaskGroupReply) ProtoReflect() protoreflect.Message
- func (x *CreateTaskGroupReply) Reset()
- func (x *CreateTaskGroupReply) String() string
- func (m *CreateTaskGroupReply) Validate() error
- func (m *CreateTaskGroupReply) ValidateAll() error
- type CreateTaskGroupReplyMultiError
- type CreateTaskGroupReplyValidationError
- func (e CreateTaskGroupReplyValidationError) Cause() error
- func (e CreateTaskGroupReplyValidationError) Error() string
- func (e CreateTaskGroupReplyValidationError) ErrorName() string
- func (e CreateTaskGroupReplyValidationError) Field() string
- func (e CreateTaskGroupReplyValidationError) Key() bool
- func (e CreateTaskGroupReplyValidationError) Reason() string
- type CreateTaskGroupRequest
- func (*CreateTaskGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskGroupRequest) GetDescription() string
- func (x *CreateTaskGroupRequest) GetName() string
- func (*CreateTaskGroupRequest) ProtoMessage()
- func (x *CreateTaskGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTaskGroupRequest) Reset()
- func (x *CreateTaskGroupRequest) String() string
- func (m *CreateTaskGroupRequest) Validate() error
- func (m *CreateTaskGroupRequest) ValidateAll() error
- type CreateTaskGroupRequestMultiError
- type CreateTaskGroupRequestValidationError
- func (e CreateTaskGroupRequestValidationError) Cause() error
- func (e CreateTaskGroupRequestValidationError) Error() string
- func (e CreateTaskGroupRequestValidationError) ErrorName() string
- func (e CreateTaskGroupRequestValidationError) Field() string
- func (e CreateTaskGroupRequestValidationError) Key() bool
- func (e CreateTaskGroupRequestValidationError) Reason() string
- type CreateTaskReply
- func (*CreateTaskReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskReply) GetId() uint32
- func (*CreateTaskReply) ProtoMessage()
- func (x *CreateTaskReply) ProtoReflect() protoreflect.Message
- func (x *CreateTaskReply) Reset()
- func (x *CreateTaskReply) String() string
- func (m *CreateTaskReply) Validate() error
- func (m *CreateTaskReply) ValidateAll() error
- type CreateTaskReplyMultiError
- type CreateTaskReplyValidationError
- func (e CreateTaskReplyValidationError) Cause() error
- func (e CreateTaskReplyValidationError) Error() string
- func (e CreateTaskReplyValidationError) ErrorName() string
- func (e CreateTaskReplyValidationError) Field() string
- func (e CreateTaskReplyValidationError) Key() bool
- func (e CreateTaskReplyValidationError) Reason() string
- type CreateTaskRequest
- func (*CreateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskRequest) GetDescription() string
- func (x *CreateTaskRequest) GetExecType() string
- func (x *CreateTaskRequest) GetExecValue() string
- func (x *CreateTaskRequest) GetExpectCode() uint32
- func (x *CreateTaskRequest) GetGroupId() uint32
- func (x *CreateTaskRequest) GetMaxExecTime() uint32
- func (x *CreateTaskRequest) GetName() string
- func (x *CreateTaskRequest) GetRetryCount() uint32
- func (x *CreateTaskRequest) GetRetryWaitTime() uint32
- func (x *CreateTaskRequest) GetSpec() string
- func (x *CreateTaskRequest) GetStatus() bool
- func (x *CreateTaskRequest) GetTag() string
- func (x *CreateTaskRequest) GetWorkerGroupId() uint32
- func (x *CreateTaskRequest) GetWorkerId() uint32
- func (x *CreateTaskRequest) GetWorkerType() string
- func (*CreateTaskRequest) ProtoMessage()
- func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTaskRequest) Reset()
- func (x *CreateTaskRequest) String() string
- func (m *CreateTaskRequest) Validate() error
- func (m *CreateTaskRequest) ValidateAll() error
- type CreateTaskRequestMultiError
- type CreateTaskRequestValidationError
- func (e CreateTaskRequestValidationError) Cause() error
- func (e CreateTaskRequestValidationError) Error() string
- func (e CreateTaskRequestValidationError) ErrorName() string
- func (e CreateTaskRequestValidationError) Field() string
- func (e CreateTaskRequestValidationError) Key() bool
- func (e CreateTaskRequestValidationError) Reason() string
- type DeleteTaskGroupReply
- func (*DeleteTaskGroupReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTaskGroupReply) ProtoMessage()
- func (x *DeleteTaskGroupReply) ProtoReflect() protoreflect.Message
- func (x *DeleteTaskGroupReply) Reset()
- func (x *DeleteTaskGroupReply) String() string
- func (m *DeleteTaskGroupReply) Validate() error
- func (m *DeleteTaskGroupReply) ValidateAll() error
- type DeleteTaskGroupReplyMultiError
- type DeleteTaskGroupReplyValidationError
- func (e DeleteTaskGroupReplyValidationError) Cause() error
- func (e DeleteTaskGroupReplyValidationError) Error() string
- func (e DeleteTaskGroupReplyValidationError) ErrorName() string
- func (e DeleteTaskGroupReplyValidationError) Field() string
- func (e DeleteTaskGroupReplyValidationError) Key() bool
- func (e DeleteTaskGroupReplyValidationError) Reason() string
- type DeleteTaskGroupRequest
- func (*DeleteTaskGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTaskGroupRequest) GetId() uint32
- func (*DeleteTaskGroupRequest) ProtoMessage()
- func (x *DeleteTaskGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTaskGroupRequest) Reset()
- func (x *DeleteTaskGroupRequest) String() string
- func (m *DeleteTaskGroupRequest) Validate() error
- func (m *DeleteTaskGroupRequest) ValidateAll() error
- type DeleteTaskGroupRequestMultiError
- type DeleteTaskGroupRequestValidationError
- func (e DeleteTaskGroupRequestValidationError) Cause() error
- func (e DeleteTaskGroupRequestValidationError) Error() string
- func (e DeleteTaskGroupRequestValidationError) ErrorName() string
- func (e DeleteTaskGroupRequestValidationError) Field() string
- func (e DeleteTaskGroupRequestValidationError) Key() bool
- func (e DeleteTaskGroupRequestValidationError) Reason() string
- type DeleteTaskReply
- func (*DeleteTaskReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteTaskReply) ProtoMessage()
- func (x *DeleteTaskReply) ProtoReflect() protoreflect.Message
- func (x *DeleteTaskReply) Reset()
- func (x *DeleteTaskReply) String() string
- func (m *DeleteTaskReply) Validate() error
- func (m *DeleteTaskReply) ValidateAll() error
- type DeleteTaskReplyMultiError
- type DeleteTaskReplyValidationError
- func (e DeleteTaskReplyValidationError) Cause() error
- func (e DeleteTaskReplyValidationError) Error() string
- func (e DeleteTaskReplyValidationError) ErrorName() string
- func (e DeleteTaskReplyValidationError) Field() string
- func (e DeleteTaskReplyValidationError) Key() bool
- func (e DeleteTaskReplyValidationError) Reason() string
- type DeleteTaskRequest
- func (*DeleteTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTaskRequest) GetId() uint32
- func (*DeleteTaskRequest) ProtoMessage()
- func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTaskRequest) Reset()
- func (x *DeleteTaskRequest) String() string
- func (m *DeleteTaskRequest) Validate() error
- func (m *DeleteTaskRequest) ValidateAll() error
- type DeleteTaskRequestMultiError
- type DeleteTaskRequestValidationError
- func (e DeleteTaskRequestValidationError) Cause() error
- func (e DeleteTaskRequestValidationError) Error() string
- func (e DeleteTaskRequestValidationError) ErrorName() string
- func (e DeleteTaskRequestValidationError) Field() string
- func (e DeleteTaskRequestValidationError) Key() bool
- func (e DeleteTaskRequestValidationError) Reason() string
- type ExecTaskReply
- func (*ExecTaskReply) Descriptor() ([]byte, []int)deprecated
- func (*ExecTaskReply) ProtoMessage()
- func (x *ExecTaskReply) ProtoReflect() protoreflect.Message
- func (x *ExecTaskReply) Reset()
- func (x *ExecTaskReply) String() string
- func (m *ExecTaskReply) Validate() error
- func (m *ExecTaskReply) ValidateAll() error
- type ExecTaskReplyMultiError
- type ExecTaskReplyValidationError
- func (e ExecTaskReplyValidationError) Cause() error
- func (e ExecTaskReplyValidationError) Error() string
- func (e ExecTaskReplyValidationError) ErrorName() string
- func (e ExecTaskReplyValidationError) Field() string
- func (e ExecTaskReplyValidationError) Key() bool
- func (e ExecTaskReplyValidationError) Reason() string
- type ExecTaskRequest
- func (*ExecTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecTaskRequest) GetId() uint32
- func (*ExecTaskRequest) ProtoMessage()
- func (x *ExecTaskRequest) ProtoReflect() protoreflect.Message
- func (x *ExecTaskRequest) Reset()
- func (x *ExecTaskRequest) String() string
- func (m *ExecTaskRequest) Validate() error
- func (m *ExecTaskRequest) ValidateAll() error
- type ExecTaskRequestMultiError
- type ExecTaskRequestValidationError
- func (e ExecTaskRequestValidationError) Cause() error
- func (e ExecTaskRequestValidationError) Error() string
- func (e ExecTaskRequestValidationError) ErrorName() string
- func (e ExecTaskRequestValidationError) Field() string
- func (e ExecTaskRequestValidationError) Key() bool
- func (e ExecTaskRequestValidationError) Reason() string
- type GetTaskGroupReply
- func (*GetTaskGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskGroupReply) GetCreatedAt() uint32
- func (x *GetTaskGroupReply) GetDescription() string
- func (x *GetTaskGroupReply) GetId() uint32
- func (x *GetTaskGroupReply) GetName() string
- func (x *GetTaskGroupReply) GetUpdatedAt() uint32
- func (*GetTaskGroupReply) ProtoMessage()
- func (x *GetTaskGroupReply) ProtoReflect() protoreflect.Message
- func (x *GetTaskGroupReply) Reset()
- func (x *GetTaskGroupReply) String() string
- func (m *GetTaskGroupReply) Validate() error
- func (m *GetTaskGroupReply) ValidateAll() error
- type GetTaskGroupReplyMultiError
- type GetTaskGroupReplyValidationError
- func (e GetTaskGroupReplyValidationError) Cause() error
- func (e GetTaskGroupReplyValidationError) Error() string
- func (e GetTaskGroupReplyValidationError) ErrorName() string
- func (e GetTaskGroupReplyValidationError) Field() string
- func (e GetTaskGroupReplyValidationError) Key() bool
- func (e GetTaskGroupReplyValidationError) Reason() string
- type GetTaskGroupRequest
- func (*GetTaskGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskGroupRequest) GetId() uint32
- func (*GetTaskGroupRequest) ProtoMessage()
- func (x *GetTaskGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetTaskGroupRequest) Reset()
- func (x *GetTaskGroupRequest) String() string
- func (m *GetTaskGroupRequest) Validate() error
- func (m *GetTaskGroupRequest) ValidateAll() error
- type GetTaskGroupRequestMultiError
- type GetTaskGroupRequestValidationError
- func (e GetTaskGroupRequestValidationError) Cause() error
- func (e GetTaskGroupRequestValidationError) Error() string
- func (e GetTaskGroupRequestValidationError) ErrorName() string
- func (e GetTaskGroupRequestValidationError) Field() string
- func (e GetTaskGroupRequestValidationError) Key() bool
- func (e GetTaskGroupRequestValidationError) Reason() string
- type GetTaskReply
- func (*GetTaskReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskReply) GetCreatedAt() uint32
- func (x *GetTaskReply) GetDescription() string
- func (x *GetTaskReply) GetExecType() string
- func (x *GetTaskReply) GetExecValue() string
- func (x *GetTaskReply) GetExpectCode() uint32
- func (x *GetTaskReply) GetGroup() *GetTaskReply_Group
- func (x *GetTaskReply) GetGroupId() uint32
- func (x *GetTaskReply) GetId() uint32
- func (x *GetTaskReply) GetMaxExecTime() uint32
- func (x *GetTaskReply) GetName() string
- func (x *GetTaskReply) GetRetryCount() uint32
- func (x *GetTaskReply) GetRetryWaitTime() uint32
- func (x *GetTaskReply) GetSpec() string
- func (x *GetTaskReply) GetStatus() bool
- func (x *GetTaskReply) GetTag() string
- func (x *GetTaskReply) GetUpdatedAt() uint32
- func (x *GetTaskReply) GetVersion() string
- func (x *GetTaskReply) GetWorker() *GetTaskReply_Worker
- func (x *GetTaskReply) GetWorkerGroup() *GetTaskReply_WorkerGroup
- func (x *GetTaskReply) GetWorkerGroupId() uint32
- func (x *GetTaskReply) GetWorkerId() uint32
- func (x *GetTaskReply) GetWorkerType() string
- func (*GetTaskReply) ProtoMessage()
- func (x *GetTaskReply) ProtoReflect() protoreflect.Message
- func (x *GetTaskReply) Reset()
- func (x *GetTaskReply) String() string
- func (m *GetTaskReply) Validate() error
- func (m *GetTaskReply) ValidateAll() error
- type GetTaskReplyMultiError
- type GetTaskReplyValidationError
- func (e GetTaskReplyValidationError) Cause() error
- func (e GetTaskReplyValidationError) Error() string
- func (e GetTaskReplyValidationError) ErrorName() string
- func (e GetTaskReplyValidationError) Field() string
- func (e GetTaskReplyValidationError) Key() bool
- func (e GetTaskReplyValidationError) Reason() string
- type GetTaskReply_Group
- func (*GetTaskReply_Group) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskReply_Group) GetName() string
- func (*GetTaskReply_Group) ProtoMessage()
- func (x *GetTaskReply_Group) ProtoReflect() protoreflect.Message
- func (x *GetTaskReply_Group) Reset()
- func (x *GetTaskReply_Group) String() string
- func (m *GetTaskReply_Group) Validate() error
- func (m *GetTaskReply_Group) ValidateAll() error
- type GetTaskReply_GroupMultiError
- type GetTaskReply_GroupValidationError
- func (e GetTaskReply_GroupValidationError) Cause() error
- func (e GetTaskReply_GroupValidationError) Error() string
- func (e GetTaskReply_GroupValidationError) ErrorName() string
- func (e GetTaskReply_GroupValidationError) Field() string
- func (e GetTaskReply_GroupValidationError) Key() bool
- func (e GetTaskReply_GroupValidationError) Reason() string
- type GetTaskReply_Worker
- func (*GetTaskReply_Worker) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskReply_Worker) GetName() string
- func (*GetTaskReply_Worker) ProtoMessage()
- func (x *GetTaskReply_Worker) ProtoReflect() protoreflect.Message
- func (x *GetTaskReply_Worker) Reset()
- func (x *GetTaskReply_Worker) String() string
- func (m *GetTaskReply_Worker) Validate() error
- func (m *GetTaskReply_Worker) ValidateAll() error
- type GetTaskReply_WorkerGroup
- func (*GetTaskReply_WorkerGroup) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskReply_WorkerGroup) GetName() string
- func (*GetTaskReply_WorkerGroup) ProtoMessage()
- func (x *GetTaskReply_WorkerGroup) ProtoReflect() protoreflect.Message
- func (x *GetTaskReply_WorkerGroup) Reset()
- func (x *GetTaskReply_WorkerGroup) String() string
- func (m *GetTaskReply_WorkerGroup) Validate() error
- func (m *GetTaskReply_WorkerGroup) ValidateAll() error
- type GetTaskReply_WorkerGroupMultiError
- type GetTaskReply_WorkerGroupValidationError
- func (e GetTaskReply_WorkerGroupValidationError) Cause() error
- func (e GetTaskReply_WorkerGroupValidationError) Error() string
- func (e GetTaskReply_WorkerGroupValidationError) ErrorName() string
- func (e GetTaskReply_WorkerGroupValidationError) Field() string
- func (e GetTaskReply_WorkerGroupValidationError) Key() bool
- func (e GetTaskReply_WorkerGroupValidationError) Reason() string
- type GetTaskReply_WorkerMultiError
- type GetTaskReply_WorkerValidationError
- func (e GetTaskReply_WorkerValidationError) Cause() error
- func (e GetTaskReply_WorkerValidationError) Error() string
- func (e GetTaskReply_WorkerValidationError) ErrorName() string
- func (e GetTaskReply_WorkerValidationError) Field() string
- func (e GetTaskReply_WorkerValidationError) Key() bool
- func (e GetTaskReply_WorkerValidationError) Reason() string
- type GetTaskRequest
- func (*GetTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskRequest) GetId() uint32
- func (*GetTaskRequest) ProtoMessage()
- func (x *GetTaskRequest) ProtoReflect() protoreflect.Message
- func (x *GetTaskRequest) Reset()
- func (x *GetTaskRequest) String() string
- func (m *GetTaskRequest) Validate() error
- func (m *GetTaskRequest) ValidateAll() error
- type GetTaskRequestMultiError
- type GetTaskRequestValidationError
- func (e GetTaskRequestValidationError) Cause() error
- func (e GetTaskRequestValidationError) Error() string
- func (e GetTaskRequestValidationError) ErrorName() string
- func (e GetTaskRequestValidationError) Field() string
- func (e GetTaskRequestValidationError) Key() bool
- func (e GetTaskRequestValidationError) Reason() string
- type ListTaskGroupReply
- func (*ListTaskGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskGroupReply) GetList() []*ListTaskGroupReply_TaskGroup
- func (x *ListTaskGroupReply) GetTotal() uint32
- func (*ListTaskGroupReply) ProtoMessage()
- func (x *ListTaskGroupReply) ProtoReflect() protoreflect.Message
- func (x *ListTaskGroupReply) Reset()
- func (x *ListTaskGroupReply) String() string
- func (m *ListTaskGroupReply) Validate() error
- func (m *ListTaskGroupReply) ValidateAll() error
- type ListTaskGroupReplyMultiError
- type ListTaskGroupReplyValidationError
- func (e ListTaskGroupReplyValidationError) Cause() error
- func (e ListTaskGroupReplyValidationError) Error() string
- func (e ListTaskGroupReplyValidationError) ErrorName() string
- func (e ListTaskGroupReplyValidationError) Field() string
- func (e ListTaskGroupReplyValidationError) Key() bool
- func (e ListTaskGroupReplyValidationError) Reason() string
- type ListTaskGroupReply_TaskGroup
- func (*ListTaskGroupReply_TaskGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskGroupReply_TaskGroup) GetCreatedAt() uint32
- func (x *ListTaskGroupReply_TaskGroup) GetDescription() string
- func (x *ListTaskGroupReply_TaskGroup) GetId() uint32
- func (x *ListTaskGroupReply_TaskGroup) GetName() string
- func (x *ListTaskGroupReply_TaskGroup) GetUpdatedAt() uint32
- func (*ListTaskGroupReply_TaskGroup) ProtoMessage()
- func (x *ListTaskGroupReply_TaskGroup) ProtoReflect() protoreflect.Message
- func (x *ListTaskGroupReply_TaskGroup) Reset()
- func (x *ListTaskGroupReply_TaskGroup) String() string
- func (m *ListTaskGroupReply_TaskGroup) Validate() error
- func (m *ListTaskGroupReply_TaskGroup) ValidateAll() error
- type ListTaskGroupReply_TaskGroupMultiError
- type ListTaskGroupReply_TaskGroupValidationError
- func (e ListTaskGroupReply_TaskGroupValidationError) Cause() error
- func (e ListTaskGroupReply_TaskGroupValidationError) Error() string
- func (e ListTaskGroupReply_TaskGroupValidationError) ErrorName() string
- func (e ListTaskGroupReply_TaskGroupValidationError) Field() string
- func (e ListTaskGroupReply_TaskGroupValidationError) Key() bool
- func (e ListTaskGroupReply_TaskGroupValidationError) Reason() string
- type ListTaskGroupRequest
- func (*ListTaskGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskGroupRequest) GetName() string
- func (x *ListTaskGroupRequest) GetOrder() string
- func (x *ListTaskGroupRequest) GetOrderBy() string
- func (x *ListTaskGroupRequest) GetPage() uint32
- func (x *ListTaskGroupRequest) GetPageSize() uint32
- func (*ListTaskGroupRequest) ProtoMessage()
- func (x *ListTaskGroupRequest) ProtoReflect() protoreflect.Message
- func (x *ListTaskGroupRequest) Reset()
- func (x *ListTaskGroupRequest) String() string
- func (m *ListTaskGroupRequest) Validate() error
- func (m *ListTaskGroupRequest) ValidateAll() error
- type ListTaskGroupRequestMultiError
- type ListTaskGroupRequestValidationError
- func (e ListTaskGroupRequestValidationError) Cause() error
- func (e ListTaskGroupRequestValidationError) Error() string
- func (e ListTaskGroupRequestValidationError) ErrorName() string
- func (e ListTaskGroupRequestValidationError) Field() string
- func (e ListTaskGroupRequestValidationError) Key() bool
- func (e ListTaskGroupRequestValidationError) Reason() string
- type ListTaskReply
- func (*ListTaskReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskReply) GetList() []*ListTaskReply_Task
- func (x *ListTaskReply) GetTotal() uint32
- func (*ListTaskReply) ProtoMessage()
- func (x *ListTaskReply) ProtoReflect() protoreflect.Message
- func (x *ListTaskReply) Reset()
- func (x *ListTaskReply) String() string
- func (m *ListTaskReply) Validate() error
- func (m *ListTaskReply) ValidateAll() error
- type ListTaskReplyMultiError
- type ListTaskReplyValidationError
- func (e ListTaskReplyValidationError) Cause() error
- func (e ListTaskReplyValidationError) Error() string
- func (e ListTaskReplyValidationError) ErrorName() string
- func (e ListTaskReplyValidationError) Field() string
- func (e ListTaskReplyValidationError) Key() bool
- func (e ListTaskReplyValidationError) Reason() string
- type ListTaskReply_Task
- func (*ListTaskReply_Task) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskReply_Task) GetCreatedAt() uint32
- func (x *ListTaskReply_Task) GetDescription() string
- func (x *ListTaskReply_Task) GetExecType() string
- func (x *ListTaskReply_Task) GetExecValue() string
- func (x *ListTaskReply_Task) GetExpectCode() uint32
- func (x *ListTaskReply_Task) GetGroupId() uint32
- func (x *ListTaskReply_Task) GetId() uint32
- func (x *ListTaskReply_Task) GetMaxExecTime() uint32
- func (x *ListTaskReply_Task) GetName() string
- func (x *ListTaskReply_Task) GetRetryCount() uint32
- func (x *ListTaskReply_Task) GetRetryWaitTime() uint32
- func (x *ListTaskReply_Task) GetSpec() string
- func (x *ListTaskReply_Task) GetStatus() bool
- func (x *ListTaskReply_Task) GetTag() string
- func (x *ListTaskReply_Task) GetUpdatedAt() uint32
- func (x *ListTaskReply_Task) GetVersion() string
- func (x *ListTaskReply_Task) GetWorkerGroupId() uint32
- func (x *ListTaskReply_Task) GetWorkerId() uint32
- func (x *ListTaskReply_Task) GetWorkerType() string
- func (*ListTaskReply_Task) ProtoMessage()
- func (x *ListTaskReply_Task) ProtoReflect() protoreflect.Message
- func (x *ListTaskReply_Task) Reset()
- func (x *ListTaskReply_Task) String() string
- func (m *ListTaskReply_Task) Validate() error
- func (m *ListTaskReply_Task) ValidateAll() error
- type ListTaskReply_TaskMultiError
- type ListTaskReply_TaskValidationError
- func (e ListTaskReply_TaskValidationError) Cause() error
- func (e ListTaskReply_TaskValidationError) Error() string
- func (e ListTaskReply_TaskValidationError) ErrorName() string
- func (e ListTaskReply_TaskValidationError) Field() string
- func (e ListTaskReply_TaskValidationError) Key() bool
- func (e ListTaskReply_TaskValidationError) Reason() string
- type ListTaskRequest
- func (*ListTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskRequest) GetGroupId() uint32
- func (x *ListTaskRequest) GetName() string
- func (x *ListTaskRequest) GetOrder() string
- func (x *ListTaskRequest) GetOrderBy() string
- func (x *ListTaskRequest) GetPage() uint32
- func (x *ListTaskRequest) GetPageSize() uint32
- func (x *ListTaskRequest) GetStatus() bool
- func (x *ListTaskRequest) GetTag() string
- func (*ListTaskRequest) ProtoMessage()
- func (x *ListTaskRequest) ProtoReflect() protoreflect.Message
- func (x *ListTaskRequest) Reset()
- func (x *ListTaskRequest) String() string
- func (m *ListTaskRequest) Validate() error
- func (m *ListTaskRequest) ValidateAll() error
- type ListTaskRequestMultiError
- type ListTaskRequestValidationError
- func (e ListTaskRequestValidationError) Cause() error
- func (e ListTaskRequestValidationError) Error() string
- func (e ListTaskRequestValidationError) ErrorName() string
- func (e ListTaskRequestValidationError) Field() string
- func (e ListTaskRequestValidationError) Key() bool
- func (e ListTaskRequestValidationError) Reason() string
- type TaskClient
- type TaskHTTPClient
- type TaskHTTPClientImpl
- func (c *TaskHTTPClientImpl) CancelExecTask(ctx context.Context, in *CancelExecTaskRequest, opts ...http.CallOption) (*CancelExecTaskReply, error)
- func (c *TaskHTTPClientImpl) CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...http.CallOption) (*CreateTaskReply, error)
- func (c *TaskHTTPClientImpl) CreateTaskGroup(ctx context.Context, in *CreateTaskGroupRequest, opts ...http.CallOption) (*CreateTaskGroupReply, error)
- func (c *TaskHTTPClientImpl) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...http.CallOption) (*DeleteTaskReply, error)
- func (c *TaskHTTPClientImpl) DeleteTaskGroup(ctx context.Context, in *DeleteTaskGroupRequest, opts ...http.CallOption) (*DeleteTaskGroupReply, error)
- func (c *TaskHTTPClientImpl) ExecTask(ctx context.Context, in *ExecTaskRequest, opts ...http.CallOption) (*ExecTaskReply, error)
- func (c *TaskHTTPClientImpl) GetTask(ctx context.Context, in *GetTaskRequest, opts ...http.CallOption) (*GetTaskReply, error)
- func (c *TaskHTTPClientImpl) GetTaskGroup(ctx context.Context, in *GetTaskGroupRequest, opts ...http.CallOption) (*GetTaskGroupReply, error)
- func (c *TaskHTTPClientImpl) ListTask(ctx context.Context, in *ListTaskRequest, opts ...http.CallOption) (*ListTaskReply, error)
- func (c *TaskHTTPClientImpl) ListTaskGroup(ctx context.Context, in *ListTaskGroupRequest, opts ...http.CallOption) (*ListTaskGroupReply, error)
- func (c *TaskHTTPClientImpl) UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...http.CallOption) (*UpdateTaskReply, error)
- func (c *TaskHTTPClientImpl) UpdateTaskGroup(ctx context.Context, in *UpdateTaskGroupRequest, opts ...http.CallOption) (*UpdateTaskGroupReply, error)
- func (c *TaskHTTPClientImpl) UpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...http.CallOption) (*UpdateTaskStatusReply, error)
- type TaskHTTPServer
- type TaskServer
- type UnimplementedTaskServer
- func (UnimplementedTaskServer) CancelExecTask(context.Context, *CancelExecTaskRequest) (*CancelExecTaskReply, error)
- func (UnimplementedTaskServer) CreateTask(context.Context, *CreateTaskRequest) (*CreateTaskReply, error)
- func (UnimplementedTaskServer) CreateTaskGroup(context.Context, *CreateTaskGroupRequest) (*CreateTaskGroupReply, error)
- func (UnimplementedTaskServer) DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskReply, error)
- func (UnimplementedTaskServer) DeleteTaskGroup(context.Context, *DeleteTaskGroupRequest) (*DeleteTaskGroupReply, error)
- func (UnimplementedTaskServer) ExecTask(context.Context, *ExecTaskRequest) (*ExecTaskReply, error)
- func (UnimplementedTaskServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskReply, error)
- func (UnimplementedTaskServer) GetTaskGroup(context.Context, *GetTaskGroupRequest) (*GetTaskGroupReply, error)
- func (UnimplementedTaskServer) ListTask(context.Context, *ListTaskRequest) (*ListTaskReply, error)
- func (UnimplementedTaskServer) ListTaskGroup(context.Context, *ListTaskGroupRequest) (*ListTaskGroupReply, error)
- func (UnimplementedTaskServer) UpdateTask(context.Context, *UpdateTaskRequest) (*UpdateTaskReply, error)
- func (UnimplementedTaskServer) UpdateTaskGroup(context.Context, *UpdateTaskGroupRequest) (*UpdateTaskGroupReply, error)
- func (UnimplementedTaskServer) UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusReply, error)
- type UnsafeTaskServer
- type UpdateTaskGroupReply
- func (*UpdateTaskGroupReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTaskGroupReply) ProtoMessage()
- func (x *UpdateTaskGroupReply) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskGroupReply) Reset()
- func (x *UpdateTaskGroupReply) String() string
- func (m *UpdateTaskGroupReply) Validate() error
- func (m *UpdateTaskGroupReply) ValidateAll() error
- type UpdateTaskGroupReplyMultiError
- type UpdateTaskGroupReplyValidationError
- func (e UpdateTaskGroupReplyValidationError) Cause() error
- func (e UpdateTaskGroupReplyValidationError) Error() string
- func (e UpdateTaskGroupReplyValidationError) ErrorName() string
- func (e UpdateTaskGroupReplyValidationError) Field() string
- func (e UpdateTaskGroupReplyValidationError) Key() bool
- func (e UpdateTaskGroupReplyValidationError) Reason() string
- type UpdateTaskGroupRequest
- func (*UpdateTaskGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskGroupRequest) GetDescription() string
- func (x *UpdateTaskGroupRequest) GetId() uint32
- func (x *UpdateTaskGroupRequest) GetName() string
- func (*UpdateTaskGroupRequest) ProtoMessage()
- func (x *UpdateTaskGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskGroupRequest) Reset()
- func (x *UpdateTaskGroupRequest) String() string
- func (m *UpdateTaskGroupRequest) Validate() error
- func (m *UpdateTaskGroupRequest) ValidateAll() error
- type UpdateTaskGroupRequestMultiError
- type UpdateTaskGroupRequestValidationError
- func (e UpdateTaskGroupRequestValidationError) Cause() error
- func (e UpdateTaskGroupRequestValidationError) Error() string
- func (e UpdateTaskGroupRequestValidationError) ErrorName() string
- func (e UpdateTaskGroupRequestValidationError) Field() string
- func (e UpdateTaskGroupRequestValidationError) Key() bool
- func (e UpdateTaskGroupRequestValidationError) Reason() string
- type UpdateTaskReply
- func (*UpdateTaskReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTaskReply) ProtoMessage()
- func (x *UpdateTaskReply) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskReply) Reset()
- func (x *UpdateTaskReply) String() string
- func (m *UpdateTaskReply) Validate() error
- func (m *UpdateTaskReply) ValidateAll() error
- type UpdateTaskReplyMultiError
- type UpdateTaskReplyValidationError
- func (e UpdateTaskReplyValidationError) Cause() error
- func (e UpdateTaskReplyValidationError) Error() string
- func (e UpdateTaskReplyValidationError) ErrorName() string
- func (e UpdateTaskReplyValidationError) Field() string
- func (e UpdateTaskReplyValidationError) Key() bool
- func (e UpdateTaskReplyValidationError) Reason() string
- type UpdateTaskRequest
- func (*UpdateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskRequest) GetDescription() string
- func (x *UpdateTaskRequest) GetExecType() string
- func (x *UpdateTaskRequest) GetExecValue() string
- func (x *UpdateTaskRequest) GetExpectCode() uint32
- func (x *UpdateTaskRequest) GetGroupId() uint32
- func (x *UpdateTaskRequest) GetId() uint32
- func (x *UpdateTaskRequest) GetMaxExecTime() uint32
- func (x *UpdateTaskRequest) GetName() string
- func (x *UpdateTaskRequest) GetRetryCount() uint32
- func (x *UpdateTaskRequest) GetRetryWaitTime() uint32
- func (x *UpdateTaskRequest) GetSpec() string
- func (x *UpdateTaskRequest) GetTag() string
- func (x *UpdateTaskRequest) GetWorkerGroupId() uint32
- func (x *UpdateTaskRequest) GetWorkerId() uint32
- func (x *UpdateTaskRequest) GetWorkerType() string
- func (*UpdateTaskRequest) ProtoMessage()
- func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskRequest) Reset()
- func (x *UpdateTaskRequest) String() string
- func (m *UpdateTaskRequest) Validate() error
- func (m *UpdateTaskRequest) ValidateAll() error
- type UpdateTaskRequestMultiError
- type UpdateTaskRequestValidationError
- func (e UpdateTaskRequestValidationError) Cause() error
- func (e UpdateTaskRequestValidationError) Error() string
- func (e UpdateTaskRequestValidationError) ErrorName() string
- func (e UpdateTaskRequestValidationError) Field() string
- func (e UpdateTaskRequestValidationError) Key() bool
- func (e UpdateTaskRequestValidationError) Reason() string
- type UpdateTaskStatusReply
- func (*UpdateTaskStatusReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTaskStatusReply) ProtoMessage()
- func (x *UpdateTaskStatusReply) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskStatusReply) Reset()
- func (x *UpdateTaskStatusReply) String() string
- func (m *UpdateTaskStatusReply) Validate() error
- func (m *UpdateTaskStatusReply) ValidateAll() error
- type UpdateTaskStatusReplyMultiError
- type UpdateTaskStatusReplyValidationError
- func (e UpdateTaskStatusReplyValidationError) Cause() error
- func (e UpdateTaskStatusReplyValidationError) Error() string
- func (e UpdateTaskStatusReplyValidationError) ErrorName() string
- func (e UpdateTaskStatusReplyValidationError) Field() string
- func (e UpdateTaskStatusReplyValidationError) Key() bool
- func (e UpdateTaskStatusReplyValidationError) Reason() string
- type UpdateTaskStatusRequest
- func (*UpdateTaskStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskStatusRequest) GetId() uint32
- func (x *UpdateTaskStatusRequest) GetStatus() bool
- func (*UpdateTaskStatusRequest) ProtoMessage()
- func (x *UpdateTaskStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskStatusRequest) Reset()
- func (x *UpdateTaskStatusRequest) String() string
- func (m *UpdateTaskStatusRequest) Validate() error
- func (m *UpdateTaskStatusRequest) ValidateAll() error
- type UpdateTaskStatusRequestMultiError
- type UpdateTaskStatusRequestValidationError
- func (e UpdateTaskStatusRequestValidationError) Cause() error
- func (e UpdateTaskStatusRequestValidationError) Error() string
- func (e UpdateTaskStatusRequestValidationError) ErrorName() string
- func (e UpdateTaskStatusRequestValidationError) Field() string
- func (e UpdateTaskStatusRequestValidationError) Key() bool
- func (e UpdateTaskStatusRequestValidationError) Reason() string
Constants ¶
const ( Task_GetTaskGroup_FullMethodName = "/cron.api.server.cron.task.v1.Task/GetTaskGroup" Task_ListTaskGroup_FullMethodName = "/cron.api.server.cron.task.v1.Task/ListTaskGroup" Task_CreateTaskGroup_FullMethodName = "/cron.api.server.cron.task.v1.Task/CreateTaskGroup" Task_UpdateTaskGroup_FullMethodName = "/cron.api.server.cron.task.v1.Task/UpdateTaskGroup" Task_DeleteTaskGroup_FullMethodName = "/cron.api.server.cron.task.v1.Task/DeleteTaskGroup" Task_GetTask_FullMethodName = "/cron.api.server.cron.task.v1.Task/GetTask" Task_ListTask_FullMethodName = "/cron.api.server.cron.task.v1.Task/ListTask" Task_CreateTask_FullMethodName = "/cron.api.server.cron.task.v1.Task/CreateTask" Task_UpdateTask_FullMethodName = "/cron.api.server.cron.task.v1.Task/UpdateTask" Task_UpdateTaskStatus_FullMethodName = "/cron.api.server.cron.task.v1.Task/UpdateTaskStatus" Task_DeleteTask_FullMethodName = "/cron.api.server.cron.task.v1.Task/DeleteTask" Task_ExecTask_FullMethodName = "/cron.api.server.cron.task.v1.Task/ExecTask" Task_CancelExecTask_FullMethodName = "/cron.api.server.cron.task.v1.Task/CancelExecTask" )
const OperationTaskCancelExecTask = "/cron.api.server.cron.task.v1.Task/CancelExecTask"
const OperationTaskCreateTask = "/cron.api.server.cron.task.v1.Task/CreateTask"
const OperationTaskCreateTaskGroup = "/cron.api.server.cron.task.v1.Task/CreateTaskGroup"
const OperationTaskDeleteTask = "/cron.api.server.cron.task.v1.Task/DeleteTask"
const OperationTaskDeleteTaskGroup = "/cron.api.server.cron.task.v1.Task/DeleteTaskGroup"
const OperationTaskExecTask = "/cron.api.server.cron.task.v1.Task/ExecTask"
const OperationTaskGetTask = "/cron.api.server.cron.task.v1.Task/GetTask"
const OperationTaskGetTaskGroup = "/cron.api.server.cron.task.v1.Task/GetTaskGroup"
const OperationTaskListTask = "/cron.api.server.cron.task.v1.Task/ListTask"
const OperationTaskListTaskGroup = "/cron.api.server.cron.task.v1.Task/ListTaskGroup"
const OperationTaskUpdateTask = "/cron.api.server.cron.task.v1.Task/UpdateTask"
const OperationTaskUpdateTaskGroup = "/cron.api.server.cron.task.v1.Task/UpdateTaskGroup"
const OperationTaskUpdateTaskStatus = "/cron.api.server.cron.task.v1.Task/UpdateTaskStatus"
Variables ¶
var File_api_cron_server_task_cron_task_group_proto protoreflect.FileDescriptor
var File_api_cron_server_task_cron_task_proto protoreflect.FileDescriptor
var File_api_cron_server_task_cron_task_service_proto protoreflect.FileDescriptor
var Task_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cron.api.server.cron.task.v1.Task", HandlerType: (*TaskServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTaskGroup", Handler: _Task_GetTaskGroup_Handler, }, { MethodName: "ListTaskGroup", Handler: _Task_ListTaskGroup_Handler, }, { MethodName: "CreateTaskGroup", Handler: _Task_CreateTaskGroup_Handler, }, { MethodName: "UpdateTaskGroup", Handler: _Task_UpdateTaskGroup_Handler, }, { MethodName: "DeleteTaskGroup", Handler: _Task_DeleteTaskGroup_Handler, }, { MethodName: "GetTask", Handler: _Task_GetTask_Handler, }, { MethodName: "ListTask", Handler: _Task_ListTask_Handler, }, { MethodName: "CreateTask", Handler: _Task_CreateTask_Handler, }, { MethodName: "UpdateTask", Handler: _Task_UpdateTask_Handler, }, { MethodName: "UpdateTaskStatus", Handler: _Task_UpdateTaskStatus_Handler, }, { MethodName: "DeleteTask", Handler: _Task_DeleteTask_Handler, }, { MethodName: "ExecTask", Handler: _Task_ExecTask_Handler, }, { MethodName: "CancelExecTask", Handler: _Task_CancelExecTask_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/cron/server/task/cron_task_service.proto", }
Task_ServiceDesc is the grpc.ServiceDesc for Task service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTaskHTTPServer ¶
func RegisterTaskHTTPServer(s *http.Server, srv TaskHTTPServer)
func RegisterTaskServer ¶
func RegisterTaskServer(s grpc.ServiceRegistrar, srv TaskServer)
Types ¶
type CancelExecTaskReply ¶
type CancelExecTaskReply struct {
// contains filtered or unexported fields
}
func (*CancelExecTaskReply) Descriptor
deprecated
func (*CancelExecTaskReply) Descriptor() ([]byte, []int)
Deprecated: Use CancelExecTaskReply.ProtoReflect.Descriptor instead.
func (*CancelExecTaskReply) ProtoMessage ¶
func (*CancelExecTaskReply) ProtoMessage()
func (*CancelExecTaskReply) ProtoReflect ¶
func (x *CancelExecTaskReply) ProtoReflect() protoreflect.Message
func (*CancelExecTaskReply) Reset ¶
func (x *CancelExecTaskReply) Reset()
func (*CancelExecTaskReply) String ¶
func (x *CancelExecTaskReply) String() string
func (*CancelExecTaskReply) Validate ¶
func (m *CancelExecTaskReply) Validate() error
Validate checks the field values on CancelExecTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CancelExecTaskReply) ValidateAll ¶
func (m *CancelExecTaskReply) ValidateAll() error
ValidateAll checks the field values on CancelExecTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CancelExecTaskReplyMultiError, or nil if none found.
type CancelExecTaskReplyMultiError ¶
type CancelExecTaskReplyMultiError []error
CancelExecTaskReplyMultiError is an error wrapping multiple validation errors returned by CancelExecTaskReply.ValidateAll() if the designated constraints aren't met.
func (CancelExecTaskReplyMultiError) AllErrors ¶
func (m CancelExecTaskReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelExecTaskReplyMultiError) Error ¶
func (m CancelExecTaskReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelExecTaskReplyValidationError ¶
type CancelExecTaskReplyValidationError struct {
// contains filtered or unexported fields
}
CancelExecTaskReplyValidationError is the validation error returned by CancelExecTaskReply.Validate if the designated constraints aren't met.
func (CancelExecTaskReplyValidationError) Cause ¶
func (e CancelExecTaskReplyValidationError) Cause() error
Cause function returns cause value.
func (CancelExecTaskReplyValidationError) Error ¶
func (e CancelExecTaskReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CancelExecTaskReplyValidationError) ErrorName ¶
func (e CancelExecTaskReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CancelExecTaskReplyValidationError) Field ¶
func (e CancelExecTaskReplyValidationError) Field() string
Field function returns field value.
func (CancelExecTaskReplyValidationError) Key ¶
func (e CancelExecTaskReplyValidationError) Key() bool
Key function returns key value.
func (CancelExecTaskReplyValidationError) Reason ¶
func (e CancelExecTaskReplyValidationError) Reason() string
Reason function returns reason value.
type CancelExecTaskRequest ¶
type CancelExecTaskRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*CancelExecTaskRequest) Descriptor
deprecated
func (*CancelExecTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelExecTaskRequest.ProtoReflect.Descriptor instead.
func (*CancelExecTaskRequest) GetUuid ¶
func (x *CancelExecTaskRequest) GetUuid() string
func (*CancelExecTaskRequest) ProtoMessage ¶
func (*CancelExecTaskRequest) ProtoMessage()
func (*CancelExecTaskRequest) ProtoReflect ¶
func (x *CancelExecTaskRequest) ProtoReflect() protoreflect.Message
func (*CancelExecTaskRequest) Reset ¶
func (x *CancelExecTaskRequest) Reset()
func (*CancelExecTaskRequest) String ¶
func (x *CancelExecTaskRequest) String() string
func (*CancelExecTaskRequest) Validate ¶
func (m *CancelExecTaskRequest) Validate() error
Validate checks the field values on CancelExecTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CancelExecTaskRequest) ValidateAll ¶
func (m *CancelExecTaskRequest) ValidateAll() error
ValidateAll checks the field values on CancelExecTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CancelExecTaskRequestMultiError, or nil if none found.
type CancelExecTaskRequestMultiError ¶
type CancelExecTaskRequestMultiError []error
CancelExecTaskRequestMultiError is an error wrapping multiple validation errors returned by CancelExecTaskRequest.ValidateAll() if the designated constraints aren't met.
func (CancelExecTaskRequestMultiError) AllErrors ¶
func (m CancelExecTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelExecTaskRequestMultiError) Error ¶
func (m CancelExecTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelExecTaskRequestValidationError ¶
type CancelExecTaskRequestValidationError struct {
// contains filtered or unexported fields
}
CancelExecTaskRequestValidationError is the validation error returned by CancelExecTaskRequest.Validate if the designated constraints aren't met.
func (CancelExecTaskRequestValidationError) Cause ¶
func (e CancelExecTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (CancelExecTaskRequestValidationError) Error ¶
func (e CancelExecTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CancelExecTaskRequestValidationError) ErrorName ¶
func (e CancelExecTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CancelExecTaskRequestValidationError) Field ¶
func (e CancelExecTaskRequestValidationError) Field() string
Field function returns field value.
func (CancelExecTaskRequestValidationError) Key ¶
func (e CancelExecTaskRequestValidationError) Key() bool
Key function returns key value.
func (CancelExecTaskRequestValidationError) Reason ¶
func (e CancelExecTaskRequestValidationError) Reason() string
Reason function returns reason value.
type CreateTaskGroupReply ¶
type CreateTaskGroupReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskGroupReply) Descriptor
deprecated
func (*CreateTaskGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskGroupReply.ProtoReflect.Descriptor instead.
func (*CreateTaskGroupReply) GetId ¶
func (x *CreateTaskGroupReply) GetId() uint32
func (*CreateTaskGroupReply) ProtoMessage ¶
func (*CreateTaskGroupReply) ProtoMessage()
func (*CreateTaskGroupReply) ProtoReflect ¶
func (x *CreateTaskGroupReply) ProtoReflect() protoreflect.Message
func (*CreateTaskGroupReply) Reset ¶
func (x *CreateTaskGroupReply) Reset()
func (*CreateTaskGroupReply) String ¶
func (x *CreateTaskGroupReply) String() string
func (*CreateTaskGroupReply) Validate ¶
func (m *CreateTaskGroupReply) Validate() error
Validate checks the field values on CreateTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTaskGroupReply) ValidateAll ¶
func (m *CreateTaskGroupReply) ValidateAll() error
ValidateAll checks the field values on CreateTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTaskGroupReplyMultiError, or nil if none found.
type CreateTaskGroupReplyMultiError ¶
type CreateTaskGroupReplyMultiError []error
CreateTaskGroupReplyMultiError is an error wrapping multiple validation errors returned by CreateTaskGroupReply.ValidateAll() if the designated constraints aren't met.
func (CreateTaskGroupReplyMultiError) AllErrors ¶
func (m CreateTaskGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTaskGroupReplyMultiError) Error ¶
func (m CreateTaskGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTaskGroupReplyValidationError ¶
type CreateTaskGroupReplyValidationError struct {
// contains filtered or unexported fields
}
CreateTaskGroupReplyValidationError is the validation error returned by CreateTaskGroupReply.Validate if the designated constraints aren't met.
func (CreateTaskGroupReplyValidationError) Cause ¶
func (e CreateTaskGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTaskGroupReplyValidationError) Error ¶
func (e CreateTaskGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTaskGroupReplyValidationError) ErrorName ¶
func (e CreateTaskGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTaskGroupReplyValidationError) Field ¶
func (e CreateTaskGroupReplyValidationError) Field() string
Field function returns field value.
func (CreateTaskGroupReplyValidationError) Key ¶
func (e CreateTaskGroupReplyValidationError) Key() bool
Key function returns key value.
func (CreateTaskGroupReplyValidationError) Reason ¶
func (e CreateTaskGroupReplyValidationError) Reason() string
Reason function returns reason value.
type CreateTaskGroupRequest ¶
type CreateTaskGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskGroupRequest) Descriptor
deprecated
func (*CreateTaskGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateTaskGroupRequest) GetDescription ¶
func (x *CreateTaskGroupRequest) GetDescription() string
func (*CreateTaskGroupRequest) GetName ¶
func (x *CreateTaskGroupRequest) GetName() string
func (*CreateTaskGroupRequest) ProtoMessage ¶
func (*CreateTaskGroupRequest) ProtoMessage()
func (*CreateTaskGroupRequest) ProtoReflect ¶
func (x *CreateTaskGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateTaskGroupRequest) Reset ¶
func (x *CreateTaskGroupRequest) Reset()
func (*CreateTaskGroupRequest) String ¶
func (x *CreateTaskGroupRequest) String() string
func (*CreateTaskGroupRequest) Validate ¶
func (m *CreateTaskGroupRequest) Validate() error
Validate checks the field values on CreateTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTaskGroupRequest) ValidateAll ¶
func (m *CreateTaskGroupRequest) ValidateAll() error
ValidateAll checks the field values on CreateTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTaskGroupRequestMultiError, or nil if none found.
type CreateTaskGroupRequestMultiError ¶
type CreateTaskGroupRequestMultiError []error
CreateTaskGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateTaskGroupRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTaskGroupRequestMultiError) AllErrors ¶
func (m CreateTaskGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTaskGroupRequestMultiError) Error ¶
func (m CreateTaskGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTaskGroupRequestValidationError ¶
type CreateTaskGroupRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTaskGroupRequestValidationError is the validation error returned by CreateTaskGroupRequest.Validate if the designated constraints aren't met.
func (CreateTaskGroupRequestValidationError) Cause ¶
func (e CreateTaskGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTaskGroupRequestValidationError) Error ¶
func (e CreateTaskGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTaskGroupRequestValidationError) ErrorName ¶
func (e CreateTaskGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTaskGroupRequestValidationError) Field ¶
func (e CreateTaskGroupRequestValidationError) Field() string
Field function returns field value.
func (CreateTaskGroupRequestValidationError) Key ¶
func (e CreateTaskGroupRequestValidationError) Key() bool
Key function returns key value.
func (CreateTaskGroupRequestValidationError) Reason ¶
func (e CreateTaskGroupRequestValidationError) Reason() string
Reason function returns reason value.
type CreateTaskReply ¶
type CreateTaskReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskReply) Descriptor
deprecated
func (*CreateTaskReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskReply.ProtoReflect.Descriptor instead.
func (*CreateTaskReply) GetId ¶
func (x *CreateTaskReply) GetId() uint32
func (*CreateTaskReply) ProtoMessage ¶
func (*CreateTaskReply) ProtoMessage()
func (*CreateTaskReply) ProtoReflect ¶
func (x *CreateTaskReply) ProtoReflect() protoreflect.Message
func (*CreateTaskReply) Reset ¶
func (x *CreateTaskReply) Reset()
func (*CreateTaskReply) String ¶
func (x *CreateTaskReply) String() string
func (*CreateTaskReply) Validate ¶
func (m *CreateTaskReply) Validate() error
Validate checks the field values on CreateTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTaskReply) ValidateAll ¶
func (m *CreateTaskReply) ValidateAll() error
ValidateAll checks the field values on CreateTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTaskReplyMultiError, or nil if none found.
type CreateTaskReplyMultiError ¶
type CreateTaskReplyMultiError []error
CreateTaskReplyMultiError is an error wrapping multiple validation errors returned by CreateTaskReply.ValidateAll() if the designated constraints aren't met.
func (CreateTaskReplyMultiError) AllErrors ¶
func (m CreateTaskReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTaskReplyMultiError) Error ¶
func (m CreateTaskReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTaskReplyValidationError ¶
type CreateTaskReplyValidationError struct {
// contains filtered or unexported fields
}
CreateTaskReplyValidationError is the validation error returned by CreateTaskReply.Validate if the designated constraints aren't met.
func (CreateTaskReplyValidationError) Cause ¶
func (e CreateTaskReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTaskReplyValidationError) Error ¶
func (e CreateTaskReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTaskReplyValidationError) ErrorName ¶
func (e CreateTaskReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTaskReplyValidationError) Field ¶
func (e CreateTaskReplyValidationError) Field() string
Field function returns field value.
func (CreateTaskReplyValidationError) Key ¶
func (e CreateTaskReplyValidationError) Key() bool
Key function returns key value.
func (CreateTaskReplyValidationError) Reason ¶
func (e CreateTaskReplyValidationError) Reason() string
Reason function returns reason value.
type CreateTaskRequest ¶
type CreateTaskRequest struct { GroupId uint32 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` Spec string `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` Status *bool `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"` WorkerType string `protobuf:"bytes,6,opt,name=workerType,proto3" json:"workerType,omitempty"` WorkerGroupId *uint32 `protobuf:"varint,7,opt,name=workerGroupId,proto3,oneof" json:"workerGroupId,omitempty"` WorkerId *uint32 `protobuf:"varint,8,opt,name=workerId,proto3,oneof" json:"workerId,omitempty"` ExecType string `protobuf:"bytes,9,opt,name=execType,proto3" json:"execType,omitempty"` ExecValue string `protobuf:"bytes,10,opt,name=execValue,proto3" json:"execValue,omitempty"` ExpectCode uint32 `protobuf:"varint,11,opt,name=expectCode,proto3" json:"expectCode,omitempty"` RetryCount uint32 `protobuf:"varint,12,opt,name=retryCount,proto3" json:"retryCount,omitempty"` RetryWaitTime uint32 `protobuf:"varint,13,opt,name=retryWaitTime,proto3" json:"retryWaitTime,omitempty"` MaxExecTime uint32 `protobuf:"varint,14,opt,name=maxExecTime,proto3" json:"maxExecTime,omitempty"` Description *string `protobuf:"bytes,15,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskRequest) Descriptor
deprecated
func (*CreateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead.
func (*CreateTaskRequest) GetDescription ¶
func (x *CreateTaskRequest) GetDescription() string
func (*CreateTaskRequest) GetExecType ¶
func (x *CreateTaskRequest) GetExecType() string
func (*CreateTaskRequest) GetExecValue ¶
func (x *CreateTaskRequest) GetExecValue() string
func (*CreateTaskRequest) GetExpectCode ¶
func (x *CreateTaskRequest) GetExpectCode() uint32
func (*CreateTaskRequest) GetGroupId ¶
func (x *CreateTaskRequest) GetGroupId() uint32
func (*CreateTaskRequest) GetMaxExecTime ¶
func (x *CreateTaskRequest) GetMaxExecTime() uint32
func (*CreateTaskRequest) GetName ¶
func (x *CreateTaskRequest) GetName() string
func (*CreateTaskRequest) GetRetryCount ¶
func (x *CreateTaskRequest) GetRetryCount() uint32
func (*CreateTaskRequest) GetRetryWaitTime ¶
func (x *CreateTaskRequest) GetRetryWaitTime() uint32
func (*CreateTaskRequest) GetSpec ¶
func (x *CreateTaskRequest) GetSpec() string
func (*CreateTaskRequest) GetStatus ¶
func (x *CreateTaskRequest) GetStatus() bool
func (*CreateTaskRequest) GetTag ¶
func (x *CreateTaskRequest) GetTag() string
func (*CreateTaskRequest) GetWorkerGroupId ¶
func (x *CreateTaskRequest) GetWorkerGroupId() uint32
func (*CreateTaskRequest) GetWorkerId ¶
func (x *CreateTaskRequest) GetWorkerId() uint32
func (*CreateTaskRequest) GetWorkerType ¶
func (x *CreateTaskRequest) GetWorkerType() string
func (*CreateTaskRequest) ProtoMessage ¶
func (*CreateTaskRequest) ProtoMessage()
func (*CreateTaskRequest) ProtoReflect ¶
func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
func (*CreateTaskRequest) Reset ¶
func (x *CreateTaskRequest) Reset()
func (*CreateTaskRequest) String ¶
func (x *CreateTaskRequest) String() string
func (*CreateTaskRequest) Validate ¶
func (m *CreateTaskRequest) Validate() error
Validate checks the field values on CreateTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTaskRequest) ValidateAll ¶
func (m *CreateTaskRequest) ValidateAll() error
ValidateAll checks the field values on CreateTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTaskRequestMultiError, or nil if none found.
type CreateTaskRequestMultiError ¶
type CreateTaskRequestMultiError []error
CreateTaskRequestMultiError is an error wrapping multiple validation errors returned by CreateTaskRequest.ValidateAll() if the designated constraints aren't met.
func (CreateTaskRequestMultiError) AllErrors ¶
func (m CreateTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTaskRequestMultiError) Error ¶
func (m CreateTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTaskRequestValidationError ¶
type CreateTaskRequestValidationError struct {
// contains filtered or unexported fields
}
CreateTaskRequestValidationError is the validation error returned by CreateTaskRequest.Validate if the designated constraints aren't met.
func (CreateTaskRequestValidationError) Cause ¶
func (e CreateTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateTaskRequestValidationError) Error ¶
func (e CreateTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTaskRequestValidationError) ErrorName ¶
func (e CreateTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTaskRequestValidationError) Field ¶
func (e CreateTaskRequestValidationError) Field() string
Field function returns field value.
func (CreateTaskRequestValidationError) Key ¶
func (e CreateTaskRequestValidationError) Key() bool
Key function returns key value.
func (CreateTaskRequestValidationError) Reason ¶
func (e CreateTaskRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTaskGroupReply ¶
type DeleteTaskGroupReply struct {
// contains filtered or unexported fields
}
func (*DeleteTaskGroupReply) Descriptor
deprecated
func (*DeleteTaskGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskGroupReply.ProtoReflect.Descriptor instead.
func (*DeleteTaskGroupReply) ProtoMessage ¶
func (*DeleteTaskGroupReply) ProtoMessage()
func (*DeleteTaskGroupReply) ProtoReflect ¶
func (x *DeleteTaskGroupReply) ProtoReflect() protoreflect.Message
func (*DeleteTaskGroupReply) Reset ¶
func (x *DeleteTaskGroupReply) Reset()
func (*DeleteTaskGroupReply) String ¶
func (x *DeleteTaskGroupReply) String() string
func (*DeleteTaskGroupReply) Validate ¶
func (m *DeleteTaskGroupReply) Validate() error
Validate checks the field values on DeleteTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTaskGroupReply) ValidateAll ¶
func (m *DeleteTaskGroupReply) ValidateAll() error
ValidateAll checks the field values on DeleteTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTaskGroupReplyMultiError, or nil if none found.
type DeleteTaskGroupReplyMultiError ¶
type DeleteTaskGroupReplyMultiError []error
DeleteTaskGroupReplyMultiError is an error wrapping multiple validation errors returned by DeleteTaskGroupReply.ValidateAll() if the designated constraints aren't met.
func (DeleteTaskGroupReplyMultiError) AllErrors ¶
func (m DeleteTaskGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTaskGroupReplyMultiError) Error ¶
func (m DeleteTaskGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTaskGroupReplyValidationError ¶
type DeleteTaskGroupReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteTaskGroupReplyValidationError is the validation error returned by DeleteTaskGroupReply.Validate if the designated constraints aren't met.
func (DeleteTaskGroupReplyValidationError) Cause ¶
func (e DeleteTaskGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTaskGroupReplyValidationError) Error ¶
func (e DeleteTaskGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTaskGroupReplyValidationError) ErrorName ¶
func (e DeleteTaskGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTaskGroupReplyValidationError) Field ¶
func (e DeleteTaskGroupReplyValidationError) Field() string
Field function returns field value.
func (DeleteTaskGroupReplyValidationError) Key ¶
func (e DeleteTaskGroupReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTaskGroupReplyValidationError) Reason ¶
func (e DeleteTaskGroupReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteTaskGroupRequest ¶
type DeleteTaskGroupRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTaskGroupRequest) Descriptor
deprecated
func (*DeleteTaskGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteTaskGroupRequest) GetId ¶
func (x *DeleteTaskGroupRequest) GetId() uint32
func (*DeleteTaskGroupRequest) ProtoMessage ¶
func (*DeleteTaskGroupRequest) ProtoMessage()
func (*DeleteTaskGroupRequest) ProtoReflect ¶
func (x *DeleteTaskGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteTaskGroupRequest) Reset ¶
func (x *DeleteTaskGroupRequest) Reset()
func (*DeleteTaskGroupRequest) String ¶
func (x *DeleteTaskGroupRequest) String() string
func (*DeleteTaskGroupRequest) Validate ¶
func (m *DeleteTaskGroupRequest) Validate() error
Validate checks the field values on DeleteTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTaskGroupRequest) ValidateAll ¶
func (m *DeleteTaskGroupRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTaskGroupRequestMultiError, or nil if none found.
type DeleteTaskGroupRequestMultiError ¶
type DeleteTaskGroupRequestMultiError []error
DeleteTaskGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteTaskGroupRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTaskGroupRequestMultiError) AllErrors ¶
func (m DeleteTaskGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTaskGroupRequestMultiError) Error ¶
func (m DeleteTaskGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTaskGroupRequestValidationError ¶
type DeleteTaskGroupRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTaskGroupRequestValidationError is the validation error returned by DeleteTaskGroupRequest.Validate if the designated constraints aren't met.
func (DeleteTaskGroupRequestValidationError) Cause ¶
func (e DeleteTaskGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTaskGroupRequestValidationError) Error ¶
func (e DeleteTaskGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTaskGroupRequestValidationError) ErrorName ¶
func (e DeleteTaskGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTaskGroupRequestValidationError) Field ¶
func (e DeleteTaskGroupRequestValidationError) Field() string
Field function returns field value.
func (DeleteTaskGroupRequestValidationError) Key ¶
func (e DeleteTaskGroupRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTaskGroupRequestValidationError) Reason ¶
func (e DeleteTaskGroupRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTaskReply ¶
type DeleteTaskReply struct {
// contains filtered or unexported fields
}
func (*DeleteTaskReply) Descriptor
deprecated
func (*DeleteTaskReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskReply.ProtoReflect.Descriptor instead.
func (*DeleteTaskReply) ProtoMessage ¶
func (*DeleteTaskReply) ProtoMessage()
func (*DeleteTaskReply) ProtoReflect ¶
func (x *DeleteTaskReply) ProtoReflect() protoreflect.Message
func (*DeleteTaskReply) Reset ¶
func (x *DeleteTaskReply) Reset()
func (*DeleteTaskReply) String ¶
func (x *DeleteTaskReply) String() string
func (*DeleteTaskReply) Validate ¶
func (m *DeleteTaskReply) Validate() error
Validate checks the field values on DeleteTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTaskReply) ValidateAll ¶
func (m *DeleteTaskReply) ValidateAll() error
ValidateAll checks the field values on DeleteTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTaskReplyMultiError, or nil if none found.
type DeleteTaskReplyMultiError ¶
type DeleteTaskReplyMultiError []error
DeleteTaskReplyMultiError is an error wrapping multiple validation errors returned by DeleteTaskReply.ValidateAll() if the designated constraints aren't met.
func (DeleteTaskReplyMultiError) AllErrors ¶
func (m DeleteTaskReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTaskReplyMultiError) Error ¶
func (m DeleteTaskReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTaskReplyValidationError ¶
type DeleteTaskReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteTaskReplyValidationError is the validation error returned by DeleteTaskReply.Validate if the designated constraints aren't met.
func (DeleteTaskReplyValidationError) Cause ¶
func (e DeleteTaskReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTaskReplyValidationError) Error ¶
func (e DeleteTaskReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTaskReplyValidationError) ErrorName ¶
func (e DeleteTaskReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTaskReplyValidationError) Field ¶
func (e DeleteTaskReplyValidationError) Field() string
Field function returns field value.
func (DeleteTaskReplyValidationError) Key ¶
func (e DeleteTaskReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTaskReplyValidationError) Reason ¶
func (e DeleteTaskReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteTaskRequest ¶
type DeleteTaskRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTaskRequest) Descriptor
deprecated
func (*DeleteTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.
func (*DeleteTaskRequest) GetId ¶
func (x *DeleteTaskRequest) GetId() uint32
func (*DeleteTaskRequest) ProtoMessage ¶
func (*DeleteTaskRequest) ProtoMessage()
func (*DeleteTaskRequest) ProtoReflect ¶
func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message
func (*DeleteTaskRequest) Reset ¶
func (x *DeleteTaskRequest) Reset()
func (*DeleteTaskRequest) String ¶
func (x *DeleteTaskRequest) String() string
func (*DeleteTaskRequest) Validate ¶
func (m *DeleteTaskRequest) Validate() error
Validate checks the field values on DeleteTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTaskRequest) ValidateAll ¶
func (m *DeleteTaskRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTaskRequestMultiError, or nil if none found.
type DeleteTaskRequestMultiError ¶
type DeleteTaskRequestMultiError []error
DeleteTaskRequestMultiError is an error wrapping multiple validation errors returned by DeleteTaskRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTaskRequestMultiError) AllErrors ¶
func (m DeleteTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTaskRequestMultiError) Error ¶
func (m DeleteTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTaskRequestValidationError ¶
type DeleteTaskRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTaskRequestValidationError is the validation error returned by DeleteTaskRequest.Validate if the designated constraints aren't met.
func (DeleteTaskRequestValidationError) Cause ¶
func (e DeleteTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTaskRequestValidationError) Error ¶
func (e DeleteTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTaskRequestValidationError) ErrorName ¶
func (e DeleteTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTaskRequestValidationError) Field ¶
func (e DeleteTaskRequestValidationError) Field() string
Field function returns field value.
func (DeleteTaskRequestValidationError) Key ¶
func (e DeleteTaskRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTaskRequestValidationError) Reason ¶
func (e DeleteTaskRequestValidationError) Reason() string
Reason function returns reason value.
type ExecTaskReply ¶
type ExecTaskReply struct {
// contains filtered or unexported fields
}
func (*ExecTaskReply) Descriptor
deprecated
func (*ExecTaskReply) Descriptor() ([]byte, []int)
Deprecated: Use ExecTaskReply.ProtoReflect.Descriptor instead.
func (*ExecTaskReply) ProtoMessage ¶
func (*ExecTaskReply) ProtoMessage()
func (*ExecTaskReply) ProtoReflect ¶
func (x *ExecTaskReply) ProtoReflect() protoreflect.Message
func (*ExecTaskReply) Reset ¶
func (x *ExecTaskReply) Reset()
func (*ExecTaskReply) String ¶
func (x *ExecTaskReply) String() string
func (*ExecTaskReply) Validate ¶
func (m *ExecTaskReply) Validate() error
Validate checks the field values on ExecTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ExecTaskReply) ValidateAll ¶
func (m *ExecTaskReply) ValidateAll() error
ValidateAll checks the field values on ExecTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExecTaskReplyMultiError, or nil if none found.
type ExecTaskReplyMultiError ¶
type ExecTaskReplyMultiError []error
ExecTaskReplyMultiError is an error wrapping multiple validation errors returned by ExecTaskReply.ValidateAll() if the designated constraints aren't met.
func (ExecTaskReplyMultiError) AllErrors ¶
func (m ExecTaskReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExecTaskReplyMultiError) Error ¶
func (m ExecTaskReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExecTaskReplyValidationError ¶
type ExecTaskReplyValidationError struct {
// contains filtered or unexported fields
}
ExecTaskReplyValidationError is the validation error returned by ExecTaskReply.Validate if the designated constraints aren't met.
func (ExecTaskReplyValidationError) Cause ¶
func (e ExecTaskReplyValidationError) Cause() error
Cause function returns cause value.
func (ExecTaskReplyValidationError) Error ¶
func (e ExecTaskReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ExecTaskReplyValidationError) ErrorName ¶
func (e ExecTaskReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ExecTaskReplyValidationError) Field ¶
func (e ExecTaskReplyValidationError) Field() string
Field function returns field value.
func (ExecTaskReplyValidationError) Key ¶
func (e ExecTaskReplyValidationError) Key() bool
Key function returns key value.
func (ExecTaskReplyValidationError) Reason ¶
func (e ExecTaskReplyValidationError) Reason() string
Reason function returns reason value.
type ExecTaskRequest ¶
type ExecTaskRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ExecTaskRequest) Descriptor
deprecated
func (*ExecTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecTaskRequest.ProtoReflect.Descriptor instead.
func (*ExecTaskRequest) GetId ¶
func (x *ExecTaskRequest) GetId() uint32
func (*ExecTaskRequest) ProtoMessage ¶
func (*ExecTaskRequest) ProtoMessage()
func (*ExecTaskRequest) ProtoReflect ¶
func (x *ExecTaskRequest) ProtoReflect() protoreflect.Message
func (*ExecTaskRequest) Reset ¶
func (x *ExecTaskRequest) Reset()
func (*ExecTaskRequest) String ¶
func (x *ExecTaskRequest) String() string
func (*ExecTaskRequest) Validate ¶
func (m *ExecTaskRequest) Validate() error
Validate checks the field values on ExecTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ExecTaskRequest) ValidateAll ¶
func (m *ExecTaskRequest) ValidateAll() error
ValidateAll checks the field values on ExecTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExecTaskRequestMultiError, or nil if none found.
type ExecTaskRequestMultiError ¶
type ExecTaskRequestMultiError []error
ExecTaskRequestMultiError is an error wrapping multiple validation errors returned by ExecTaskRequest.ValidateAll() if the designated constraints aren't met.
func (ExecTaskRequestMultiError) AllErrors ¶
func (m ExecTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExecTaskRequestMultiError) Error ¶
func (m ExecTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExecTaskRequestValidationError ¶
type ExecTaskRequestValidationError struct {
// contains filtered or unexported fields
}
ExecTaskRequestValidationError is the validation error returned by ExecTaskRequest.Validate if the designated constraints aren't met.
func (ExecTaskRequestValidationError) Cause ¶
func (e ExecTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (ExecTaskRequestValidationError) Error ¶
func (e ExecTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExecTaskRequestValidationError) ErrorName ¶
func (e ExecTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExecTaskRequestValidationError) Field ¶
func (e ExecTaskRequestValidationError) Field() string
Field function returns field value.
func (ExecTaskRequestValidationError) Key ¶
func (e ExecTaskRequestValidationError) Key() bool
Key function returns key value.
func (ExecTaskRequestValidationError) Reason ¶
func (e ExecTaskRequestValidationError) Reason() string
Reason function returns reason value.
type GetTaskGroupReply ¶
type GetTaskGroupReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*GetTaskGroupReply) Descriptor
deprecated
func (*GetTaskGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskGroupReply.ProtoReflect.Descriptor instead.
func (*GetTaskGroupReply) GetCreatedAt ¶
func (x *GetTaskGroupReply) GetCreatedAt() uint32
func (*GetTaskGroupReply) GetDescription ¶
func (x *GetTaskGroupReply) GetDescription() string
func (*GetTaskGroupReply) GetId ¶
func (x *GetTaskGroupReply) GetId() uint32
func (*GetTaskGroupReply) GetName ¶
func (x *GetTaskGroupReply) GetName() string
func (*GetTaskGroupReply) GetUpdatedAt ¶
func (x *GetTaskGroupReply) GetUpdatedAt() uint32
func (*GetTaskGroupReply) ProtoMessage ¶
func (*GetTaskGroupReply) ProtoMessage()
func (*GetTaskGroupReply) ProtoReflect ¶
func (x *GetTaskGroupReply) ProtoReflect() protoreflect.Message
func (*GetTaskGroupReply) Reset ¶
func (x *GetTaskGroupReply) Reset()
func (*GetTaskGroupReply) String ¶
func (x *GetTaskGroupReply) String() string
func (*GetTaskGroupReply) Validate ¶
func (m *GetTaskGroupReply) Validate() error
Validate checks the field values on GetTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTaskGroupReply) ValidateAll ¶
func (m *GetTaskGroupReply) ValidateAll() error
ValidateAll checks the field values on GetTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTaskGroupReplyMultiError, or nil if none found.
type GetTaskGroupReplyMultiError ¶
type GetTaskGroupReplyMultiError []error
GetTaskGroupReplyMultiError is an error wrapping multiple validation errors returned by GetTaskGroupReply.ValidateAll() if the designated constraints aren't met.
func (GetTaskGroupReplyMultiError) AllErrors ¶
func (m GetTaskGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTaskGroupReplyMultiError) Error ¶
func (m GetTaskGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTaskGroupReplyValidationError ¶
type GetTaskGroupReplyValidationError struct {
// contains filtered or unexported fields
}
GetTaskGroupReplyValidationError is the validation error returned by GetTaskGroupReply.Validate if the designated constraints aren't met.
func (GetTaskGroupReplyValidationError) Cause ¶
func (e GetTaskGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTaskGroupReplyValidationError) Error ¶
func (e GetTaskGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTaskGroupReplyValidationError) ErrorName ¶
func (e GetTaskGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTaskGroupReplyValidationError) Field ¶
func (e GetTaskGroupReplyValidationError) Field() string
Field function returns field value.
func (GetTaskGroupReplyValidationError) Key ¶
func (e GetTaskGroupReplyValidationError) Key() bool
Key function returns key value.
func (GetTaskGroupReplyValidationError) Reason ¶
func (e GetTaskGroupReplyValidationError) Reason() string
Reason function returns reason value.
type GetTaskGroupRequest ¶
type GetTaskGroupRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTaskGroupRequest) Descriptor
deprecated
func (*GetTaskGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*GetTaskGroupRequest) GetId ¶
func (x *GetTaskGroupRequest) GetId() uint32
func (*GetTaskGroupRequest) ProtoMessage ¶
func (*GetTaskGroupRequest) ProtoMessage()
func (*GetTaskGroupRequest) ProtoReflect ¶
func (x *GetTaskGroupRequest) ProtoReflect() protoreflect.Message
func (*GetTaskGroupRequest) Reset ¶
func (x *GetTaskGroupRequest) Reset()
func (*GetTaskGroupRequest) String ¶
func (x *GetTaskGroupRequest) String() string
func (*GetTaskGroupRequest) Validate ¶
func (m *GetTaskGroupRequest) Validate() error
Validate checks the field values on GetTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTaskGroupRequest) ValidateAll ¶
func (m *GetTaskGroupRequest) ValidateAll() error
ValidateAll checks the field values on GetTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTaskGroupRequestMultiError, or nil if none found.
type GetTaskGroupRequestMultiError ¶
type GetTaskGroupRequestMultiError []error
GetTaskGroupRequestMultiError is an error wrapping multiple validation errors returned by GetTaskGroupRequest.ValidateAll() if the designated constraints aren't met.
func (GetTaskGroupRequestMultiError) AllErrors ¶
func (m GetTaskGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTaskGroupRequestMultiError) Error ¶
func (m GetTaskGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTaskGroupRequestValidationError ¶
type GetTaskGroupRequestValidationError struct {
// contains filtered or unexported fields
}
GetTaskGroupRequestValidationError is the validation error returned by GetTaskGroupRequest.Validate if the designated constraints aren't met.
func (GetTaskGroupRequestValidationError) Cause ¶
func (e GetTaskGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTaskGroupRequestValidationError) Error ¶
func (e GetTaskGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTaskGroupRequestValidationError) ErrorName ¶
func (e GetTaskGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTaskGroupRequestValidationError) Field ¶
func (e GetTaskGroupRequestValidationError) Field() string
Field function returns field value.
func (GetTaskGroupRequestValidationError) Key ¶
func (e GetTaskGroupRequestValidationError) Key() bool
Key function returns key value.
func (GetTaskGroupRequestValidationError) Reason ¶
func (e GetTaskGroupRequestValidationError) Reason() string
Reason function returns reason value.
type GetTaskReply ¶
type GetTaskReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` GroupId uint32 `protobuf:"varint,2,opt,name=groupId,proto3" json:"groupId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Spec string `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"` Status *bool `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"` WorkerType string `protobuf:"bytes,7,opt,name=workerType,proto3" json:"workerType,omitempty"` WorkerGroupId *uint32 `protobuf:"varint,8,opt,name=workerGroupId,proto3,oneof" json:"workerGroupId,omitempty"` WorkerId *uint32 `protobuf:"varint,9,opt,name=workerId,proto3,oneof" json:"workerId,omitempty"` ExecType string `protobuf:"bytes,10,opt,name=execType,proto3" json:"execType,omitempty"` ExecValue string `protobuf:"bytes,11,opt,name=execValue,proto3" json:"execValue,omitempty"` ExpectCode uint32 `protobuf:"varint,12,opt,name=expectCode,proto3" json:"expectCode,omitempty"` RetryCount uint32 `protobuf:"varint,13,opt,name=retryCount,proto3" json:"retryCount,omitempty"` RetryWaitTime uint32 `protobuf:"varint,14,opt,name=retryWaitTime,proto3" json:"retryWaitTime,omitempty"` MaxExecTime uint32 `protobuf:"varint,15,opt,name=maxExecTime,proto3" json:"maxExecTime,omitempty"` Version string `protobuf:"bytes,16,opt,name=version,proto3" json:"version,omitempty"` Description *string `protobuf:"bytes,17,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,18,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,19,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Group *GetTaskReply_Group `protobuf:"bytes,20,opt,name=group,proto3,oneof" json:"group,omitempty"` Worker *GetTaskReply_Worker `protobuf:"bytes,21,opt,name=worker,proto3,oneof" json:"worker,omitempty"` WorkerGroup *GetTaskReply_WorkerGroup `protobuf:"bytes,22,opt,name=workerGroup,proto3,oneof" json:"workerGroup,omitempty"` // contains filtered or unexported fields }
func (*GetTaskReply) Descriptor
deprecated
func (*GetTaskReply) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskReply.ProtoReflect.Descriptor instead.
func (*GetTaskReply) GetCreatedAt ¶
func (x *GetTaskReply) GetCreatedAt() uint32
func (*GetTaskReply) GetDescription ¶
func (x *GetTaskReply) GetDescription() string
func (*GetTaskReply) GetExecType ¶
func (x *GetTaskReply) GetExecType() string
func (*GetTaskReply) GetExecValue ¶
func (x *GetTaskReply) GetExecValue() string
func (*GetTaskReply) GetExpectCode ¶
func (x *GetTaskReply) GetExpectCode() uint32
func (*GetTaskReply) GetGroup ¶
func (x *GetTaskReply) GetGroup() *GetTaskReply_Group
func (*GetTaskReply) GetGroupId ¶
func (x *GetTaskReply) GetGroupId() uint32
func (*GetTaskReply) GetId ¶
func (x *GetTaskReply) GetId() uint32
func (*GetTaskReply) GetMaxExecTime ¶
func (x *GetTaskReply) GetMaxExecTime() uint32
func (*GetTaskReply) GetName ¶
func (x *GetTaskReply) GetName() string
func (*GetTaskReply) GetRetryCount ¶
func (x *GetTaskReply) GetRetryCount() uint32
func (*GetTaskReply) GetRetryWaitTime ¶
func (x *GetTaskReply) GetRetryWaitTime() uint32
func (*GetTaskReply) GetSpec ¶
func (x *GetTaskReply) GetSpec() string
func (*GetTaskReply) GetStatus ¶
func (x *GetTaskReply) GetStatus() bool
func (*GetTaskReply) GetTag ¶
func (x *GetTaskReply) GetTag() string
func (*GetTaskReply) GetUpdatedAt ¶
func (x *GetTaskReply) GetUpdatedAt() uint32
func (*GetTaskReply) GetVersion ¶
func (x *GetTaskReply) GetVersion() string
func (*GetTaskReply) GetWorker ¶
func (x *GetTaskReply) GetWorker() *GetTaskReply_Worker
func (*GetTaskReply) GetWorkerGroup ¶
func (x *GetTaskReply) GetWorkerGroup() *GetTaskReply_WorkerGroup
func (*GetTaskReply) GetWorkerGroupId ¶
func (x *GetTaskReply) GetWorkerGroupId() uint32
func (*GetTaskReply) GetWorkerId ¶
func (x *GetTaskReply) GetWorkerId() uint32
func (*GetTaskReply) GetWorkerType ¶
func (x *GetTaskReply) GetWorkerType() string
func (*GetTaskReply) ProtoMessage ¶
func (*GetTaskReply) ProtoMessage()
func (*GetTaskReply) ProtoReflect ¶
func (x *GetTaskReply) ProtoReflect() protoreflect.Message
func (*GetTaskReply) Reset ¶
func (x *GetTaskReply) Reset()
func (*GetTaskReply) String ¶
func (x *GetTaskReply) String() string
func (*GetTaskReply) Validate ¶
func (m *GetTaskReply) Validate() error
Validate checks the field values on GetTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTaskReply) ValidateAll ¶
func (m *GetTaskReply) ValidateAll() error
ValidateAll checks the field values on GetTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTaskReplyMultiError, or nil if none found.
type GetTaskReplyMultiError ¶
type GetTaskReplyMultiError []error
GetTaskReplyMultiError is an error wrapping multiple validation errors returned by GetTaskReply.ValidateAll() if the designated constraints aren't met.
func (GetTaskReplyMultiError) AllErrors ¶
func (m GetTaskReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTaskReplyMultiError) Error ¶
func (m GetTaskReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTaskReplyValidationError ¶
type GetTaskReplyValidationError struct {
// contains filtered or unexported fields
}
GetTaskReplyValidationError is the validation error returned by GetTaskReply.Validate if the designated constraints aren't met.
func (GetTaskReplyValidationError) Cause ¶
func (e GetTaskReplyValidationError) Cause() error
Cause function returns cause value.
func (GetTaskReplyValidationError) Error ¶
func (e GetTaskReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetTaskReplyValidationError) ErrorName ¶
func (e GetTaskReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetTaskReplyValidationError) Field ¶
func (e GetTaskReplyValidationError) Field() string
Field function returns field value.
func (GetTaskReplyValidationError) Key ¶
func (e GetTaskReplyValidationError) Key() bool
Key function returns key value.
func (GetTaskReplyValidationError) Reason ¶
func (e GetTaskReplyValidationError) Reason() string
Reason function returns reason value.
type GetTaskReply_Group ¶
type GetTaskReply_Group struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTaskReply_Group) Descriptor
deprecated
func (*GetTaskReply_Group) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskReply_Group.ProtoReflect.Descriptor instead.
func (*GetTaskReply_Group) GetName ¶
func (x *GetTaskReply_Group) GetName() string
func (*GetTaskReply_Group) ProtoMessage ¶
func (*GetTaskReply_Group) ProtoMessage()
func (*GetTaskReply_Group) ProtoReflect ¶
func (x *GetTaskReply_Group) ProtoReflect() protoreflect.Message
func (*GetTaskReply_Group) Reset ¶
func (x *GetTaskReply_Group) Reset()
func (*GetTaskReply_Group) String ¶
func (x *GetTaskReply_Group) String() string
func (*GetTaskReply_Group) Validate ¶
func (m *GetTaskReply_Group) Validate() error
Validate checks the field values on GetTaskReply_Group with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTaskReply_Group) ValidateAll ¶
func (m *GetTaskReply_Group) ValidateAll() error
ValidateAll checks the field values on GetTaskReply_Group with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTaskReply_GroupMultiError, or nil if none found.
type GetTaskReply_GroupMultiError ¶
type GetTaskReply_GroupMultiError []error
GetTaskReply_GroupMultiError is an error wrapping multiple validation errors returned by GetTaskReply_Group.ValidateAll() if the designated constraints aren't met.
func (GetTaskReply_GroupMultiError) AllErrors ¶
func (m GetTaskReply_GroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTaskReply_GroupMultiError) Error ¶
func (m GetTaskReply_GroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTaskReply_GroupValidationError ¶
type GetTaskReply_GroupValidationError struct {
// contains filtered or unexported fields
}
GetTaskReply_GroupValidationError is the validation error returned by GetTaskReply_Group.Validate if the designated constraints aren't met.
func (GetTaskReply_GroupValidationError) Cause ¶
func (e GetTaskReply_GroupValidationError) Cause() error
Cause function returns cause value.
func (GetTaskReply_GroupValidationError) Error ¶
func (e GetTaskReply_GroupValidationError) Error() string
Error satisfies the builtin error interface
func (GetTaskReply_GroupValidationError) ErrorName ¶
func (e GetTaskReply_GroupValidationError) ErrorName() string
ErrorName returns error name.
func (GetTaskReply_GroupValidationError) Field ¶
func (e GetTaskReply_GroupValidationError) Field() string
Field function returns field value.
func (GetTaskReply_GroupValidationError) Key ¶
func (e GetTaskReply_GroupValidationError) Key() bool
Key function returns key value.
func (GetTaskReply_GroupValidationError) Reason ¶
func (e GetTaskReply_GroupValidationError) Reason() string
Reason function returns reason value.
type GetTaskReply_Worker ¶
type GetTaskReply_Worker struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTaskReply_Worker) Descriptor
deprecated
func (*GetTaskReply_Worker) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskReply_Worker.ProtoReflect.Descriptor instead.
func (*GetTaskReply_Worker) GetName ¶
func (x *GetTaskReply_Worker) GetName() string
func (*GetTaskReply_Worker) ProtoMessage ¶
func (*GetTaskReply_Worker) ProtoMessage()
func (*GetTaskReply_Worker) ProtoReflect ¶
func (x *GetTaskReply_Worker) ProtoReflect() protoreflect.Message
func (*GetTaskReply_Worker) Reset ¶
func (x *GetTaskReply_Worker) Reset()
func (*GetTaskReply_Worker) String ¶
func (x *GetTaskReply_Worker) String() string
func (*GetTaskReply_Worker) Validate ¶
func (m *GetTaskReply_Worker) Validate() error
Validate checks the field values on GetTaskReply_Worker with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTaskReply_Worker) ValidateAll ¶
func (m *GetTaskReply_Worker) ValidateAll() error
ValidateAll checks the field values on GetTaskReply_Worker with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTaskReply_WorkerMultiError, or nil if none found.
type GetTaskReply_WorkerGroup ¶
type GetTaskReply_WorkerGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTaskReply_WorkerGroup) Descriptor
deprecated
func (*GetTaskReply_WorkerGroup) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskReply_WorkerGroup.ProtoReflect.Descriptor instead.
func (*GetTaskReply_WorkerGroup) GetName ¶
func (x *GetTaskReply_WorkerGroup) GetName() string
func (*GetTaskReply_WorkerGroup) ProtoMessage ¶
func (*GetTaskReply_WorkerGroup) ProtoMessage()
func (*GetTaskReply_WorkerGroup) ProtoReflect ¶
func (x *GetTaskReply_WorkerGroup) ProtoReflect() protoreflect.Message
func (*GetTaskReply_WorkerGroup) Reset ¶
func (x *GetTaskReply_WorkerGroup) Reset()
func (*GetTaskReply_WorkerGroup) String ¶
func (x *GetTaskReply_WorkerGroup) String() string
func (*GetTaskReply_WorkerGroup) Validate ¶
func (m *GetTaskReply_WorkerGroup) Validate() error
Validate checks the field values on GetTaskReply_WorkerGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTaskReply_WorkerGroup) ValidateAll ¶
func (m *GetTaskReply_WorkerGroup) ValidateAll() error
ValidateAll checks the field values on GetTaskReply_WorkerGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTaskReply_WorkerGroupMultiError, or nil if none found.
type GetTaskReply_WorkerGroupMultiError ¶
type GetTaskReply_WorkerGroupMultiError []error
GetTaskReply_WorkerGroupMultiError is an error wrapping multiple validation errors returned by GetTaskReply_WorkerGroup.ValidateAll() if the designated constraints aren't met.
func (GetTaskReply_WorkerGroupMultiError) AllErrors ¶
func (m GetTaskReply_WorkerGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTaskReply_WorkerGroupMultiError) Error ¶
func (m GetTaskReply_WorkerGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTaskReply_WorkerGroupValidationError ¶
type GetTaskReply_WorkerGroupValidationError struct {
// contains filtered or unexported fields
}
GetTaskReply_WorkerGroupValidationError is the validation error returned by GetTaskReply_WorkerGroup.Validate if the designated constraints aren't met.
func (GetTaskReply_WorkerGroupValidationError) Cause ¶
func (e GetTaskReply_WorkerGroupValidationError) Cause() error
Cause function returns cause value.
func (GetTaskReply_WorkerGroupValidationError) Error ¶
func (e GetTaskReply_WorkerGroupValidationError) Error() string
Error satisfies the builtin error interface
func (GetTaskReply_WorkerGroupValidationError) ErrorName ¶
func (e GetTaskReply_WorkerGroupValidationError) ErrorName() string
ErrorName returns error name.
func (GetTaskReply_WorkerGroupValidationError) Field ¶
func (e GetTaskReply_WorkerGroupValidationError) Field() string
Field function returns field value.
func (GetTaskReply_WorkerGroupValidationError) Key ¶
func (e GetTaskReply_WorkerGroupValidationError) Key() bool
Key function returns key value.
func (GetTaskReply_WorkerGroupValidationError) Reason ¶
func (e GetTaskReply_WorkerGroupValidationError) Reason() string
Reason function returns reason value.
type GetTaskReply_WorkerMultiError ¶
type GetTaskReply_WorkerMultiError []error
GetTaskReply_WorkerMultiError is an error wrapping multiple validation errors returned by GetTaskReply_Worker.ValidateAll() if the designated constraints aren't met.
func (GetTaskReply_WorkerMultiError) AllErrors ¶
func (m GetTaskReply_WorkerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTaskReply_WorkerMultiError) Error ¶
func (m GetTaskReply_WorkerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTaskReply_WorkerValidationError ¶
type GetTaskReply_WorkerValidationError struct {
// contains filtered or unexported fields
}
GetTaskReply_WorkerValidationError is the validation error returned by GetTaskReply_Worker.Validate if the designated constraints aren't met.
func (GetTaskReply_WorkerValidationError) Cause ¶
func (e GetTaskReply_WorkerValidationError) Cause() error
Cause function returns cause value.
func (GetTaskReply_WorkerValidationError) Error ¶
func (e GetTaskReply_WorkerValidationError) Error() string
Error satisfies the builtin error interface
func (GetTaskReply_WorkerValidationError) ErrorName ¶
func (e GetTaskReply_WorkerValidationError) ErrorName() string
ErrorName returns error name.
func (GetTaskReply_WorkerValidationError) Field ¶
func (e GetTaskReply_WorkerValidationError) Field() string
Field function returns field value.
func (GetTaskReply_WorkerValidationError) Key ¶
func (e GetTaskReply_WorkerValidationError) Key() bool
Key function returns key value.
func (GetTaskReply_WorkerValidationError) Reason ¶
func (e GetTaskReply_WorkerValidationError) Reason() string
Reason function returns reason value.
type GetTaskRequest ¶
type GetTaskRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTaskRequest) Descriptor
deprecated
func (*GetTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRequest) GetId ¶
func (x *GetTaskRequest) GetId() uint32
func (*GetTaskRequest) ProtoMessage ¶
func (*GetTaskRequest) ProtoMessage()
func (*GetTaskRequest) ProtoReflect ¶
func (x *GetTaskRequest) ProtoReflect() protoreflect.Message
func (*GetTaskRequest) Reset ¶
func (x *GetTaskRequest) Reset()
func (*GetTaskRequest) String ¶
func (x *GetTaskRequest) String() string
func (*GetTaskRequest) Validate ¶
func (m *GetTaskRequest) Validate() error
Validate checks the field values on GetTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTaskRequest) ValidateAll ¶
func (m *GetTaskRequest) ValidateAll() error
ValidateAll checks the field values on GetTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTaskRequestMultiError, or nil if none found.
type GetTaskRequestMultiError ¶
type GetTaskRequestMultiError []error
GetTaskRequestMultiError is an error wrapping multiple validation errors returned by GetTaskRequest.ValidateAll() if the designated constraints aren't met.
func (GetTaskRequestMultiError) AllErrors ¶
func (m GetTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTaskRequestMultiError) Error ¶
func (m GetTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTaskRequestValidationError ¶
type GetTaskRequestValidationError struct {
// contains filtered or unexported fields
}
GetTaskRequestValidationError is the validation error returned by GetTaskRequest.Validate if the designated constraints aren't met.
func (GetTaskRequestValidationError) Cause ¶
func (e GetTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTaskRequestValidationError) Error ¶
func (e GetTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTaskRequestValidationError) ErrorName ¶
func (e GetTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTaskRequestValidationError) Field ¶
func (e GetTaskRequestValidationError) Field() string
Field function returns field value.
func (GetTaskRequestValidationError) Key ¶
func (e GetTaskRequestValidationError) Key() bool
Key function returns key value.
func (GetTaskRequestValidationError) Reason ¶
func (e GetTaskRequestValidationError) Reason() string
Reason function returns reason value.
type ListTaskGroupReply ¶
type ListTaskGroupReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListTaskGroupReply_TaskGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListTaskGroupReply) Descriptor
deprecated
func (*ListTaskGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskGroupReply.ProtoReflect.Descriptor instead.
func (*ListTaskGroupReply) GetList ¶
func (x *ListTaskGroupReply) GetList() []*ListTaskGroupReply_TaskGroup
func (*ListTaskGroupReply) GetTotal ¶
func (x *ListTaskGroupReply) GetTotal() uint32
func (*ListTaskGroupReply) ProtoMessage ¶
func (*ListTaskGroupReply) ProtoMessage()
func (*ListTaskGroupReply) ProtoReflect ¶
func (x *ListTaskGroupReply) ProtoReflect() protoreflect.Message
func (*ListTaskGroupReply) Reset ¶
func (x *ListTaskGroupReply) Reset()
func (*ListTaskGroupReply) String ¶
func (x *ListTaskGroupReply) String() string
func (*ListTaskGroupReply) Validate ¶
func (m *ListTaskGroupReply) Validate() error
Validate checks the field values on ListTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTaskGroupReply) ValidateAll ¶
func (m *ListTaskGroupReply) ValidateAll() error
ValidateAll checks the field values on ListTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTaskGroupReplyMultiError, or nil if none found.
type ListTaskGroupReplyMultiError ¶
type ListTaskGroupReplyMultiError []error
ListTaskGroupReplyMultiError is an error wrapping multiple validation errors returned by ListTaskGroupReply.ValidateAll() if the designated constraints aren't met.
func (ListTaskGroupReplyMultiError) AllErrors ¶
func (m ListTaskGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTaskGroupReplyMultiError) Error ¶
func (m ListTaskGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTaskGroupReplyValidationError ¶
type ListTaskGroupReplyValidationError struct {
// contains filtered or unexported fields
}
ListTaskGroupReplyValidationError is the validation error returned by ListTaskGroupReply.Validate if the designated constraints aren't met.
func (ListTaskGroupReplyValidationError) Cause ¶
func (e ListTaskGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (ListTaskGroupReplyValidationError) Error ¶
func (e ListTaskGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListTaskGroupReplyValidationError) ErrorName ¶
func (e ListTaskGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListTaskGroupReplyValidationError) Field ¶
func (e ListTaskGroupReplyValidationError) Field() string
Field function returns field value.
func (ListTaskGroupReplyValidationError) Key ¶
func (e ListTaskGroupReplyValidationError) Key() bool
Key function returns key value.
func (ListTaskGroupReplyValidationError) Reason ¶
func (e ListTaskGroupReplyValidationError) Reason() string
Reason function returns reason value.
type ListTaskGroupReply_TaskGroup ¶
type ListTaskGroupReply_TaskGroup struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListTaskGroupReply_TaskGroup) Descriptor
deprecated
func (*ListTaskGroupReply_TaskGroup) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskGroupReply_TaskGroup.ProtoReflect.Descriptor instead.
func (*ListTaskGroupReply_TaskGroup) GetCreatedAt ¶
func (x *ListTaskGroupReply_TaskGroup) GetCreatedAt() uint32
func (*ListTaskGroupReply_TaskGroup) GetDescription ¶
func (x *ListTaskGroupReply_TaskGroup) GetDescription() string
func (*ListTaskGroupReply_TaskGroup) GetId ¶
func (x *ListTaskGroupReply_TaskGroup) GetId() uint32
func (*ListTaskGroupReply_TaskGroup) GetName ¶
func (x *ListTaskGroupReply_TaskGroup) GetName() string
func (*ListTaskGroupReply_TaskGroup) GetUpdatedAt ¶
func (x *ListTaskGroupReply_TaskGroup) GetUpdatedAt() uint32
func (*ListTaskGroupReply_TaskGroup) ProtoMessage ¶
func (*ListTaskGroupReply_TaskGroup) ProtoMessage()
func (*ListTaskGroupReply_TaskGroup) ProtoReflect ¶
func (x *ListTaskGroupReply_TaskGroup) ProtoReflect() protoreflect.Message
func (*ListTaskGroupReply_TaskGroup) Reset ¶
func (x *ListTaskGroupReply_TaskGroup) Reset()
func (*ListTaskGroupReply_TaskGroup) String ¶
func (x *ListTaskGroupReply_TaskGroup) String() string
func (*ListTaskGroupReply_TaskGroup) Validate ¶
func (m *ListTaskGroupReply_TaskGroup) Validate() error
Validate checks the field values on ListTaskGroupReply_TaskGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTaskGroupReply_TaskGroup) ValidateAll ¶
func (m *ListTaskGroupReply_TaskGroup) ValidateAll() error
ValidateAll checks the field values on ListTaskGroupReply_TaskGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTaskGroupReply_TaskGroupMultiError, or nil if none found.
type ListTaskGroupReply_TaskGroupMultiError ¶
type ListTaskGroupReply_TaskGroupMultiError []error
ListTaskGroupReply_TaskGroupMultiError is an error wrapping multiple validation errors returned by ListTaskGroupReply_TaskGroup.ValidateAll() if the designated constraints aren't met.
func (ListTaskGroupReply_TaskGroupMultiError) AllErrors ¶
func (m ListTaskGroupReply_TaskGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTaskGroupReply_TaskGroupMultiError) Error ¶
func (m ListTaskGroupReply_TaskGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTaskGroupReply_TaskGroupValidationError ¶
type ListTaskGroupReply_TaskGroupValidationError struct {
// contains filtered or unexported fields
}
ListTaskGroupReply_TaskGroupValidationError is the validation error returned by ListTaskGroupReply_TaskGroup.Validate if the designated constraints aren't met.
func (ListTaskGroupReply_TaskGroupValidationError) Cause ¶
func (e ListTaskGroupReply_TaskGroupValidationError) Cause() error
Cause function returns cause value.
func (ListTaskGroupReply_TaskGroupValidationError) Error ¶
func (e ListTaskGroupReply_TaskGroupValidationError) Error() string
Error satisfies the builtin error interface
func (ListTaskGroupReply_TaskGroupValidationError) ErrorName ¶
func (e ListTaskGroupReply_TaskGroupValidationError) ErrorName() string
ErrorName returns error name.
func (ListTaskGroupReply_TaskGroupValidationError) Field ¶
func (e ListTaskGroupReply_TaskGroupValidationError) Field() string
Field function returns field value.
func (ListTaskGroupReply_TaskGroupValidationError) Key ¶
func (e ListTaskGroupReply_TaskGroupValidationError) Key() bool
Key function returns key value.
func (ListTaskGroupReply_TaskGroupValidationError) Reason ¶
func (e ListTaskGroupReply_TaskGroupValidationError) Reason() string
Reason function returns reason value.
type ListTaskGroupRequest ¶
type ListTaskGroupRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"` OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"` Name *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListTaskGroupRequest) Descriptor
deprecated
func (*ListTaskGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*ListTaskGroupRequest) GetName ¶
func (x *ListTaskGroupRequest) GetName() string
func (*ListTaskGroupRequest) GetOrder ¶
func (x *ListTaskGroupRequest) GetOrder() string
func (*ListTaskGroupRequest) GetOrderBy ¶
func (x *ListTaskGroupRequest) GetOrderBy() string
func (*ListTaskGroupRequest) GetPage ¶
func (x *ListTaskGroupRequest) GetPage() uint32
func (*ListTaskGroupRequest) GetPageSize ¶
func (x *ListTaskGroupRequest) GetPageSize() uint32
func (*ListTaskGroupRequest) ProtoMessage ¶
func (*ListTaskGroupRequest) ProtoMessage()
func (*ListTaskGroupRequest) ProtoReflect ¶
func (x *ListTaskGroupRequest) ProtoReflect() protoreflect.Message
func (*ListTaskGroupRequest) Reset ¶
func (x *ListTaskGroupRequest) Reset()
func (*ListTaskGroupRequest) String ¶
func (x *ListTaskGroupRequest) String() string
func (*ListTaskGroupRequest) Validate ¶
func (m *ListTaskGroupRequest) Validate() error
Validate checks the field values on ListTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTaskGroupRequest) ValidateAll ¶
func (m *ListTaskGroupRequest) ValidateAll() error
ValidateAll checks the field values on ListTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTaskGroupRequestMultiError, or nil if none found.
type ListTaskGroupRequestMultiError ¶
type ListTaskGroupRequestMultiError []error
ListTaskGroupRequestMultiError is an error wrapping multiple validation errors returned by ListTaskGroupRequest.ValidateAll() if the designated constraints aren't met.
func (ListTaskGroupRequestMultiError) AllErrors ¶
func (m ListTaskGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTaskGroupRequestMultiError) Error ¶
func (m ListTaskGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTaskGroupRequestValidationError ¶
type ListTaskGroupRequestValidationError struct {
// contains filtered or unexported fields
}
ListTaskGroupRequestValidationError is the validation error returned by ListTaskGroupRequest.Validate if the designated constraints aren't met.
func (ListTaskGroupRequestValidationError) Cause ¶
func (e ListTaskGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTaskGroupRequestValidationError) Error ¶
func (e ListTaskGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTaskGroupRequestValidationError) ErrorName ¶
func (e ListTaskGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTaskGroupRequestValidationError) Field ¶
func (e ListTaskGroupRequestValidationError) Field() string
Field function returns field value.
func (ListTaskGroupRequestValidationError) Key ¶
func (e ListTaskGroupRequestValidationError) Key() bool
Key function returns key value.
func (ListTaskGroupRequestValidationError) Reason ¶
func (e ListTaskGroupRequestValidationError) Reason() string
Reason function returns reason value.
type ListTaskReply ¶
type ListTaskReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListTaskReply_Task `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListTaskReply) Descriptor
deprecated
func (*ListTaskReply) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskReply.ProtoReflect.Descriptor instead.
func (*ListTaskReply) GetList ¶
func (x *ListTaskReply) GetList() []*ListTaskReply_Task
func (*ListTaskReply) GetTotal ¶
func (x *ListTaskReply) GetTotal() uint32
func (*ListTaskReply) ProtoMessage ¶
func (*ListTaskReply) ProtoMessage()
func (*ListTaskReply) ProtoReflect ¶
func (x *ListTaskReply) ProtoReflect() protoreflect.Message
func (*ListTaskReply) Reset ¶
func (x *ListTaskReply) Reset()
func (*ListTaskReply) String ¶
func (x *ListTaskReply) String() string
func (*ListTaskReply) Validate ¶
func (m *ListTaskReply) Validate() error
Validate checks the field values on ListTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTaskReply) ValidateAll ¶
func (m *ListTaskReply) ValidateAll() error
ValidateAll checks the field values on ListTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTaskReplyMultiError, or nil if none found.
type ListTaskReplyMultiError ¶
type ListTaskReplyMultiError []error
ListTaskReplyMultiError is an error wrapping multiple validation errors returned by ListTaskReply.ValidateAll() if the designated constraints aren't met.
func (ListTaskReplyMultiError) AllErrors ¶
func (m ListTaskReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTaskReplyMultiError) Error ¶
func (m ListTaskReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTaskReplyValidationError ¶
type ListTaskReplyValidationError struct {
// contains filtered or unexported fields
}
ListTaskReplyValidationError is the validation error returned by ListTaskReply.Validate if the designated constraints aren't met.
func (ListTaskReplyValidationError) Cause ¶
func (e ListTaskReplyValidationError) Cause() error
Cause function returns cause value.
func (ListTaskReplyValidationError) Error ¶
func (e ListTaskReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListTaskReplyValidationError) ErrorName ¶
func (e ListTaskReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListTaskReplyValidationError) Field ¶
func (e ListTaskReplyValidationError) Field() string
Field function returns field value.
func (ListTaskReplyValidationError) Key ¶
func (e ListTaskReplyValidationError) Key() bool
Key function returns key value.
func (ListTaskReplyValidationError) Reason ¶
func (e ListTaskReplyValidationError) Reason() string
Reason function returns reason value.
type ListTaskReply_Task ¶
type ListTaskReply_Task struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` GroupId uint32 `protobuf:"varint,2,opt,name=groupId,proto3" json:"groupId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Spec string `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"` Status *bool `protobuf:"varint,6,opt,name=status,proto3,oneof" json:"status,omitempty"` WorkerType string `protobuf:"bytes,7,opt,name=workerType,proto3" json:"workerType,omitempty"` WorkerGroupId uint32 `protobuf:"varint,8,opt,name=workerGroupId,proto3" json:"workerGroupId,omitempty"` WorkerId uint32 `protobuf:"varint,9,opt,name=workerId,proto3" json:"workerId,omitempty"` ExecType string `protobuf:"bytes,10,opt,name=execType,proto3" json:"execType,omitempty"` ExecValue string `protobuf:"bytes,11,opt,name=execValue,proto3" json:"execValue,omitempty"` ExpectCode uint32 `protobuf:"varint,12,opt,name=expectCode,proto3" json:"expectCode,omitempty"` RetryCount uint32 `protobuf:"varint,13,opt,name=retryCount,proto3" json:"retryCount,omitempty"` RetryWaitTime uint32 `protobuf:"varint,14,opt,name=retryWaitTime,proto3" json:"retryWaitTime,omitempty"` MaxExecTime uint32 `protobuf:"varint,15,opt,name=maxExecTime,proto3" json:"maxExecTime,omitempty"` Version string `protobuf:"bytes,16,opt,name=version,proto3" json:"version,omitempty"` Description *string `protobuf:"bytes,17,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,18,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,19,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*ListTaskReply_Task) Descriptor
deprecated
func (*ListTaskReply_Task) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskReply_Task.ProtoReflect.Descriptor instead.
func (*ListTaskReply_Task) GetCreatedAt ¶
func (x *ListTaskReply_Task) GetCreatedAt() uint32
func (*ListTaskReply_Task) GetDescription ¶
func (x *ListTaskReply_Task) GetDescription() string
func (*ListTaskReply_Task) GetExecType ¶
func (x *ListTaskReply_Task) GetExecType() string
func (*ListTaskReply_Task) GetExecValue ¶
func (x *ListTaskReply_Task) GetExecValue() string
func (*ListTaskReply_Task) GetExpectCode ¶
func (x *ListTaskReply_Task) GetExpectCode() uint32
func (*ListTaskReply_Task) GetGroupId ¶
func (x *ListTaskReply_Task) GetGroupId() uint32
func (*ListTaskReply_Task) GetId ¶
func (x *ListTaskReply_Task) GetId() uint32
func (*ListTaskReply_Task) GetMaxExecTime ¶
func (x *ListTaskReply_Task) GetMaxExecTime() uint32
func (*ListTaskReply_Task) GetName ¶
func (x *ListTaskReply_Task) GetName() string
func (*ListTaskReply_Task) GetRetryCount ¶
func (x *ListTaskReply_Task) GetRetryCount() uint32
func (*ListTaskReply_Task) GetRetryWaitTime ¶
func (x *ListTaskReply_Task) GetRetryWaitTime() uint32
func (*ListTaskReply_Task) GetSpec ¶
func (x *ListTaskReply_Task) GetSpec() string
func (*ListTaskReply_Task) GetStatus ¶
func (x *ListTaskReply_Task) GetStatus() bool
func (*ListTaskReply_Task) GetTag ¶
func (x *ListTaskReply_Task) GetTag() string
func (*ListTaskReply_Task) GetUpdatedAt ¶
func (x *ListTaskReply_Task) GetUpdatedAt() uint32
func (*ListTaskReply_Task) GetVersion ¶
func (x *ListTaskReply_Task) GetVersion() string
func (*ListTaskReply_Task) GetWorkerGroupId ¶
func (x *ListTaskReply_Task) GetWorkerGroupId() uint32
func (*ListTaskReply_Task) GetWorkerId ¶
func (x *ListTaskReply_Task) GetWorkerId() uint32
func (*ListTaskReply_Task) GetWorkerType ¶
func (x *ListTaskReply_Task) GetWorkerType() string
func (*ListTaskReply_Task) ProtoMessage ¶
func (*ListTaskReply_Task) ProtoMessage()
func (*ListTaskReply_Task) ProtoReflect ¶
func (x *ListTaskReply_Task) ProtoReflect() protoreflect.Message
func (*ListTaskReply_Task) Reset ¶
func (x *ListTaskReply_Task) Reset()
func (*ListTaskReply_Task) String ¶
func (x *ListTaskReply_Task) String() string
func (*ListTaskReply_Task) Validate ¶
func (m *ListTaskReply_Task) Validate() error
Validate checks the field values on ListTaskReply_Task with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTaskReply_Task) ValidateAll ¶
func (m *ListTaskReply_Task) ValidateAll() error
ValidateAll checks the field values on ListTaskReply_Task with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTaskReply_TaskMultiError, or nil if none found.
type ListTaskReply_TaskMultiError ¶
type ListTaskReply_TaskMultiError []error
ListTaskReply_TaskMultiError is an error wrapping multiple validation errors returned by ListTaskReply_Task.ValidateAll() if the designated constraints aren't met.
func (ListTaskReply_TaskMultiError) AllErrors ¶
func (m ListTaskReply_TaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTaskReply_TaskMultiError) Error ¶
func (m ListTaskReply_TaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTaskReply_TaskValidationError ¶
type ListTaskReply_TaskValidationError struct {
// contains filtered or unexported fields
}
ListTaskReply_TaskValidationError is the validation error returned by ListTaskReply_Task.Validate if the designated constraints aren't met.
func (ListTaskReply_TaskValidationError) Cause ¶
func (e ListTaskReply_TaskValidationError) Cause() error
Cause function returns cause value.
func (ListTaskReply_TaskValidationError) Error ¶
func (e ListTaskReply_TaskValidationError) Error() string
Error satisfies the builtin error interface
func (ListTaskReply_TaskValidationError) ErrorName ¶
func (e ListTaskReply_TaskValidationError) ErrorName() string
ErrorName returns error name.
func (ListTaskReply_TaskValidationError) Field ¶
func (e ListTaskReply_TaskValidationError) Field() string
Field function returns field value.
func (ListTaskReply_TaskValidationError) Key ¶
func (e ListTaskReply_TaskValidationError) Key() bool
Key function returns key value.
func (ListTaskReply_TaskValidationError) Reason ¶
func (e ListTaskReply_TaskValidationError) Reason() string
Reason function returns reason value.
type ListTaskRequest ¶
type ListTaskRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Order *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"` OrderBy *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"` GroupId *uint32 `protobuf:"varint,5,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"` Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"` Tag *string `protobuf:"bytes,7,opt,name=tag,proto3,oneof" json:"tag,omitempty"` Status *bool `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListTaskRequest) Descriptor
deprecated
func (*ListTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskRequest.ProtoReflect.Descriptor instead.
func (*ListTaskRequest) GetGroupId ¶
func (x *ListTaskRequest) GetGroupId() uint32
func (*ListTaskRequest) GetName ¶
func (x *ListTaskRequest) GetName() string
func (*ListTaskRequest) GetOrder ¶
func (x *ListTaskRequest) GetOrder() string
func (*ListTaskRequest) GetOrderBy ¶
func (x *ListTaskRequest) GetOrderBy() string
func (*ListTaskRequest) GetPage ¶
func (x *ListTaskRequest) GetPage() uint32
func (*ListTaskRequest) GetPageSize ¶
func (x *ListTaskRequest) GetPageSize() uint32
func (*ListTaskRequest) GetStatus ¶
func (x *ListTaskRequest) GetStatus() bool
func (*ListTaskRequest) GetTag ¶
func (x *ListTaskRequest) GetTag() string
func (*ListTaskRequest) ProtoMessage ¶
func (*ListTaskRequest) ProtoMessage()
func (*ListTaskRequest) ProtoReflect ¶
func (x *ListTaskRequest) ProtoReflect() protoreflect.Message
func (*ListTaskRequest) Reset ¶
func (x *ListTaskRequest) Reset()
func (*ListTaskRequest) String ¶
func (x *ListTaskRequest) String() string
func (*ListTaskRequest) Validate ¶
func (m *ListTaskRequest) Validate() error
Validate checks the field values on ListTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTaskRequest) ValidateAll ¶
func (m *ListTaskRequest) ValidateAll() error
ValidateAll checks the field values on ListTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTaskRequestMultiError, or nil if none found.
type ListTaskRequestMultiError ¶
type ListTaskRequestMultiError []error
ListTaskRequestMultiError is an error wrapping multiple validation errors returned by ListTaskRequest.ValidateAll() if the designated constraints aren't met.
func (ListTaskRequestMultiError) AllErrors ¶
func (m ListTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTaskRequestMultiError) Error ¶
func (m ListTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTaskRequestValidationError ¶
type ListTaskRequestValidationError struct {
// contains filtered or unexported fields
}
ListTaskRequestValidationError is the validation error returned by ListTaskRequest.Validate if the designated constraints aren't met.
func (ListTaskRequestValidationError) Cause ¶
func (e ListTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTaskRequestValidationError) Error ¶
func (e ListTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTaskRequestValidationError) ErrorName ¶
func (e ListTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTaskRequestValidationError) Field ¶
func (e ListTaskRequestValidationError) Field() string
Field function returns field value.
func (ListTaskRequestValidationError) Key ¶
func (e ListTaskRequestValidationError) Key() bool
Key function returns key value.
func (ListTaskRequestValidationError) Reason ¶
func (e ListTaskRequestValidationError) Reason() string
Reason function returns reason value.
type TaskClient ¶
type TaskClient interface { // GetTaskGroup 获取指定的任务分组 GetTaskGroup(ctx context.Context, in *GetTaskGroupRequest, opts ...grpc.CallOption) (*GetTaskGroupReply, error) // ListTaskGroup 获取任务分组列表 ListTaskGroup(ctx context.Context, in *ListTaskGroupRequest, opts ...grpc.CallOption) (*ListTaskGroupReply, error) // CreateTaskGroup 创建任务分组 CreateTaskGroup(ctx context.Context, in *CreateTaskGroupRequest, opts ...grpc.CallOption) (*CreateTaskGroupReply, error) // UpdateTaskGroup 更新任务分组 UpdateTaskGroup(ctx context.Context, in *UpdateTaskGroupRequest, opts ...grpc.CallOption) (*UpdateTaskGroupReply, error) // DeleteTaskGroup 删除任务分组 DeleteTaskGroup(ctx context.Context, in *DeleteTaskGroupRequest, opts ...grpc.CallOption) (*DeleteTaskGroupReply, error) // GetTask 获取指定的任务信息 GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskReply, error) // ListTask 获取任务信息列表 ListTask(ctx context.Context, in *ListTaskRequest, opts ...grpc.CallOption) (*ListTaskReply, error) // CreateTask 创建任务信息 CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*CreateTaskReply, error) // UpdateTask 更新任务信息 UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...grpc.CallOption) (*UpdateTaskReply, error) // UpdateTaskStatus 更新任务信息状态 UpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...grpc.CallOption) (*UpdateTaskStatusReply, error) // DeleteTask 删除任务信息 DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteTaskReply, error) // ExecTask 立即执行任务 ExecTask(ctx context.Context, in *ExecTaskRequest, opts ...grpc.CallOption) (*ExecTaskReply, error) // CancelExecTask 取消指定任务 CancelExecTask(ctx context.Context, in *CancelExecTaskRequest, opts ...grpc.CallOption) (*CancelExecTaskReply, error) }
TaskClient is the client API for Task service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTaskClient ¶
func NewTaskClient(cc grpc.ClientConnInterface) TaskClient
type TaskHTTPClient ¶
type TaskHTTPClient interface { CancelExecTask(ctx context.Context, req *CancelExecTaskRequest, opts ...http.CallOption) (rsp *CancelExecTaskReply, err error) CreateTask(ctx context.Context, req *CreateTaskRequest, opts ...http.CallOption) (rsp *CreateTaskReply, err error) CreateTaskGroup(ctx context.Context, req *CreateTaskGroupRequest, opts ...http.CallOption) (rsp *CreateTaskGroupReply, err error) DeleteTask(ctx context.Context, req *DeleteTaskRequest, opts ...http.CallOption) (rsp *DeleteTaskReply, err error) DeleteTaskGroup(ctx context.Context, req *DeleteTaskGroupRequest, opts ...http.CallOption) (rsp *DeleteTaskGroupReply, err error) ExecTask(ctx context.Context, req *ExecTaskRequest, opts ...http.CallOption) (rsp *ExecTaskReply, err error) GetTask(ctx context.Context, req *GetTaskRequest, opts ...http.CallOption) (rsp *GetTaskReply, err error) GetTaskGroup(ctx context.Context, req *GetTaskGroupRequest, opts ...http.CallOption) (rsp *GetTaskGroupReply, err error) ListTask(ctx context.Context, req *ListTaskRequest, opts ...http.CallOption) (rsp *ListTaskReply, err error) ListTaskGroup(ctx context.Context, req *ListTaskGroupRequest, opts ...http.CallOption) (rsp *ListTaskGroupReply, err error) UpdateTask(ctx context.Context, req *UpdateTaskRequest, opts ...http.CallOption) (rsp *UpdateTaskReply, err error) UpdateTaskGroup(ctx context.Context, req *UpdateTaskGroupRequest, opts ...http.CallOption) (rsp *UpdateTaskGroupReply, err error) UpdateTaskStatus(ctx context.Context, req *UpdateTaskStatusRequest, opts ...http.CallOption) (rsp *UpdateTaskStatusReply, err error) }
func NewTaskHTTPClient ¶
func NewTaskHTTPClient(client *http.Client) TaskHTTPClient
type TaskHTTPClientImpl ¶
type TaskHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*TaskHTTPClientImpl) CancelExecTask ¶
func (c *TaskHTTPClientImpl) CancelExecTask(ctx context.Context, in *CancelExecTaskRequest, opts ...http.CallOption) (*CancelExecTaskReply, error)
func (*TaskHTTPClientImpl) CreateTask ¶
func (c *TaskHTTPClientImpl) CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...http.CallOption) (*CreateTaskReply, error)
func (*TaskHTTPClientImpl) CreateTaskGroup ¶
func (c *TaskHTTPClientImpl) CreateTaskGroup(ctx context.Context, in *CreateTaskGroupRequest, opts ...http.CallOption) (*CreateTaskGroupReply, error)
func (*TaskHTTPClientImpl) DeleteTask ¶
func (c *TaskHTTPClientImpl) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...http.CallOption) (*DeleteTaskReply, error)
func (*TaskHTTPClientImpl) DeleteTaskGroup ¶
func (c *TaskHTTPClientImpl) DeleteTaskGroup(ctx context.Context, in *DeleteTaskGroupRequest, opts ...http.CallOption) (*DeleteTaskGroupReply, error)
func (*TaskHTTPClientImpl) ExecTask ¶
func (c *TaskHTTPClientImpl) ExecTask(ctx context.Context, in *ExecTaskRequest, opts ...http.CallOption) (*ExecTaskReply, error)
func (*TaskHTTPClientImpl) GetTask ¶
func (c *TaskHTTPClientImpl) GetTask(ctx context.Context, in *GetTaskRequest, opts ...http.CallOption) (*GetTaskReply, error)
func (*TaskHTTPClientImpl) GetTaskGroup ¶
func (c *TaskHTTPClientImpl) GetTaskGroup(ctx context.Context, in *GetTaskGroupRequest, opts ...http.CallOption) (*GetTaskGroupReply, error)
func (*TaskHTTPClientImpl) ListTask ¶
func (c *TaskHTTPClientImpl) ListTask(ctx context.Context, in *ListTaskRequest, opts ...http.CallOption) (*ListTaskReply, error)
func (*TaskHTTPClientImpl) ListTaskGroup ¶
func (c *TaskHTTPClientImpl) ListTaskGroup(ctx context.Context, in *ListTaskGroupRequest, opts ...http.CallOption) (*ListTaskGroupReply, error)
func (*TaskHTTPClientImpl) UpdateTask ¶
func (c *TaskHTTPClientImpl) UpdateTask(ctx context.Context, in *UpdateTaskRequest, opts ...http.CallOption) (*UpdateTaskReply, error)
func (*TaskHTTPClientImpl) UpdateTaskGroup ¶
func (c *TaskHTTPClientImpl) UpdateTaskGroup(ctx context.Context, in *UpdateTaskGroupRequest, opts ...http.CallOption) (*UpdateTaskGroupReply, error)
func (*TaskHTTPClientImpl) UpdateTaskStatus ¶
func (c *TaskHTTPClientImpl) UpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...http.CallOption) (*UpdateTaskStatusReply, error)
type TaskHTTPServer ¶
type TaskHTTPServer interface { // CancelExecTask CancelExecTask 取消指定任务 CancelExecTask(context.Context, *CancelExecTaskRequest) (*CancelExecTaskReply, error) // CreateTask CreateTask 创建任务信息 CreateTask(context.Context, *CreateTaskRequest) (*CreateTaskReply, error) // CreateTaskGroup CreateTaskGroup 创建任务分组 CreateTaskGroup(context.Context, *CreateTaskGroupRequest) (*CreateTaskGroupReply, error) // DeleteTask DeleteTask 删除任务信息 DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskReply, error) // DeleteTaskGroup DeleteTaskGroup 删除任务分组 DeleteTaskGroup(context.Context, *DeleteTaskGroupRequest) (*DeleteTaskGroupReply, error) // ExecTask ExecTask 立即执行任务 ExecTask(context.Context, *ExecTaskRequest) (*ExecTaskReply, error) // GetTask GetTask 获取指定的任务信息 GetTask(context.Context, *GetTaskRequest) (*GetTaskReply, error) // GetTaskGroup GetTaskGroup 获取指定的任务分组 GetTaskGroup(context.Context, *GetTaskGroupRequest) (*GetTaskGroupReply, error) // ListTask ListTask 获取任务信息列表 ListTask(context.Context, *ListTaskRequest) (*ListTaskReply, error) // ListTaskGroup ListTaskGroup 获取任务分组列表 ListTaskGroup(context.Context, *ListTaskGroupRequest) (*ListTaskGroupReply, error) // UpdateTask UpdateTask 更新任务信息 UpdateTask(context.Context, *UpdateTaskRequest) (*UpdateTaskReply, error) // UpdateTaskGroup UpdateTaskGroup 更新任务分组 UpdateTaskGroup(context.Context, *UpdateTaskGroupRequest) (*UpdateTaskGroupReply, error) // UpdateTaskStatus UpdateTaskStatus 更新任务信息状态 UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusReply, error) }
type TaskServer ¶
type TaskServer interface { // GetTaskGroup 获取指定的任务分组 GetTaskGroup(context.Context, *GetTaskGroupRequest) (*GetTaskGroupReply, error) // ListTaskGroup 获取任务分组列表 ListTaskGroup(context.Context, *ListTaskGroupRequest) (*ListTaskGroupReply, error) // CreateTaskGroup 创建任务分组 CreateTaskGroup(context.Context, *CreateTaskGroupRequest) (*CreateTaskGroupReply, error) // UpdateTaskGroup 更新任务分组 UpdateTaskGroup(context.Context, *UpdateTaskGroupRequest) (*UpdateTaskGroupReply, error) // DeleteTaskGroup 删除任务分组 DeleteTaskGroup(context.Context, *DeleteTaskGroupRequest) (*DeleteTaskGroupReply, error) // GetTask 获取指定的任务信息 GetTask(context.Context, *GetTaskRequest) (*GetTaskReply, error) // ListTask 获取任务信息列表 ListTask(context.Context, *ListTaskRequest) (*ListTaskReply, error) // CreateTask 创建任务信息 CreateTask(context.Context, *CreateTaskRequest) (*CreateTaskReply, error) // UpdateTask 更新任务信息 UpdateTask(context.Context, *UpdateTaskRequest) (*UpdateTaskReply, error) // UpdateTaskStatus 更新任务信息状态 UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusReply, error) // DeleteTask 删除任务信息 DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskReply, error) // ExecTask 立即执行任务 ExecTask(context.Context, *ExecTaskRequest) (*ExecTaskReply, error) // CancelExecTask 取消指定任务 CancelExecTask(context.Context, *CancelExecTaskRequest) (*CancelExecTaskReply, error) // contains filtered or unexported methods }
TaskServer is the server API for Task service. All implementations must embed UnimplementedTaskServer for forward compatibility
type UnimplementedTaskServer ¶
type UnimplementedTaskServer struct { }
UnimplementedTaskServer must be embedded to have forward compatible implementations.
func (UnimplementedTaskServer) CancelExecTask ¶
func (UnimplementedTaskServer) CancelExecTask(context.Context, *CancelExecTaskRequest) (*CancelExecTaskReply, error)
func (UnimplementedTaskServer) CreateTask ¶
func (UnimplementedTaskServer) CreateTask(context.Context, *CreateTaskRequest) (*CreateTaskReply, error)
func (UnimplementedTaskServer) CreateTaskGroup ¶
func (UnimplementedTaskServer) CreateTaskGroup(context.Context, *CreateTaskGroupRequest) (*CreateTaskGroupReply, error)
func (UnimplementedTaskServer) DeleteTask ¶
func (UnimplementedTaskServer) DeleteTask(context.Context, *DeleteTaskRequest) (*DeleteTaskReply, error)
func (UnimplementedTaskServer) DeleteTaskGroup ¶
func (UnimplementedTaskServer) DeleteTaskGroup(context.Context, *DeleteTaskGroupRequest) (*DeleteTaskGroupReply, error)
func (UnimplementedTaskServer) ExecTask ¶
func (UnimplementedTaskServer) ExecTask(context.Context, *ExecTaskRequest) (*ExecTaskReply, error)
func (UnimplementedTaskServer) GetTask ¶
func (UnimplementedTaskServer) GetTask(context.Context, *GetTaskRequest) (*GetTaskReply, error)
func (UnimplementedTaskServer) GetTaskGroup ¶
func (UnimplementedTaskServer) GetTaskGroup(context.Context, *GetTaskGroupRequest) (*GetTaskGroupReply, error)
func (UnimplementedTaskServer) ListTask ¶
func (UnimplementedTaskServer) ListTask(context.Context, *ListTaskRequest) (*ListTaskReply, error)
func (UnimplementedTaskServer) ListTaskGroup ¶
func (UnimplementedTaskServer) ListTaskGroup(context.Context, *ListTaskGroupRequest) (*ListTaskGroupReply, error)
func (UnimplementedTaskServer) UpdateTask ¶
func (UnimplementedTaskServer) UpdateTask(context.Context, *UpdateTaskRequest) (*UpdateTaskReply, error)
func (UnimplementedTaskServer) UpdateTaskGroup ¶
func (UnimplementedTaskServer) UpdateTaskGroup(context.Context, *UpdateTaskGroupRequest) (*UpdateTaskGroupReply, error)
func (UnimplementedTaskServer) UpdateTaskStatus ¶
func (UnimplementedTaskServer) UpdateTaskStatus(context.Context, *UpdateTaskStatusRequest) (*UpdateTaskStatusReply, error)
type UnsafeTaskServer ¶
type UnsafeTaskServer interface {
// contains filtered or unexported methods
}
UnsafeTaskServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TaskServer will result in compilation errors.
type UpdateTaskGroupReply ¶
type UpdateTaskGroupReply struct {
// contains filtered or unexported fields
}
func (*UpdateTaskGroupReply) Descriptor
deprecated
func (*UpdateTaskGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskGroupReply.ProtoReflect.Descriptor instead.
func (*UpdateTaskGroupReply) ProtoMessage ¶
func (*UpdateTaskGroupReply) ProtoMessage()
func (*UpdateTaskGroupReply) ProtoReflect ¶
func (x *UpdateTaskGroupReply) ProtoReflect() protoreflect.Message
func (*UpdateTaskGroupReply) Reset ¶
func (x *UpdateTaskGroupReply) Reset()
func (*UpdateTaskGroupReply) String ¶
func (x *UpdateTaskGroupReply) String() string
func (*UpdateTaskGroupReply) Validate ¶
func (m *UpdateTaskGroupReply) Validate() error
Validate checks the field values on UpdateTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTaskGroupReply) ValidateAll ¶
func (m *UpdateTaskGroupReply) ValidateAll() error
ValidateAll checks the field values on UpdateTaskGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTaskGroupReplyMultiError, or nil if none found.
type UpdateTaskGroupReplyMultiError ¶
type UpdateTaskGroupReplyMultiError []error
UpdateTaskGroupReplyMultiError is an error wrapping multiple validation errors returned by UpdateTaskGroupReply.ValidateAll() if the designated constraints aren't met.
func (UpdateTaskGroupReplyMultiError) AllErrors ¶
func (m UpdateTaskGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTaskGroupReplyMultiError) Error ¶
func (m UpdateTaskGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTaskGroupReplyValidationError ¶
type UpdateTaskGroupReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateTaskGroupReplyValidationError is the validation error returned by UpdateTaskGroupReply.Validate if the designated constraints aren't met.
func (UpdateTaskGroupReplyValidationError) Cause ¶
func (e UpdateTaskGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateTaskGroupReplyValidationError) Error ¶
func (e UpdateTaskGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTaskGroupReplyValidationError) ErrorName ¶
func (e UpdateTaskGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTaskGroupReplyValidationError) Field ¶
func (e UpdateTaskGroupReplyValidationError) Field() string
Field function returns field value.
func (UpdateTaskGroupReplyValidationError) Key ¶
func (e UpdateTaskGroupReplyValidationError) Key() bool
Key function returns key value.
func (UpdateTaskGroupReplyValidationError) Reason ¶
func (e UpdateTaskGroupReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateTaskGroupRequest ¶
type UpdateTaskGroupRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskGroupRequest) Descriptor
deprecated
func (*UpdateTaskGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskGroupRequest) GetDescription ¶
func (x *UpdateTaskGroupRequest) GetDescription() string
func (*UpdateTaskGroupRequest) GetId ¶
func (x *UpdateTaskGroupRequest) GetId() uint32
func (*UpdateTaskGroupRequest) GetName ¶
func (x *UpdateTaskGroupRequest) GetName() string
func (*UpdateTaskGroupRequest) ProtoMessage ¶
func (*UpdateTaskGroupRequest) ProtoMessage()
func (*UpdateTaskGroupRequest) ProtoReflect ¶
func (x *UpdateTaskGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskGroupRequest) Reset ¶
func (x *UpdateTaskGroupRequest) Reset()
func (*UpdateTaskGroupRequest) String ¶
func (x *UpdateTaskGroupRequest) String() string
func (*UpdateTaskGroupRequest) Validate ¶
func (m *UpdateTaskGroupRequest) Validate() error
Validate checks the field values on UpdateTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTaskGroupRequest) ValidateAll ¶
func (m *UpdateTaskGroupRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTaskGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTaskGroupRequestMultiError, or nil if none found.
type UpdateTaskGroupRequestMultiError ¶
type UpdateTaskGroupRequestMultiError []error
UpdateTaskGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateTaskGroupRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTaskGroupRequestMultiError) AllErrors ¶
func (m UpdateTaskGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTaskGroupRequestMultiError) Error ¶
func (m UpdateTaskGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTaskGroupRequestValidationError ¶
type UpdateTaskGroupRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTaskGroupRequestValidationError is the validation error returned by UpdateTaskGroupRequest.Validate if the designated constraints aren't met.
func (UpdateTaskGroupRequestValidationError) Cause ¶
func (e UpdateTaskGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTaskGroupRequestValidationError) Error ¶
func (e UpdateTaskGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTaskGroupRequestValidationError) ErrorName ¶
func (e UpdateTaskGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTaskGroupRequestValidationError) Field ¶
func (e UpdateTaskGroupRequestValidationError) Field() string
Field function returns field value.
func (UpdateTaskGroupRequestValidationError) Key ¶
func (e UpdateTaskGroupRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTaskGroupRequestValidationError) Reason ¶
func (e UpdateTaskGroupRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateTaskReply ¶
type UpdateTaskReply struct {
// contains filtered or unexported fields
}
func (*UpdateTaskReply) Descriptor
deprecated
func (*UpdateTaskReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskReply.ProtoReflect.Descriptor instead.
func (*UpdateTaskReply) ProtoMessage ¶
func (*UpdateTaskReply) ProtoMessage()
func (*UpdateTaskReply) ProtoReflect ¶
func (x *UpdateTaskReply) ProtoReflect() protoreflect.Message
func (*UpdateTaskReply) Reset ¶
func (x *UpdateTaskReply) Reset()
func (*UpdateTaskReply) String ¶
func (x *UpdateTaskReply) String() string
func (*UpdateTaskReply) Validate ¶
func (m *UpdateTaskReply) Validate() error
Validate checks the field values on UpdateTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTaskReply) ValidateAll ¶
func (m *UpdateTaskReply) ValidateAll() error
ValidateAll checks the field values on UpdateTaskReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTaskReplyMultiError, or nil if none found.
type UpdateTaskReplyMultiError ¶
type UpdateTaskReplyMultiError []error
UpdateTaskReplyMultiError is an error wrapping multiple validation errors returned by UpdateTaskReply.ValidateAll() if the designated constraints aren't met.
func (UpdateTaskReplyMultiError) AllErrors ¶
func (m UpdateTaskReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTaskReplyMultiError) Error ¶
func (m UpdateTaskReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTaskReplyValidationError ¶
type UpdateTaskReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateTaskReplyValidationError is the validation error returned by UpdateTaskReply.Validate if the designated constraints aren't met.
func (UpdateTaskReplyValidationError) Cause ¶
func (e UpdateTaskReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateTaskReplyValidationError) Error ¶
func (e UpdateTaskReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTaskReplyValidationError) ErrorName ¶
func (e UpdateTaskReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTaskReplyValidationError) Field ¶
func (e UpdateTaskReplyValidationError) Field() string
Field function returns field value.
func (UpdateTaskReplyValidationError) Key ¶
func (e UpdateTaskReplyValidationError) Key() bool
Key function returns key value.
func (UpdateTaskReplyValidationError) Reason ¶
func (e UpdateTaskReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateTaskRequest ¶
type UpdateTaskRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` GroupId uint32 `protobuf:"varint,2,opt,name=groupId,proto3" json:"groupId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Spec string `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"` WorkerType string `protobuf:"bytes,6,opt,name=workerType,proto3" json:"workerType,omitempty"` WorkerGroupId *uint32 `protobuf:"varint,7,opt,name=workerGroupId,proto3,oneof" json:"workerGroupId,omitempty"` WorkerId *uint32 `protobuf:"varint,8,opt,name=workerId,proto3,oneof" json:"workerId,omitempty"` ExecType string `protobuf:"bytes,9,opt,name=execType,proto3" json:"execType,omitempty"` ExecValue string `protobuf:"bytes,10,opt,name=execValue,proto3" json:"execValue,omitempty"` ExpectCode uint32 `protobuf:"varint,11,opt,name=expectCode,proto3" json:"expectCode,omitempty"` RetryCount uint32 `protobuf:"varint,12,opt,name=retryCount,proto3" json:"retryCount,omitempty"` RetryWaitTime uint32 `protobuf:"varint,13,opt,name=retryWaitTime,proto3" json:"retryWaitTime,omitempty"` MaxExecTime uint32 `protobuf:"varint,14,opt,name=maxExecTime,proto3" json:"maxExecTime,omitempty"` Description *string `protobuf:"bytes,15,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskRequest) Descriptor
deprecated
func (*UpdateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskRequest) GetDescription ¶
func (x *UpdateTaskRequest) GetDescription() string
func (*UpdateTaskRequest) GetExecType ¶
func (x *UpdateTaskRequest) GetExecType() string
func (*UpdateTaskRequest) GetExecValue ¶
func (x *UpdateTaskRequest) GetExecValue() string
func (*UpdateTaskRequest) GetExpectCode ¶
func (x *UpdateTaskRequest) GetExpectCode() uint32
func (*UpdateTaskRequest) GetGroupId ¶
func (x *UpdateTaskRequest) GetGroupId() uint32
func (*UpdateTaskRequest) GetId ¶
func (x *UpdateTaskRequest) GetId() uint32
func (*UpdateTaskRequest) GetMaxExecTime ¶
func (x *UpdateTaskRequest) GetMaxExecTime() uint32
func (*UpdateTaskRequest) GetName ¶
func (x *UpdateTaskRequest) GetName() string
func (*UpdateTaskRequest) GetRetryCount ¶
func (x *UpdateTaskRequest) GetRetryCount() uint32
func (*UpdateTaskRequest) GetRetryWaitTime ¶
func (x *UpdateTaskRequest) GetRetryWaitTime() uint32
func (*UpdateTaskRequest) GetSpec ¶
func (x *UpdateTaskRequest) GetSpec() string
func (*UpdateTaskRequest) GetTag ¶
func (x *UpdateTaskRequest) GetTag() string
func (*UpdateTaskRequest) GetWorkerGroupId ¶
func (x *UpdateTaskRequest) GetWorkerGroupId() uint32
func (*UpdateTaskRequest) GetWorkerId ¶
func (x *UpdateTaskRequest) GetWorkerId() uint32
func (*UpdateTaskRequest) GetWorkerType ¶
func (x *UpdateTaskRequest) GetWorkerType() string
func (*UpdateTaskRequest) ProtoMessage ¶
func (*UpdateTaskRequest) ProtoMessage()
func (*UpdateTaskRequest) ProtoReflect ¶
func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskRequest) Reset ¶
func (x *UpdateTaskRequest) Reset()
func (*UpdateTaskRequest) String ¶
func (x *UpdateTaskRequest) String() string
func (*UpdateTaskRequest) Validate ¶
func (m *UpdateTaskRequest) Validate() error
Validate checks the field values on UpdateTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTaskRequest) ValidateAll ¶
func (m *UpdateTaskRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTaskRequestMultiError, or nil if none found.
type UpdateTaskRequestMultiError ¶
type UpdateTaskRequestMultiError []error
UpdateTaskRequestMultiError is an error wrapping multiple validation errors returned by UpdateTaskRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTaskRequestMultiError) AllErrors ¶
func (m UpdateTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTaskRequestMultiError) Error ¶
func (m UpdateTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTaskRequestValidationError ¶
type UpdateTaskRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTaskRequestValidationError is the validation error returned by UpdateTaskRequest.Validate if the designated constraints aren't met.
func (UpdateTaskRequestValidationError) Cause ¶
func (e UpdateTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTaskRequestValidationError) Error ¶
func (e UpdateTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTaskRequestValidationError) ErrorName ¶
func (e UpdateTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTaskRequestValidationError) Field ¶
func (e UpdateTaskRequestValidationError) Field() string
Field function returns field value.
func (UpdateTaskRequestValidationError) Key ¶
func (e UpdateTaskRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTaskRequestValidationError) Reason ¶
func (e UpdateTaskRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateTaskStatusReply ¶
type UpdateTaskStatusReply struct {
// contains filtered or unexported fields
}
func (*UpdateTaskStatusReply) Descriptor
deprecated
func (*UpdateTaskStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskStatusReply.ProtoReflect.Descriptor instead.
func (*UpdateTaskStatusReply) ProtoMessage ¶
func (*UpdateTaskStatusReply) ProtoMessage()
func (*UpdateTaskStatusReply) ProtoReflect ¶
func (x *UpdateTaskStatusReply) ProtoReflect() protoreflect.Message
func (*UpdateTaskStatusReply) Reset ¶
func (x *UpdateTaskStatusReply) Reset()
func (*UpdateTaskStatusReply) String ¶
func (x *UpdateTaskStatusReply) String() string
func (*UpdateTaskStatusReply) Validate ¶
func (m *UpdateTaskStatusReply) Validate() error
Validate checks the field values on UpdateTaskStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTaskStatusReply) ValidateAll ¶
func (m *UpdateTaskStatusReply) ValidateAll() error
ValidateAll checks the field values on UpdateTaskStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTaskStatusReplyMultiError, or nil if none found.
type UpdateTaskStatusReplyMultiError ¶
type UpdateTaskStatusReplyMultiError []error
UpdateTaskStatusReplyMultiError is an error wrapping multiple validation errors returned by UpdateTaskStatusReply.ValidateAll() if the designated constraints aren't met.
func (UpdateTaskStatusReplyMultiError) AllErrors ¶
func (m UpdateTaskStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTaskStatusReplyMultiError) Error ¶
func (m UpdateTaskStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTaskStatusReplyValidationError ¶
type UpdateTaskStatusReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateTaskStatusReplyValidationError is the validation error returned by UpdateTaskStatusReply.Validate if the designated constraints aren't met.
func (UpdateTaskStatusReplyValidationError) Cause ¶
func (e UpdateTaskStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateTaskStatusReplyValidationError) Error ¶
func (e UpdateTaskStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTaskStatusReplyValidationError) ErrorName ¶
func (e UpdateTaskStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTaskStatusReplyValidationError) Field ¶
func (e UpdateTaskStatusReplyValidationError) Field() string
Field function returns field value.
func (UpdateTaskStatusReplyValidationError) Key ¶
func (e UpdateTaskStatusReplyValidationError) Key() bool
Key function returns key value.
func (UpdateTaskStatusReplyValidationError) Reason ¶
func (e UpdateTaskStatusReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateTaskStatusRequest ¶
type UpdateTaskStatusRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskStatusRequest) Descriptor
deprecated
func (*UpdateTaskStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskStatusRequest) GetId ¶
func (x *UpdateTaskStatusRequest) GetId() uint32
func (*UpdateTaskStatusRequest) GetStatus ¶
func (x *UpdateTaskStatusRequest) GetStatus() bool
func (*UpdateTaskStatusRequest) ProtoMessage ¶
func (*UpdateTaskStatusRequest) ProtoMessage()
func (*UpdateTaskStatusRequest) ProtoReflect ¶
func (x *UpdateTaskStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskStatusRequest) Reset ¶
func (x *UpdateTaskStatusRequest) Reset()
func (*UpdateTaskStatusRequest) String ¶
func (x *UpdateTaskStatusRequest) String() string
func (*UpdateTaskStatusRequest) Validate ¶
func (m *UpdateTaskStatusRequest) Validate() error
Validate checks the field values on UpdateTaskStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateTaskStatusRequest) ValidateAll ¶
func (m *UpdateTaskStatusRequest) ValidateAll() error
ValidateAll checks the field values on UpdateTaskStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateTaskStatusRequestMultiError, or nil if none found.
type UpdateTaskStatusRequestMultiError ¶
type UpdateTaskStatusRequestMultiError []error
UpdateTaskStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateTaskStatusRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateTaskStatusRequestMultiError) AllErrors ¶
func (m UpdateTaskStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateTaskStatusRequestMultiError) Error ¶
func (m UpdateTaskStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateTaskStatusRequestValidationError ¶
type UpdateTaskStatusRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateTaskStatusRequestValidationError is the validation error returned by UpdateTaskStatusRequest.Validate if the designated constraints aren't met.
func (UpdateTaskStatusRequestValidationError) Cause ¶
func (e UpdateTaskStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateTaskStatusRequestValidationError) Error ¶
func (e UpdateTaskStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateTaskStatusRequestValidationError) ErrorName ¶
func (e UpdateTaskStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateTaskStatusRequestValidationError) Field ¶
func (e UpdateTaskStatusRequestValidationError) Field() string
Field function returns field value.
func (UpdateTaskStatusRequestValidationError) Key ¶
func (e UpdateTaskStatusRequestValidationError) Key() bool
Key function returns key value.
func (UpdateTaskStatusRequestValidationError) Reason ¶
func (e UpdateTaskStatusRequestValidationError) Reason() string
Reason function returns reason value.