v1

package
v1.0.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationTaskCancelExecTask = "/cron.api.server.cron.task.v1.Task/CancelExecTask"
View Source
const OperationTaskCreateTask = "/cron.api.server.cron.task.v1.Task/CreateTask"
View Source
const OperationTaskCreateTaskGroup = "/cron.api.server.cron.task.v1.Task/CreateTaskGroup"
View Source
const OperationTaskDeleteTask = "/cron.api.server.cron.task.v1.Task/DeleteTask"
View Source
const OperationTaskDeleteTaskGroup = "/cron.api.server.cron.task.v1.Task/DeleteTaskGroup"
View Source
const OperationTaskExecTask = "/cron.api.server.cron.task.v1.Task/ExecTask"
View Source
const OperationTaskGetTask = "/cron.api.server.cron.task.v1.Task/GetTask"
View Source
const OperationTaskGetTaskGroup = "/cron.api.server.cron.task.v1.Task/GetTaskGroup"
View Source
const OperationTaskListTask = "/cron.api.server.cron.task.v1.Task/ListTask"
View Source
const OperationTaskListTaskGroup = "/cron.api.server.cron.task.v1.Task/ListTaskGroup"
View Source
const OperationTaskUpdateTask = "/cron.api.server.cron.task.v1.Task/UpdateTask"
View Source
const OperationTaskUpdateTaskGroup = "/cron.api.server.cron.task.v1.Task/UpdateTaskGroup"
View Source
const OperationTaskUpdateTaskStatus = "/cron.api.server.cron.task.v1.Task/UpdateTaskStatus"

Variables

View Source
var File_api_cron_server_task_cron_task_group_proto protoreflect.FileDescriptor
View Source
var File_api_cron_server_task_cron_task_proto protoreflect.FileDescriptor
View Source
var File_api_cron_server_task_cron_task_service_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (CancelExecTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (CancelExecTaskReplyValidationError) ErrorName

ErrorName returns error name.

func (CancelExecTaskReplyValidationError) Field

Field function returns field value.

func (CancelExecTaskReplyValidationError) Key

Key function returns key value.

func (CancelExecTaskReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CancelExecTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (CancelExecTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (CancelExecTaskRequestValidationError) Field

Field function returns field value.

func (CancelExecTaskRequestValidationError) Key

Key function returns key value.

func (CancelExecTaskRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTaskGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateTaskGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateTaskGroupReplyValidationError) Field

Field function returns field value.

func (CreateTaskGroupReplyValidationError) Key

Key function returns key value.

func (CreateTaskGroupReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTaskGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTaskGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTaskGroupRequestValidationError) Field

Field function returns field value.

func (CreateTaskGroupRequestValidationError) Key

Key function returns key value.

func (CreateTaskGroupRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateTaskReplyValidationError) ErrorName

func (e CreateTaskReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateTaskReplyValidationError) Field

Field function returns field value.

func (CreateTaskReplyValidationError) Key

Key function returns key value.

func (CreateTaskReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateTaskRequestValidationError) Field

Field function returns field value.

func (CreateTaskRequestValidationError) Key

Key function returns key value.

func (CreateTaskRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTaskGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteTaskGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteTaskGroupReplyValidationError) Field

Field function returns field value.

func (DeleteTaskGroupReplyValidationError) Key

Key function returns key value.

func (DeleteTaskGroupReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTaskGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTaskGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTaskGroupRequestValidationError) Field

Field function returns field value.

func (DeleteTaskGroupRequestValidationError) Key

Key function returns key value.

func (DeleteTaskGroupRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteTaskReplyValidationError) ErrorName

func (e DeleteTaskReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteTaskReplyValidationError) Field

Field function returns field value.

func (DeleteTaskReplyValidationError) Key

Key function returns key value.

func (DeleteTaskReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteTaskRequestValidationError) Field

Field function returns field value.

func (DeleteTaskRequestValidationError) Key

Key function returns key value.

func (DeleteTaskRequestValidationError) Reason

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

Cause function returns cause value.

func (ExecTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (ExecTaskReplyValidationError) ErrorName

func (e ExecTaskReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ExecTaskReplyValidationError) Field

Field function returns field value.

func (ExecTaskReplyValidationError) Key

Key function returns key value.

func (ExecTaskReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ExecTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (ExecTaskRequestValidationError) ErrorName

func (e ExecTaskRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ExecTaskRequestValidationError) Field

Field function returns field value.

func (ExecTaskRequestValidationError) Key

Key function returns key value.

func (ExecTaskRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetTaskGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (GetTaskGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (GetTaskGroupReplyValidationError) Field

Field function returns field value.

func (GetTaskGroupReplyValidationError) Key

Key function returns key value.

func (GetTaskGroupReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetTaskGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTaskGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTaskGroupRequestValidationError) Field

Field function returns field value.

func (GetTaskGroupRequestValidationError) Key

Key function returns key value.

func (GetTaskGroupRequestValidationError) Reason

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

Cause function returns cause value.

func (GetTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (GetTaskReplyValidationError) ErrorName

func (e GetTaskReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetTaskReplyValidationError) Field

Field function returns field value.

func (GetTaskReplyValidationError) Key

Key function returns key value.

func (GetTaskReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetTaskReply_GroupValidationError) Error

Error satisfies the builtin error interface

func (GetTaskReply_GroupValidationError) ErrorName

ErrorName returns error name.

func (GetTaskReply_GroupValidationError) Field

Field function returns field value.

func (GetTaskReply_GroupValidationError) Key

Key function returns key value.

func (GetTaskReply_GroupValidationError) Reason

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

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

Cause function returns cause value.

func (GetTaskReply_WorkerGroupValidationError) Error

Error satisfies the builtin error interface

func (GetTaskReply_WorkerGroupValidationError) ErrorName

ErrorName returns error name.

func (GetTaskReply_WorkerGroupValidationError) Field

Field function returns field value.

func (GetTaskReply_WorkerGroupValidationError) Key

Key function returns key value.

func (GetTaskReply_WorkerGroupValidationError) Reason

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

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

Cause function returns cause value.

func (GetTaskReply_WorkerValidationError) Error

Error satisfies the builtin error interface

func (GetTaskReply_WorkerValidationError) ErrorName

ErrorName returns error name.

func (GetTaskReply_WorkerValidationError) Field

Field function returns field value.

func (GetTaskReply_WorkerValidationError) Key

Key function returns key value.

func (GetTaskReply_WorkerValidationError) Reason

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

Cause function returns cause value.

func (GetTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTaskRequestValidationError) ErrorName

func (e GetTaskRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetTaskRequestValidationError) Field

Field function returns field value.

func (GetTaskRequestValidationError) Key

Key function returns key value.

func (GetTaskRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListTaskGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (ListTaskGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (ListTaskGroupReplyValidationError) Field

Field function returns field value.

func (ListTaskGroupReplyValidationError) Key

Key function returns key value.

func (ListTaskGroupReplyValidationError) Reason

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 (*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 (*ListTaskGroupReply_TaskGroup) Reset

func (x *ListTaskGroupReply_TaskGroup) Reset()

func (*ListTaskGroupReply_TaskGroup) 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

AllErrors returns a list of validation violation errors.

func (ListTaskGroupReply_TaskGroupMultiError) Error

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

Cause function returns cause value.

func (ListTaskGroupReply_TaskGroupValidationError) Error

Error satisfies the builtin error interface

func (ListTaskGroupReply_TaskGroupValidationError) ErrorName

ErrorName returns error name.

func (ListTaskGroupReply_TaskGroupValidationError) Field

Field function returns field value.

func (ListTaskGroupReply_TaskGroupValidationError) Key

Key function returns key value.

func (ListTaskGroupReply_TaskGroupValidationError) Reason

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

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

Cause function returns cause value.

func (ListTaskGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTaskGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (ListTaskGroupRequestValidationError) Field

Field function returns field value.

func (ListTaskGroupRequestValidationError) Key

Key function returns key value.

func (ListTaskGroupRequestValidationError) Reason

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

Cause function returns cause value.

func (ListTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (ListTaskReplyValidationError) ErrorName

func (e ListTaskReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListTaskReplyValidationError) Field

Field function returns field value.

func (ListTaskReplyValidationError) Key

Key function returns key value.

func (ListTaskReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListTaskReply_TaskValidationError) Error

Error satisfies the builtin error interface

func (ListTaskReply_TaskValidationError) ErrorName

ErrorName returns error name.

func (ListTaskReply_TaskValidationError) Field

Field function returns field value.

func (ListTaskReply_TaskValidationError) Key

Key function returns key value.

func (ListTaskReply_TaskValidationError) Reason

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

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

Cause function returns cause value.

func (ListTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTaskRequestValidationError) ErrorName

func (e ListTaskRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListTaskRequestValidationError) Field

Field function returns field value.

func (ListTaskRequestValidationError) Key

Key function returns key value.

func (ListTaskRequestValidationError) Reason

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 (*TaskHTTPClientImpl) CreateTask

func (*TaskHTTPClientImpl) CreateTaskGroup

func (*TaskHTTPClientImpl) DeleteTask

func (*TaskHTTPClientImpl) DeleteTaskGroup

func (*TaskHTTPClientImpl) ExecTask

func (*TaskHTTPClientImpl) GetTask

func (*TaskHTTPClientImpl) GetTaskGroup

func (*TaskHTTPClientImpl) ListTask

func (*TaskHTTPClientImpl) ListTaskGroup

func (*TaskHTTPClientImpl) UpdateTask

func (*TaskHTTPClientImpl) UpdateTaskGroup

func (*TaskHTTPClientImpl) UpdateTaskStatus

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) CreateTask

func (UnimplementedTaskServer) CreateTaskGroup

func (UnimplementedTaskServer) DeleteTask

func (UnimplementedTaskServer) DeleteTaskGroup

func (UnimplementedTaskServer) ExecTask

func (UnimplementedTaskServer) GetTask

func (UnimplementedTaskServer) GetTaskGroup

func (UnimplementedTaskServer) ListTask

func (UnimplementedTaskServer) ListTaskGroup

func (UnimplementedTaskServer) UpdateTask

func (UnimplementedTaskServer) UpdateTaskGroup

func (UnimplementedTaskServer) UpdateTaskStatus

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

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

Cause function returns cause value.

func (UpdateTaskGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateTaskGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateTaskGroupReplyValidationError) Field

Field function returns field value.

func (UpdateTaskGroupReplyValidationError) Key

Key function returns key value.

func (UpdateTaskGroupReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTaskGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTaskGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTaskGroupRequestValidationError) Field

Field function returns field value.

func (UpdateTaskGroupRequestValidationError) Key

Key function returns key value.

func (UpdateTaskGroupRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTaskReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateTaskReplyValidationError) ErrorName

func (e UpdateTaskReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateTaskReplyValidationError) Field

Field function returns field value.

func (UpdateTaskReplyValidationError) Key

Key function returns key value.

func (UpdateTaskReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTaskRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTaskRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTaskRequestValidationError) Field

Field function returns field value.

func (UpdateTaskRequestValidationError) Key

Key function returns key value.

func (UpdateTaskRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTaskStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateTaskStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateTaskStatusReplyValidationError) Field

Field function returns field value.

func (UpdateTaskStatusReplyValidationError) Key

Key function returns key value.

func (UpdateTaskStatusReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateTaskStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateTaskStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateTaskStatusRequestValidationError) Field

Field function returns field value.

func (UpdateTaskStatusRequestValidationError) Key

Key function returns key value.

func (UpdateTaskStatusRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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