Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterWorkerHTTPServer(s *http.Server, srv WorkerHTTPServer)
- func RegisterWorkerServer(s grpc.ServiceRegistrar, srv WorkerServer)
- type CreateWorkerGroupReply
- func (*CreateWorkerGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkerGroupReply) GetId() uint32
- func (*CreateWorkerGroupReply) ProtoMessage()
- func (x *CreateWorkerGroupReply) ProtoReflect() protoreflect.Message
- func (x *CreateWorkerGroupReply) Reset()
- func (x *CreateWorkerGroupReply) String() string
- func (m *CreateWorkerGroupReply) Validate() error
- func (m *CreateWorkerGroupReply) ValidateAll() error
- type CreateWorkerGroupReplyMultiError
- type CreateWorkerGroupReplyValidationError
- func (e CreateWorkerGroupReplyValidationError) Cause() error
- func (e CreateWorkerGroupReplyValidationError) Error() string
- func (e CreateWorkerGroupReplyValidationError) ErrorName() string
- func (e CreateWorkerGroupReplyValidationError) Field() string
- func (e CreateWorkerGroupReplyValidationError) Key() bool
- func (e CreateWorkerGroupReplyValidationError) Reason() string
- type CreateWorkerGroupRequest
- func (*CreateWorkerGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkerGroupRequest) GetDescription() string
- func (x *CreateWorkerGroupRequest) GetName() string
- func (*CreateWorkerGroupRequest) ProtoMessage()
- func (x *CreateWorkerGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkerGroupRequest) Reset()
- func (x *CreateWorkerGroupRequest) String() string
- func (m *CreateWorkerGroupRequest) Validate() error
- func (m *CreateWorkerGroupRequest) ValidateAll() error
- type CreateWorkerGroupRequestMultiError
- type CreateWorkerGroupRequestValidationError
- func (e CreateWorkerGroupRequestValidationError) Cause() error
- func (e CreateWorkerGroupRequestValidationError) Error() string
- func (e CreateWorkerGroupRequestValidationError) ErrorName() string
- func (e CreateWorkerGroupRequestValidationError) Field() string
- func (e CreateWorkerGroupRequestValidationError) Key() bool
- func (e CreateWorkerGroupRequestValidationError) Reason() string
- type CreateWorkerReply
- func (*CreateWorkerReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkerReply) GetId() uint32
- func (*CreateWorkerReply) ProtoMessage()
- func (x *CreateWorkerReply) ProtoReflect() protoreflect.Message
- func (x *CreateWorkerReply) Reset()
- func (x *CreateWorkerReply) String() string
- func (m *CreateWorkerReply) Validate() error
- func (m *CreateWorkerReply) ValidateAll() error
- type CreateWorkerReplyMultiError
- type CreateWorkerReplyValidationError
- func (e CreateWorkerReplyValidationError) Cause() error
- func (e CreateWorkerReplyValidationError) Error() string
- func (e CreateWorkerReplyValidationError) ErrorName() string
- func (e CreateWorkerReplyValidationError) Field() string
- func (e CreateWorkerReplyValidationError) Key() bool
- func (e CreateWorkerReplyValidationError) Reason() string
- type CreateWorkerRequest
- func (*CreateWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkerRequest) GetDescription() string
- func (x *CreateWorkerRequest) GetGroupId() uint32
- func (x *CreateWorkerRequest) GetIp() string
- func (x *CreateWorkerRequest) GetName() string
- func (x *CreateWorkerRequest) GetStatus() bool
- func (*CreateWorkerRequest) ProtoMessage()
- func (x *CreateWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkerRequest) Reset()
- func (x *CreateWorkerRequest) String() string
- func (m *CreateWorkerRequest) Validate() error
- func (m *CreateWorkerRequest) ValidateAll() error
- type CreateWorkerRequestMultiError
- type CreateWorkerRequestValidationError
- func (e CreateWorkerRequestValidationError) Cause() error
- func (e CreateWorkerRequestValidationError) Error() string
- func (e CreateWorkerRequestValidationError) ErrorName() string
- func (e CreateWorkerRequestValidationError) Field() string
- func (e CreateWorkerRequestValidationError) Key() bool
- func (e CreateWorkerRequestValidationError) Reason() string
- type DeleteWorkerGroupReply
- func (*DeleteWorkerGroupReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteWorkerGroupReply) ProtoMessage()
- func (x *DeleteWorkerGroupReply) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkerGroupReply) Reset()
- func (x *DeleteWorkerGroupReply) String() string
- func (m *DeleteWorkerGroupReply) Validate() error
- func (m *DeleteWorkerGroupReply) ValidateAll() error
- type DeleteWorkerGroupReplyMultiError
- type DeleteWorkerGroupReplyValidationError
- func (e DeleteWorkerGroupReplyValidationError) Cause() error
- func (e DeleteWorkerGroupReplyValidationError) Error() string
- func (e DeleteWorkerGroupReplyValidationError) ErrorName() string
- func (e DeleteWorkerGroupReplyValidationError) Field() string
- func (e DeleteWorkerGroupReplyValidationError) Key() bool
- func (e DeleteWorkerGroupReplyValidationError) Reason() string
- type DeleteWorkerGroupRequest
- func (*DeleteWorkerGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkerGroupRequest) GetId() uint32
- func (*DeleteWorkerGroupRequest) ProtoMessage()
- func (x *DeleteWorkerGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkerGroupRequest) Reset()
- func (x *DeleteWorkerGroupRequest) String() string
- func (m *DeleteWorkerGroupRequest) Validate() error
- func (m *DeleteWorkerGroupRequest) ValidateAll() error
- type DeleteWorkerGroupRequestMultiError
- type DeleteWorkerGroupRequestValidationError
- func (e DeleteWorkerGroupRequestValidationError) Cause() error
- func (e DeleteWorkerGroupRequestValidationError) Error() string
- func (e DeleteWorkerGroupRequestValidationError) ErrorName() string
- func (e DeleteWorkerGroupRequestValidationError) Field() string
- func (e DeleteWorkerGroupRequestValidationError) Key() bool
- func (e DeleteWorkerGroupRequestValidationError) Reason() string
- type DeleteWorkerReply
- func (*DeleteWorkerReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteWorkerReply) ProtoMessage()
- func (x *DeleteWorkerReply) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkerReply) Reset()
- func (x *DeleteWorkerReply) String() string
- func (m *DeleteWorkerReply) Validate() error
- func (m *DeleteWorkerReply) ValidateAll() error
- type DeleteWorkerReplyMultiError
- type DeleteWorkerReplyValidationError
- func (e DeleteWorkerReplyValidationError) Cause() error
- func (e DeleteWorkerReplyValidationError) Error() string
- func (e DeleteWorkerReplyValidationError) ErrorName() string
- func (e DeleteWorkerReplyValidationError) Field() string
- func (e DeleteWorkerReplyValidationError) Key() bool
- func (e DeleteWorkerReplyValidationError) Reason() string
- type DeleteWorkerRequest
- func (*DeleteWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkerRequest) GetId() uint32
- func (*DeleteWorkerRequest) ProtoMessage()
- func (x *DeleteWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkerRequest) Reset()
- func (x *DeleteWorkerRequest) String() string
- func (m *DeleteWorkerRequest) Validate() error
- func (m *DeleteWorkerRequest) ValidateAll() error
- type DeleteWorkerRequestMultiError
- type DeleteWorkerRequestValidationError
- func (e DeleteWorkerRequestValidationError) Cause() error
- func (e DeleteWorkerRequestValidationError) Error() string
- func (e DeleteWorkerRequestValidationError) ErrorName() string
- func (e DeleteWorkerRequestValidationError) Field() string
- func (e DeleteWorkerRequestValidationError) Key() bool
- func (e DeleteWorkerRequestValidationError) Reason() string
- type GetWorkerGroupReply
- func (*GetWorkerGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkerGroupReply) GetCreatedAt() uint32
- func (x *GetWorkerGroupReply) GetDescription() string
- func (x *GetWorkerGroupReply) GetId() uint32
- func (x *GetWorkerGroupReply) GetName() string
- func (x *GetWorkerGroupReply) GetUpdatedAt() uint32
- func (*GetWorkerGroupReply) ProtoMessage()
- func (x *GetWorkerGroupReply) ProtoReflect() protoreflect.Message
- func (x *GetWorkerGroupReply) Reset()
- func (x *GetWorkerGroupReply) String() string
- func (m *GetWorkerGroupReply) Validate() error
- func (m *GetWorkerGroupReply) ValidateAll() error
- type GetWorkerGroupReplyMultiError
- type GetWorkerGroupReplyValidationError
- func (e GetWorkerGroupReplyValidationError) Cause() error
- func (e GetWorkerGroupReplyValidationError) Error() string
- func (e GetWorkerGroupReplyValidationError) ErrorName() string
- func (e GetWorkerGroupReplyValidationError) Field() string
- func (e GetWorkerGroupReplyValidationError) Key() bool
- func (e GetWorkerGroupReplyValidationError) Reason() string
- type GetWorkerGroupRequest
- func (*GetWorkerGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkerGroupRequest) GetId() uint32
- func (*GetWorkerGroupRequest) ProtoMessage()
- func (x *GetWorkerGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkerGroupRequest) Reset()
- func (x *GetWorkerGroupRequest) String() string
- func (m *GetWorkerGroupRequest) Validate() error
- func (m *GetWorkerGroupRequest) ValidateAll() error
- type GetWorkerGroupRequestMultiError
- type GetWorkerGroupRequestValidationError
- func (e GetWorkerGroupRequestValidationError) Cause() error
- func (e GetWorkerGroupRequestValidationError) Error() string
- func (e GetWorkerGroupRequestValidationError) ErrorName() string
- func (e GetWorkerGroupRequestValidationError) Field() string
- func (e GetWorkerGroupRequestValidationError) Key() bool
- func (e GetWorkerGroupRequestValidationError) Reason() string
- type GetWorkerReply
- func (*GetWorkerReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkerReply) GetCreatedAt() uint32
- func (x *GetWorkerReply) GetDescription() string
- func (x *GetWorkerReply) GetGroupId() uint32
- func (x *GetWorkerReply) GetId() uint32
- func (x *GetWorkerReply) GetIp() string
- func (x *GetWorkerReply) GetName() string
- func (x *GetWorkerReply) GetStatus() bool
- func (x *GetWorkerReply) GetUpdatedAt() uint32
- func (*GetWorkerReply) ProtoMessage()
- func (x *GetWorkerReply) ProtoReflect() protoreflect.Message
- func (x *GetWorkerReply) Reset()
- func (x *GetWorkerReply) String() string
- func (m *GetWorkerReply) Validate() error
- func (m *GetWorkerReply) ValidateAll() error
- type GetWorkerReplyMultiError
- type GetWorkerReplyValidationError
- func (e GetWorkerReplyValidationError) Cause() error
- func (e GetWorkerReplyValidationError) Error() string
- func (e GetWorkerReplyValidationError) ErrorName() string
- func (e GetWorkerReplyValidationError) Field() string
- func (e GetWorkerReplyValidationError) Key() bool
- func (e GetWorkerReplyValidationError) Reason() string
- type GetWorkerRequest
- func (*GetWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkerRequest) GetId() uint32
- func (x *GetWorkerRequest) GetIp() string
- func (*GetWorkerRequest) ProtoMessage()
- func (x *GetWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkerRequest) Reset()
- func (x *GetWorkerRequest) String() string
- func (m *GetWorkerRequest) Validate() error
- func (m *GetWorkerRequest) ValidateAll() error
- type GetWorkerRequestMultiError
- type GetWorkerRequestValidationError
- func (e GetWorkerRequestValidationError) Cause() error
- func (e GetWorkerRequestValidationError) Error() string
- func (e GetWorkerRequestValidationError) ErrorName() string
- func (e GetWorkerRequestValidationError) Field() string
- func (e GetWorkerRequestValidationError) Key() bool
- func (e GetWorkerRequestValidationError) Reason() string
- type ListWorkerGroupReply
- func (*ListWorkerGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerGroupReply) GetList() []*ListWorkerGroupReply_WorkerGroup
- func (x *ListWorkerGroupReply) GetTotal() uint32
- func (*ListWorkerGroupReply) ProtoMessage()
- func (x *ListWorkerGroupReply) ProtoReflect() protoreflect.Message
- func (x *ListWorkerGroupReply) Reset()
- func (x *ListWorkerGroupReply) String() string
- func (m *ListWorkerGroupReply) Validate() error
- func (m *ListWorkerGroupReply) ValidateAll() error
- type ListWorkerGroupReplyMultiError
- type ListWorkerGroupReplyValidationError
- func (e ListWorkerGroupReplyValidationError) Cause() error
- func (e ListWorkerGroupReplyValidationError) Error() string
- func (e ListWorkerGroupReplyValidationError) ErrorName() string
- func (e ListWorkerGroupReplyValidationError) Field() string
- func (e ListWorkerGroupReplyValidationError) Key() bool
- func (e ListWorkerGroupReplyValidationError) Reason() string
- type ListWorkerGroupReply_WorkerGroup
- func (*ListWorkerGroupReply_WorkerGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerGroupReply_WorkerGroup) GetCreatedAt() uint32
- func (x *ListWorkerGroupReply_WorkerGroup) GetDescription() string
- func (x *ListWorkerGroupReply_WorkerGroup) GetId() uint32
- func (x *ListWorkerGroupReply_WorkerGroup) GetName() string
- func (x *ListWorkerGroupReply_WorkerGroup) GetUpdatedAt() uint32
- func (*ListWorkerGroupReply_WorkerGroup) ProtoMessage()
- func (x *ListWorkerGroupReply_WorkerGroup) ProtoReflect() protoreflect.Message
- func (x *ListWorkerGroupReply_WorkerGroup) Reset()
- func (x *ListWorkerGroupReply_WorkerGroup) String() string
- func (m *ListWorkerGroupReply_WorkerGroup) Validate() error
- func (m *ListWorkerGroupReply_WorkerGroup) ValidateAll() error
- type ListWorkerGroupReply_WorkerGroupMultiError
- type ListWorkerGroupReply_WorkerGroupValidationError
- func (e ListWorkerGroupReply_WorkerGroupValidationError) Cause() error
- func (e ListWorkerGroupReply_WorkerGroupValidationError) Error() string
- func (e ListWorkerGroupReply_WorkerGroupValidationError) ErrorName() string
- func (e ListWorkerGroupReply_WorkerGroupValidationError) Field() string
- func (e ListWorkerGroupReply_WorkerGroupValidationError) Key() bool
- func (e ListWorkerGroupReply_WorkerGroupValidationError) Reason() string
- type ListWorkerGroupRequest
- func (*ListWorkerGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerGroupRequest) GetName() string
- func (x *ListWorkerGroupRequest) GetOrder() string
- func (x *ListWorkerGroupRequest) GetOrderBy() string
- func (x *ListWorkerGroupRequest) GetPage() uint32
- func (x *ListWorkerGroupRequest) GetPageSize() uint32
- func (*ListWorkerGroupRequest) ProtoMessage()
- func (x *ListWorkerGroupRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkerGroupRequest) Reset()
- func (x *ListWorkerGroupRequest) String() string
- func (m *ListWorkerGroupRequest) Validate() error
- func (m *ListWorkerGroupRequest) ValidateAll() error
- type ListWorkerGroupRequestMultiError
- type ListWorkerGroupRequestValidationError
- func (e ListWorkerGroupRequestValidationError) Cause() error
- func (e ListWorkerGroupRequestValidationError) Error() string
- func (e ListWorkerGroupRequestValidationError) ErrorName() string
- func (e ListWorkerGroupRequestValidationError) Field() string
- func (e ListWorkerGroupRequestValidationError) Key() bool
- func (e ListWorkerGroupRequestValidationError) Reason() string
- type ListWorkerReply
- func (*ListWorkerReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerReply) GetList() []*ListWorkerReply_Worker
- func (x *ListWorkerReply) GetTotal() uint32
- func (*ListWorkerReply) ProtoMessage()
- func (x *ListWorkerReply) ProtoReflect() protoreflect.Message
- func (x *ListWorkerReply) Reset()
- func (x *ListWorkerReply) String() string
- func (m *ListWorkerReply) Validate() error
- func (m *ListWorkerReply) ValidateAll() error
- type ListWorkerReplyMultiError
- type ListWorkerReplyValidationError
- func (e ListWorkerReplyValidationError) Cause() error
- func (e ListWorkerReplyValidationError) Error() string
- func (e ListWorkerReplyValidationError) ErrorName() string
- func (e ListWorkerReplyValidationError) Field() string
- func (e ListWorkerReplyValidationError) Key() bool
- func (e ListWorkerReplyValidationError) Reason() string
- type ListWorkerReply_Group
- func (*ListWorkerReply_Group) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerReply_Group) GetName() string
- func (*ListWorkerReply_Group) ProtoMessage()
- func (x *ListWorkerReply_Group) ProtoReflect() protoreflect.Message
- func (x *ListWorkerReply_Group) Reset()
- func (x *ListWorkerReply_Group) String() string
- func (m *ListWorkerReply_Group) Validate() error
- func (m *ListWorkerReply_Group) ValidateAll() error
- type ListWorkerReply_GroupMultiError
- type ListWorkerReply_GroupValidationError
- func (e ListWorkerReply_GroupValidationError) Cause() error
- func (e ListWorkerReply_GroupValidationError) Error() string
- func (e ListWorkerReply_GroupValidationError) ErrorName() string
- func (e ListWorkerReply_GroupValidationError) Field() string
- func (e ListWorkerReply_GroupValidationError) Key() bool
- func (e ListWorkerReply_GroupValidationError) Reason() string
- type ListWorkerReply_Worker
- func (*ListWorkerReply_Worker) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerReply_Worker) GetCreatedAt() uint32
- func (x *ListWorkerReply_Worker) GetDescription() string
- func (x *ListWorkerReply_Worker) GetGroup() *ListWorkerReply_Group
- func (x *ListWorkerReply_Worker) GetGroupId() uint32
- func (x *ListWorkerReply_Worker) GetId() uint32
- func (x *ListWorkerReply_Worker) GetIp() string
- func (x *ListWorkerReply_Worker) GetName() string
- func (x *ListWorkerReply_Worker) GetStatus() bool
- func (x *ListWorkerReply_Worker) GetUpdatedAt() uint32
- func (*ListWorkerReply_Worker) ProtoMessage()
- func (x *ListWorkerReply_Worker) ProtoReflect() protoreflect.Message
- func (x *ListWorkerReply_Worker) Reset()
- func (x *ListWorkerReply_Worker) String() string
- func (m *ListWorkerReply_Worker) Validate() error
- func (m *ListWorkerReply_Worker) ValidateAll() error
- type ListWorkerReply_WorkerMultiError
- type ListWorkerReply_WorkerValidationError
- func (e ListWorkerReply_WorkerValidationError) Cause() error
- func (e ListWorkerReply_WorkerValidationError) Error() string
- func (e ListWorkerReply_WorkerValidationError) ErrorName() string
- func (e ListWorkerReply_WorkerValidationError) Field() string
- func (e ListWorkerReply_WorkerValidationError) Key() bool
- func (e ListWorkerReply_WorkerValidationError) Reason() string
- type ListWorkerRequest
- func (*ListWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerRequest) GetGroupId() uint32
- func (x *ListWorkerRequest) GetIp() string
- func (x *ListWorkerRequest) GetName() string
- func (x *ListWorkerRequest) GetOrder() string
- func (x *ListWorkerRequest) GetOrderBy() string
- func (x *ListWorkerRequest) GetPage() uint32
- func (x *ListWorkerRequest) GetPageSize() uint32
- func (x *ListWorkerRequest) GetStatus() bool
- func (*ListWorkerRequest) ProtoMessage()
- func (x *ListWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkerRequest) Reset()
- func (x *ListWorkerRequest) String() string
- func (m *ListWorkerRequest) Validate() error
- func (m *ListWorkerRequest) ValidateAll() error
- type ListWorkerRequestMultiError
- type ListWorkerRequestValidationError
- func (e ListWorkerRequestValidationError) Cause() error
- func (e ListWorkerRequestValidationError) Error() string
- func (e ListWorkerRequestValidationError) ErrorName() string
- func (e ListWorkerRequestValidationError) Field() string
- func (e ListWorkerRequestValidationError) Key() bool
- func (e ListWorkerRequestValidationError) Reason() string
- type UnimplementedWorkerServer
- func (UnimplementedWorkerServer) CreateWorker(context.Context, *CreateWorkerRequest) (*CreateWorkerReply, error)
- func (UnimplementedWorkerServer) CreateWorkerGroup(context.Context, *CreateWorkerGroupRequest) (*CreateWorkerGroupReply, error)
- func (UnimplementedWorkerServer) DeleteWorker(context.Context, *DeleteWorkerRequest) (*DeleteWorkerReply, error)
- func (UnimplementedWorkerServer) DeleteWorkerGroup(context.Context, *DeleteWorkerGroupRequest) (*DeleteWorkerGroupReply, error)
- func (UnimplementedWorkerServer) GetWorker(context.Context, *GetWorkerRequest) (*GetWorkerReply, error)
- func (UnimplementedWorkerServer) GetWorkerGroup(context.Context, *GetWorkerGroupRequest) (*GetWorkerGroupReply, error)
- func (UnimplementedWorkerServer) ListWorker(context.Context, *ListWorkerRequest) (*ListWorkerReply, error)
- func (UnimplementedWorkerServer) ListWorkerGroup(context.Context, *ListWorkerGroupRequest) (*ListWorkerGroupReply, error)
- func (UnimplementedWorkerServer) UpdateWorker(context.Context, *UpdateWorkerRequest) (*UpdateWorkerReply, error)
- func (UnimplementedWorkerServer) UpdateWorkerGroup(context.Context, *UpdateWorkerGroupRequest) (*UpdateWorkerGroupReply, error)
- func (UnimplementedWorkerServer) UpdateWorkerStatus(context.Context, *UpdateWorkerStatusRequest) (*UpdateWorkerStatusReply, error)
- type UnsafeWorkerServer
- type UpdateWorkerGroupReply
- func (*UpdateWorkerGroupReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateWorkerGroupReply) ProtoMessage()
- func (x *UpdateWorkerGroupReply) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerGroupReply) Reset()
- func (x *UpdateWorkerGroupReply) String() string
- func (m *UpdateWorkerGroupReply) Validate() error
- func (m *UpdateWorkerGroupReply) ValidateAll() error
- type UpdateWorkerGroupReplyMultiError
- type UpdateWorkerGroupReplyValidationError
- func (e UpdateWorkerGroupReplyValidationError) Cause() error
- func (e UpdateWorkerGroupReplyValidationError) Error() string
- func (e UpdateWorkerGroupReplyValidationError) ErrorName() string
- func (e UpdateWorkerGroupReplyValidationError) Field() string
- func (e UpdateWorkerGroupReplyValidationError) Key() bool
- func (e UpdateWorkerGroupReplyValidationError) Reason() string
- type UpdateWorkerGroupRequest
- func (*UpdateWorkerGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkerGroupRequest) GetDescription() string
- func (x *UpdateWorkerGroupRequest) GetId() uint32
- func (x *UpdateWorkerGroupRequest) GetName() string
- func (*UpdateWorkerGroupRequest) ProtoMessage()
- func (x *UpdateWorkerGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerGroupRequest) Reset()
- func (x *UpdateWorkerGroupRequest) String() string
- func (m *UpdateWorkerGroupRequest) Validate() error
- func (m *UpdateWorkerGroupRequest) ValidateAll() error
- type UpdateWorkerGroupRequestMultiError
- type UpdateWorkerGroupRequestValidationError
- func (e UpdateWorkerGroupRequestValidationError) Cause() error
- func (e UpdateWorkerGroupRequestValidationError) Error() string
- func (e UpdateWorkerGroupRequestValidationError) ErrorName() string
- func (e UpdateWorkerGroupRequestValidationError) Field() string
- func (e UpdateWorkerGroupRequestValidationError) Key() bool
- func (e UpdateWorkerGroupRequestValidationError) Reason() string
- type UpdateWorkerReply
- func (*UpdateWorkerReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateWorkerReply) ProtoMessage()
- func (x *UpdateWorkerReply) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerReply) Reset()
- func (x *UpdateWorkerReply) String() string
- func (m *UpdateWorkerReply) Validate() error
- func (m *UpdateWorkerReply) ValidateAll() error
- type UpdateWorkerReplyMultiError
- type UpdateWorkerReplyValidationError
- func (e UpdateWorkerReplyValidationError) Cause() error
- func (e UpdateWorkerReplyValidationError) Error() string
- func (e UpdateWorkerReplyValidationError) ErrorName() string
- func (e UpdateWorkerReplyValidationError) Field() string
- func (e UpdateWorkerReplyValidationError) Key() bool
- func (e UpdateWorkerReplyValidationError) Reason() string
- type UpdateWorkerRequest
- func (*UpdateWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkerRequest) GetDescription() string
- func (x *UpdateWorkerRequest) GetGroupId() uint32
- func (x *UpdateWorkerRequest) GetId() uint32
- func (x *UpdateWorkerRequest) GetIp() string
- func (x *UpdateWorkerRequest) GetName() string
- func (*UpdateWorkerRequest) ProtoMessage()
- func (x *UpdateWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerRequest) Reset()
- func (x *UpdateWorkerRequest) String() string
- func (m *UpdateWorkerRequest) Validate() error
- func (m *UpdateWorkerRequest) ValidateAll() error
- type UpdateWorkerRequestMultiError
- type UpdateWorkerRequestValidationError
- func (e UpdateWorkerRequestValidationError) Cause() error
- func (e UpdateWorkerRequestValidationError) Error() string
- func (e UpdateWorkerRequestValidationError) ErrorName() string
- func (e UpdateWorkerRequestValidationError) Field() string
- func (e UpdateWorkerRequestValidationError) Key() bool
- func (e UpdateWorkerRequestValidationError) Reason() string
- type UpdateWorkerStatusReply
- func (*UpdateWorkerStatusReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateWorkerStatusReply) ProtoMessage()
- func (x *UpdateWorkerStatusReply) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerStatusReply) Reset()
- func (x *UpdateWorkerStatusReply) String() string
- func (m *UpdateWorkerStatusReply) Validate() error
- func (m *UpdateWorkerStatusReply) ValidateAll() error
- type UpdateWorkerStatusReplyMultiError
- type UpdateWorkerStatusReplyValidationError
- func (e UpdateWorkerStatusReplyValidationError) Cause() error
- func (e UpdateWorkerStatusReplyValidationError) Error() string
- func (e UpdateWorkerStatusReplyValidationError) ErrorName() string
- func (e UpdateWorkerStatusReplyValidationError) Field() string
- func (e UpdateWorkerStatusReplyValidationError) Key() bool
- func (e UpdateWorkerStatusReplyValidationError) Reason() string
- type UpdateWorkerStatusRequest
- func (*UpdateWorkerStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkerStatusRequest) GetId() uint32
- func (x *UpdateWorkerStatusRequest) GetStatus() bool
- func (*UpdateWorkerStatusRequest) ProtoMessage()
- func (x *UpdateWorkerStatusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerStatusRequest) Reset()
- func (x *UpdateWorkerStatusRequest) String() string
- func (m *UpdateWorkerStatusRequest) Validate() error
- func (m *UpdateWorkerStatusRequest) ValidateAll() error
- type UpdateWorkerStatusRequestMultiError
- type UpdateWorkerStatusRequestValidationError
- func (e UpdateWorkerStatusRequestValidationError) Cause() error
- func (e UpdateWorkerStatusRequestValidationError) Error() string
- func (e UpdateWorkerStatusRequestValidationError) ErrorName() string
- func (e UpdateWorkerStatusRequestValidationError) Field() string
- func (e UpdateWorkerStatusRequestValidationError) Key() bool
- func (e UpdateWorkerStatusRequestValidationError) Reason() string
- type WorkerClient
- type WorkerHTTPClient
- type WorkerHTTPClientImpl
- func (c *WorkerHTTPClientImpl) CreateWorker(ctx context.Context, in *CreateWorkerRequest, opts ...http.CallOption) (*CreateWorkerReply, error)
- func (c *WorkerHTTPClientImpl) CreateWorkerGroup(ctx context.Context, in *CreateWorkerGroupRequest, opts ...http.CallOption) (*CreateWorkerGroupReply, error)
- func (c *WorkerHTTPClientImpl) DeleteWorker(ctx context.Context, in *DeleteWorkerRequest, opts ...http.CallOption) (*DeleteWorkerReply, error)
- func (c *WorkerHTTPClientImpl) DeleteWorkerGroup(ctx context.Context, in *DeleteWorkerGroupRequest, opts ...http.CallOption) (*DeleteWorkerGroupReply, error)
- func (c *WorkerHTTPClientImpl) GetWorker(ctx context.Context, in *GetWorkerRequest, opts ...http.CallOption) (*GetWorkerReply, error)
- func (c *WorkerHTTPClientImpl) GetWorkerGroup(ctx context.Context, in *GetWorkerGroupRequest, opts ...http.CallOption) (*GetWorkerGroupReply, error)
- func (c *WorkerHTTPClientImpl) ListWorker(ctx context.Context, in *ListWorkerRequest, opts ...http.CallOption) (*ListWorkerReply, error)
- func (c *WorkerHTTPClientImpl) ListWorkerGroup(ctx context.Context, in *ListWorkerGroupRequest, opts ...http.CallOption) (*ListWorkerGroupReply, error)
- func (c *WorkerHTTPClientImpl) UpdateWorker(ctx context.Context, in *UpdateWorkerRequest, opts ...http.CallOption) (*UpdateWorkerReply, error)
- func (c *WorkerHTTPClientImpl) UpdateWorkerGroup(ctx context.Context, in *UpdateWorkerGroupRequest, opts ...http.CallOption) (*UpdateWorkerGroupReply, error)
- func (c *WorkerHTTPClientImpl) UpdateWorkerStatus(ctx context.Context, in *UpdateWorkerStatusRequest, opts ...http.CallOption) (*UpdateWorkerStatusReply, error)
- type WorkerHTTPServer
- type WorkerServer
Constants ¶
const ( Worker_GetWorkerGroup_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/GetWorkerGroup" Worker_ListWorkerGroup_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/ListWorkerGroup" Worker_CreateWorkerGroup_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/CreateWorkerGroup" Worker_UpdateWorkerGroup_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerGroup" Worker_DeleteWorkerGroup_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/DeleteWorkerGroup" Worker_GetWorker_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/GetWorker" Worker_ListWorker_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/ListWorker" Worker_CreateWorker_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/CreateWorker" Worker_UpdateWorker_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/UpdateWorker" Worker_UpdateWorkerStatus_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerStatus" Worker_DeleteWorker_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/DeleteWorker" )
const OperationWorkerCreateWorker = "/cron.api.server.cron.worker.v1.Worker/CreateWorker"
const OperationWorkerCreateWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/CreateWorkerGroup"
const OperationWorkerDeleteWorker = "/cron.api.server.cron.worker.v1.Worker/DeleteWorker"
const OperationWorkerDeleteWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/DeleteWorkerGroup"
const OperationWorkerGetWorker = "/cron.api.server.cron.worker.v1.Worker/GetWorker"
const OperationWorkerGetWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/GetWorkerGroup"
const OperationWorkerListWorker = "/cron.api.server.cron.worker.v1.Worker/ListWorker"
const OperationWorkerListWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/ListWorkerGroup"
const OperationWorkerUpdateWorker = "/cron.api.server.cron.worker.v1.Worker/UpdateWorker"
const OperationWorkerUpdateWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerGroup"
const OperationWorkerUpdateWorkerStatus = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerStatus"
Variables ¶
var File_api_cron_server_worker_cron_worker_group_proto protoreflect.FileDescriptor
var File_api_cron_server_worker_cron_worker_proto protoreflect.FileDescriptor
var File_api_cron_server_worker_cron_worker_service_proto protoreflect.FileDescriptor
var Worker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cron.api.server.cron.worker.v1.Worker", HandlerType: (*WorkerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetWorkerGroup", Handler: _Worker_GetWorkerGroup_Handler, }, { MethodName: "ListWorkerGroup", Handler: _Worker_ListWorkerGroup_Handler, }, { MethodName: "CreateWorkerGroup", Handler: _Worker_CreateWorkerGroup_Handler, }, { MethodName: "UpdateWorkerGroup", Handler: _Worker_UpdateWorkerGroup_Handler, }, { MethodName: "DeleteWorkerGroup", Handler: _Worker_DeleteWorkerGroup_Handler, }, { MethodName: "GetWorker", Handler: _Worker_GetWorker_Handler, }, { MethodName: "ListWorker", Handler: _Worker_ListWorker_Handler, }, { MethodName: "CreateWorker", Handler: _Worker_CreateWorker_Handler, }, { MethodName: "UpdateWorker", Handler: _Worker_UpdateWorker_Handler, }, { MethodName: "UpdateWorkerStatus", Handler: _Worker_UpdateWorkerStatus_Handler, }, { MethodName: "DeleteWorker", Handler: _Worker_DeleteWorker_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/cron/server/worker/cron_worker_service.proto", }
Worker_ServiceDesc is the grpc.ServiceDesc for Worker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWorkerHTTPServer ¶
func RegisterWorkerHTTPServer(s *http.Server, srv WorkerHTTPServer)
func RegisterWorkerServer ¶
func RegisterWorkerServer(s grpc.ServiceRegistrar, srv WorkerServer)
Types ¶
type CreateWorkerGroupReply ¶
type CreateWorkerGroupReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateWorkerGroupReply) Descriptor
deprecated
func (*CreateWorkerGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkerGroupReply.ProtoReflect.Descriptor instead.
func (*CreateWorkerGroupReply) GetId ¶
func (x *CreateWorkerGroupReply) GetId() uint32
func (*CreateWorkerGroupReply) ProtoMessage ¶
func (*CreateWorkerGroupReply) ProtoMessage()
func (*CreateWorkerGroupReply) ProtoReflect ¶
func (x *CreateWorkerGroupReply) ProtoReflect() protoreflect.Message
func (*CreateWorkerGroupReply) Reset ¶
func (x *CreateWorkerGroupReply) Reset()
func (*CreateWorkerGroupReply) String ¶
func (x *CreateWorkerGroupReply) String() string
func (*CreateWorkerGroupReply) Validate ¶
func (m *CreateWorkerGroupReply) Validate() error
Validate checks the field values on CreateWorkerGroupReply 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 (*CreateWorkerGroupReply) ValidateAll ¶
func (m *CreateWorkerGroupReply) ValidateAll() error
ValidateAll checks the field values on CreateWorkerGroupReply 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 CreateWorkerGroupReplyMultiError, or nil if none found.
type CreateWorkerGroupReplyMultiError ¶
type CreateWorkerGroupReplyMultiError []error
CreateWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by CreateWorkerGroupReply.ValidateAll() if the designated constraints aren't met.
func (CreateWorkerGroupReplyMultiError) AllErrors ¶
func (m CreateWorkerGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateWorkerGroupReplyMultiError) Error ¶
func (m CreateWorkerGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateWorkerGroupReplyValidationError ¶
type CreateWorkerGroupReplyValidationError struct {
// contains filtered or unexported fields
}
CreateWorkerGroupReplyValidationError is the validation error returned by CreateWorkerGroupReply.Validate if the designated constraints aren't met.
func (CreateWorkerGroupReplyValidationError) Cause ¶
func (e CreateWorkerGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateWorkerGroupReplyValidationError) Error ¶
func (e CreateWorkerGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateWorkerGroupReplyValidationError) ErrorName ¶
func (e CreateWorkerGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateWorkerGroupReplyValidationError) Field ¶
func (e CreateWorkerGroupReplyValidationError) Field() string
Field function returns field value.
func (CreateWorkerGroupReplyValidationError) Key ¶
func (e CreateWorkerGroupReplyValidationError) Key() bool
Key function returns key value.
func (CreateWorkerGroupReplyValidationError) Reason ¶
func (e CreateWorkerGroupReplyValidationError) Reason() string
Reason function returns reason value.
type CreateWorkerGroupRequest ¶
type CreateWorkerGroupRequest 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 (*CreateWorkerGroupRequest) Descriptor
deprecated
func (*CreateWorkerGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkerGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkerGroupRequest) GetDescription ¶
func (x *CreateWorkerGroupRequest) GetDescription() string
func (*CreateWorkerGroupRequest) GetName ¶
func (x *CreateWorkerGroupRequest) GetName() string
func (*CreateWorkerGroupRequest) ProtoMessage ¶
func (*CreateWorkerGroupRequest) ProtoMessage()
func (*CreateWorkerGroupRequest) ProtoReflect ¶
func (x *CreateWorkerGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkerGroupRequest) Reset ¶
func (x *CreateWorkerGroupRequest) Reset()
func (*CreateWorkerGroupRequest) String ¶
func (x *CreateWorkerGroupRequest) String() string
func (*CreateWorkerGroupRequest) Validate ¶
func (m *CreateWorkerGroupRequest) Validate() error
Validate checks the field values on CreateWorkerGroupRequest 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 (*CreateWorkerGroupRequest) ValidateAll ¶
func (m *CreateWorkerGroupRequest) ValidateAll() error
ValidateAll checks the field values on CreateWorkerGroupRequest 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 CreateWorkerGroupRequestMultiError, or nil if none found.
type CreateWorkerGroupRequestMultiError ¶
type CreateWorkerGroupRequestMultiError []error
CreateWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.
func (CreateWorkerGroupRequestMultiError) AllErrors ¶
func (m CreateWorkerGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateWorkerGroupRequestMultiError) Error ¶
func (m CreateWorkerGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateWorkerGroupRequestValidationError ¶
type CreateWorkerGroupRequestValidationError struct {
// contains filtered or unexported fields
}
CreateWorkerGroupRequestValidationError is the validation error returned by CreateWorkerGroupRequest.Validate if the designated constraints aren't met.
func (CreateWorkerGroupRequestValidationError) Cause ¶
func (e CreateWorkerGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateWorkerGroupRequestValidationError) Error ¶
func (e CreateWorkerGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateWorkerGroupRequestValidationError) ErrorName ¶
func (e CreateWorkerGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateWorkerGroupRequestValidationError) Field ¶
func (e CreateWorkerGroupRequestValidationError) Field() string
Field function returns field value.
func (CreateWorkerGroupRequestValidationError) Key ¶
func (e CreateWorkerGroupRequestValidationError) Key() bool
Key function returns key value.
func (CreateWorkerGroupRequestValidationError) Reason ¶
func (e CreateWorkerGroupRequestValidationError) Reason() string
Reason function returns reason value.
type CreateWorkerReply ¶
type CreateWorkerReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateWorkerReply) Descriptor
deprecated
func (*CreateWorkerReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkerReply.ProtoReflect.Descriptor instead.
func (*CreateWorkerReply) GetId ¶
func (x *CreateWorkerReply) GetId() uint32
func (*CreateWorkerReply) ProtoMessage ¶
func (*CreateWorkerReply) ProtoMessage()
func (*CreateWorkerReply) ProtoReflect ¶
func (x *CreateWorkerReply) ProtoReflect() protoreflect.Message
func (*CreateWorkerReply) Reset ¶
func (x *CreateWorkerReply) Reset()
func (*CreateWorkerReply) String ¶
func (x *CreateWorkerReply) String() string
func (*CreateWorkerReply) Validate ¶
func (m *CreateWorkerReply) Validate() error
Validate checks the field values on CreateWorkerReply 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 (*CreateWorkerReply) ValidateAll ¶
func (m *CreateWorkerReply) ValidateAll() error
ValidateAll checks the field values on CreateWorkerReply 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 CreateWorkerReplyMultiError, or nil if none found.
type CreateWorkerReplyMultiError ¶
type CreateWorkerReplyMultiError []error
CreateWorkerReplyMultiError is an error wrapping multiple validation errors returned by CreateWorkerReply.ValidateAll() if the designated constraints aren't met.
func (CreateWorkerReplyMultiError) AllErrors ¶
func (m CreateWorkerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateWorkerReplyMultiError) Error ¶
func (m CreateWorkerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateWorkerReplyValidationError ¶
type CreateWorkerReplyValidationError struct {
// contains filtered or unexported fields
}
CreateWorkerReplyValidationError is the validation error returned by CreateWorkerReply.Validate if the designated constraints aren't met.
func (CreateWorkerReplyValidationError) Cause ¶
func (e CreateWorkerReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateWorkerReplyValidationError) Error ¶
func (e CreateWorkerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateWorkerReplyValidationError) ErrorName ¶
func (e CreateWorkerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateWorkerReplyValidationError) Field ¶
func (e CreateWorkerReplyValidationError) Field() string
Field function returns field value.
func (CreateWorkerReplyValidationError) Key ¶
func (e CreateWorkerReplyValidationError) Key() bool
Key function returns key value.
func (CreateWorkerReplyValidationError) Reason ¶
func (e CreateWorkerReplyValidationError) Reason() string
Reason function returns reason value.
type CreateWorkerRequest ¶
type CreateWorkerRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` GroupId *uint32 `protobuf:"varint,3,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateWorkerRequest) Descriptor
deprecated
func (*CreateWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkerRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkerRequest) GetDescription ¶
func (x *CreateWorkerRequest) GetDescription() string
func (*CreateWorkerRequest) GetGroupId ¶
func (x *CreateWorkerRequest) GetGroupId() uint32
func (*CreateWorkerRequest) GetIp ¶
func (x *CreateWorkerRequest) GetIp() string
func (*CreateWorkerRequest) GetName ¶
func (x *CreateWorkerRequest) GetName() string
func (*CreateWorkerRequest) GetStatus ¶
func (x *CreateWorkerRequest) GetStatus() bool
func (*CreateWorkerRequest) ProtoMessage ¶
func (*CreateWorkerRequest) ProtoMessage()
func (*CreateWorkerRequest) ProtoReflect ¶
func (x *CreateWorkerRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkerRequest) Reset ¶
func (x *CreateWorkerRequest) Reset()
func (*CreateWorkerRequest) String ¶
func (x *CreateWorkerRequest) String() string
func (*CreateWorkerRequest) Validate ¶
func (m *CreateWorkerRequest) Validate() error
Validate checks the field values on CreateWorkerRequest 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 (*CreateWorkerRequest) ValidateAll ¶
func (m *CreateWorkerRequest) ValidateAll() error
ValidateAll checks the field values on CreateWorkerRequest 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 CreateWorkerRequestMultiError, or nil if none found.
type CreateWorkerRequestMultiError ¶
type CreateWorkerRequestMultiError []error
CreateWorkerRequestMultiError is an error wrapping multiple validation errors returned by CreateWorkerRequest.ValidateAll() if the designated constraints aren't met.
func (CreateWorkerRequestMultiError) AllErrors ¶
func (m CreateWorkerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateWorkerRequestMultiError) Error ¶
func (m CreateWorkerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateWorkerRequestValidationError ¶
type CreateWorkerRequestValidationError struct {
// contains filtered or unexported fields
}
CreateWorkerRequestValidationError is the validation error returned by CreateWorkerRequest.Validate if the designated constraints aren't met.
func (CreateWorkerRequestValidationError) Cause ¶
func (e CreateWorkerRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateWorkerRequestValidationError) Error ¶
func (e CreateWorkerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateWorkerRequestValidationError) ErrorName ¶
func (e CreateWorkerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateWorkerRequestValidationError) Field ¶
func (e CreateWorkerRequestValidationError) Field() string
Field function returns field value.
func (CreateWorkerRequestValidationError) Key ¶
func (e CreateWorkerRequestValidationError) Key() bool
Key function returns key value.
func (CreateWorkerRequestValidationError) Reason ¶
func (e CreateWorkerRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteWorkerGroupReply ¶
type DeleteWorkerGroupReply struct {
// contains filtered or unexported fields
}
func (*DeleteWorkerGroupReply) Descriptor
deprecated
func (*DeleteWorkerGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkerGroupReply.ProtoReflect.Descriptor instead.
func (*DeleteWorkerGroupReply) ProtoMessage ¶
func (*DeleteWorkerGroupReply) ProtoMessage()
func (*DeleteWorkerGroupReply) ProtoReflect ¶
func (x *DeleteWorkerGroupReply) ProtoReflect() protoreflect.Message
func (*DeleteWorkerGroupReply) Reset ¶
func (x *DeleteWorkerGroupReply) Reset()
func (*DeleteWorkerGroupReply) String ¶
func (x *DeleteWorkerGroupReply) String() string
func (*DeleteWorkerGroupReply) Validate ¶
func (m *DeleteWorkerGroupReply) Validate() error
Validate checks the field values on DeleteWorkerGroupReply 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 (*DeleteWorkerGroupReply) ValidateAll ¶
func (m *DeleteWorkerGroupReply) ValidateAll() error
ValidateAll checks the field values on DeleteWorkerGroupReply 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 DeleteWorkerGroupReplyMultiError, or nil if none found.
type DeleteWorkerGroupReplyMultiError ¶
type DeleteWorkerGroupReplyMultiError []error
DeleteWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by DeleteWorkerGroupReply.ValidateAll() if the designated constraints aren't met.
func (DeleteWorkerGroupReplyMultiError) AllErrors ¶
func (m DeleteWorkerGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteWorkerGroupReplyMultiError) Error ¶
func (m DeleteWorkerGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteWorkerGroupReplyValidationError ¶
type DeleteWorkerGroupReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteWorkerGroupReplyValidationError is the validation error returned by DeleteWorkerGroupReply.Validate if the designated constraints aren't met.
func (DeleteWorkerGroupReplyValidationError) Cause ¶
func (e DeleteWorkerGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteWorkerGroupReplyValidationError) Error ¶
func (e DeleteWorkerGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteWorkerGroupReplyValidationError) ErrorName ¶
func (e DeleteWorkerGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteWorkerGroupReplyValidationError) Field ¶
func (e DeleteWorkerGroupReplyValidationError) Field() string
Field function returns field value.
func (DeleteWorkerGroupReplyValidationError) Key ¶
func (e DeleteWorkerGroupReplyValidationError) Key() bool
Key function returns key value.
func (DeleteWorkerGroupReplyValidationError) Reason ¶
func (e DeleteWorkerGroupReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteWorkerGroupRequest ¶
type DeleteWorkerGroupRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteWorkerGroupRequest) Descriptor
deprecated
func (*DeleteWorkerGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkerGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkerGroupRequest) GetId ¶
func (x *DeleteWorkerGroupRequest) GetId() uint32
func (*DeleteWorkerGroupRequest) ProtoMessage ¶
func (*DeleteWorkerGroupRequest) ProtoMessage()
func (*DeleteWorkerGroupRequest) ProtoReflect ¶
func (x *DeleteWorkerGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkerGroupRequest) Reset ¶
func (x *DeleteWorkerGroupRequest) Reset()
func (*DeleteWorkerGroupRequest) String ¶
func (x *DeleteWorkerGroupRequest) String() string
func (*DeleteWorkerGroupRequest) Validate ¶
func (m *DeleteWorkerGroupRequest) Validate() error
Validate checks the field values on DeleteWorkerGroupRequest 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 (*DeleteWorkerGroupRequest) ValidateAll ¶
func (m *DeleteWorkerGroupRequest) ValidateAll() error
ValidateAll checks the field values on DeleteWorkerGroupRequest 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 DeleteWorkerGroupRequestMultiError, or nil if none found.
type DeleteWorkerGroupRequestMultiError ¶
type DeleteWorkerGroupRequestMultiError []error
DeleteWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteWorkerGroupRequestMultiError) AllErrors ¶
func (m DeleteWorkerGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteWorkerGroupRequestMultiError) Error ¶
func (m DeleteWorkerGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteWorkerGroupRequestValidationError ¶
type DeleteWorkerGroupRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteWorkerGroupRequestValidationError is the validation error returned by DeleteWorkerGroupRequest.Validate if the designated constraints aren't met.
func (DeleteWorkerGroupRequestValidationError) Cause ¶
func (e DeleteWorkerGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteWorkerGroupRequestValidationError) Error ¶
func (e DeleteWorkerGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteWorkerGroupRequestValidationError) ErrorName ¶
func (e DeleteWorkerGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteWorkerGroupRequestValidationError) Field ¶
func (e DeleteWorkerGroupRequestValidationError) Field() string
Field function returns field value.
func (DeleteWorkerGroupRequestValidationError) Key ¶
func (e DeleteWorkerGroupRequestValidationError) Key() bool
Key function returns key value.
func (DeleteWorkerGroupRequestValidationError) Reason ¶
func (e DeleteWorkerGroupRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteWorkerReply ¶
type DeleteWorkerReply struct {
// contains filtered or unexported fields
}
func (*DeleteWorkerReply) Descriptor
deprecated
func (*DeleteWorkerReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkerReply.ProtoReflect.Descriptor instead.
func (*DeleteWorkerReply) ProtoMessage ¶
func (*DeleteWorkerReply) ProtoMessage()
func (*DeleteWorkerReply) ProtoReflect ¶
func (x *DeleteWorkerReply) ProtoReflect() protoreflect.Message
func (*DeleteWorkerReply) Reset ¶
func (x *DeleteWorkerReply) Reset()
func (*DeleteWorkerReply) String ¶
func (x *DeleteWorkerReply) String() string
func (*DeleteWorkerReply) Validate ¶
func (m *DeleteWorkerReply) Validate() error
Validate checks the field values on DeleteWorkerReply 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 (*DeleteWorkerReply) ValidateAll ¶
func (m *DeleteWorkerReply) ValidateAll() error
ValidateAll checks the field values on DeleteWorkerReply 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 DeleteWorkerReplyMultiError, or nil if none found.
type DeleteWorkerReplyMultiError ¶
type DeleteWorkerReplyMultiError []error
DeleteWorkerReplyMultiError is an error wrapping multiple validation errors returned by DeleteWorkerReply.ValidateAll() if the designated constraints aren't met.
func (DeleteWorkerReplyMultiError) AllErrors ¶
func (m DeleteWorkerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteWorkerReplyMultiError) Error ¶
func (m DeleteWorkerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteWorkerReplyValidationError ¶
type DeleteWorkerReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteWorkerReplyValidationError is the validation error returned by DeleteWorkerReply.Validate if the designated constraints aren't met.
func (DeleteWorkerReplyValidationError) Cause ¶
func (e DeleteWorkerReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteWorkerReplyValidationError) Error ¶
func (e DeleteWorkerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteWorkerReplyValidationError) ErrorName ¶
func (e DeleteWorkerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteWorkerReplyValidationError) Field ¶
func (e DeleteWorkerReplyValidationError) Field() string
Field function returns field value.
func (DeleteWorkerReplyValidationError) Key ¶
func (e DeleteWorkerReplyValidationError) Key() bool
Key function returns key value.
func (DeleteWorkerReplyValidationError) Reason ¶
func (e DeleteWorkerReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteWorkerRequest ¶
type DeleteWorkerRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteWorkerRequest) Descriptor
deprecated
func (*DeleteWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkerRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkerRequest) GetId ¶
func (x *DeleteWorkerRequest) GetId() uint32
func (*DeleteWorkerRequest) ProtoMessage ¶
func (*DeleteWorkerRequest) ProtoMessage()
func (*DeleteWorkerRequest) ProtoReflect ¶
func (x *DeleteWorkerRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkerRequest) Reset ¶
func (x *DeleteWorkerRequest) Reset()
func (*DeleteWorkerRequest) String ¶
func (x *DeleteWorkerRequest) String() string
func (*DeleteWorkerRequest) Validate ¶
func (m *DeleteWorkerRequest) Validate() error
Validate checks the field values on DeleteWorkerRequest 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 (*DeleteWorkerRequest) ValidateAll ¶
func (m *DeleteWorkerRequest) ValidateAll() error
ValidateAll checks the field values on DeleteWorkerRequest 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 DeleteWorkerRequestMultiError, or nil if none found.
type DeleteWorkerRequestMultiError ¶
type DeleteWorkerRequestMultiError []error
DeleteWorkerRequestMultiError is an error wrapping multiple validation errors returned by DeleteWorkerRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteWorkerRequestMultiError) AllErrors ¶
func (m DeleteWorkerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteWorkerRequestMultiError) Error ¶
func (m DeleteWorkerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteWorkerRequestValidationError ¶
type DeleteWorkerRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteWorkerRequestValidationError is the validation error returned by DeleteWorkerRequest.Validate if the designated constraints aren't met.
func (DeleteWorkerRequestValidationError) Cause ¶
func (e DeleteWorkerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteWorkerRequestValidationError) Error ¶
func (e DeleteWorkerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteWorkerRequestValidationError) ErrorName ¶
func (e DeleteWorkerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteWorkerRequestValidationError) Field ¶
func (e DeleteWorkerRequestValidationError) Field() string
Field function returns field value.
func (DeleteWorkerRequestValidationError) Key ¶
func (e DeleteWorkerRequestValidationError) Key() bool
Key function returns key value.
func (DeleteWorkerRequestValidationError) Reason ¶
func (e DeleteWorkerRequestValidationError) Reason() string
Reason function returns reason value.
type GetWorkerGroupReply ¶
type GetWorkerGroupReply 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 (*GetWorkerGroupReply) Descriptor
deprecated
func (*GetWorkerGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkerGroupReply.ProtoReflect.Descriptor instead.
func (*GetWorkerGroupReply) GetCreatedAt ¶
func (x *GetWorkerGroupReply) GetCreatedAt() uint32
func (*GetWorkerGroupReply) GetDescription ¶
func (x *GetWorkerGroupReply) GetDescription() string
func (*GetWorkerGroupReply) GetId ¶
func (x *GetWorkerGroupReply) GetId() uint32
func (*GetWorkerGroupReply) GetName ¶
func (x *GetWorkerGroupReply) GetName() string
func (*GetWorkerGroupReply) GetUpdatedAt ¶
func (x *GetWorkerGroupReply) GetUpdatedAt() uint32
func (*GetWorkerGroupReply) ProtoMessage ¶
func (*GetWorkerGroupReply) ProtoMessage()
func (*GetWorkerGroupReply) ProtoReflect ¶
func (x *GetWorkerGroupReply) ProtoReflect() protoreflect.Message
func (*GetWorkerGroupReply) Reset ¶
func (x *GetWorkerGroupReply) Reset()
func (*GetWorkerGroupReply) String ¶
func (x *GetWorkerGroupReply) String() string
func (*GetWorkerGroupReply) Validate ¶
func (m *GetWorkerGroupReply) Validate() error
Validate checks the field values on GetWorkerGroupReply 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 (*GetWorkerGroupReply) ValidateAll ¶
func (m *GetWorkerGroupReply) ValidateAll() error
ValidateAll checks the field values on GetWorkerGroupReply 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 GetWorkerGroupReplyMultiError, or nil if none found.
type GetWorkerGroupReplyMultiError ¶
type GetWorkerGroupReplyMultiError []error
GetWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by GetWorkerGroupReply.ValidateAll() if the designated constraints aren't met.
func (GetWorkerGroupReplyMultiError) AllErrors ¶
func (m GetWorkerGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetWorkerGroupReplyMultiError) Error ¶
func (m GetWorkerGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetWorkerGroupReplyValidationError ¶
type GetWorkerGroupReplyValidationError struct {
// contains filtered or unexported fields
}
GetWorkerGroupReplyValidationError is the validation error returned by GetWorkerGroupReply.Validate if the designated constraints aren't met.
func (GetWorkerGroupReplyValidationError) Cause ¶
func (e GetWorkerGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (GetWorkerGroupReplyValidationError) Error ¶
func (e GetWorkerGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetWorkerGroupReplyValidationError) ErrorName ¶
func (e GetWorkerGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetWorkerGroupReplyValidationError) Field ¶
func (e GetWorkerGroupReplyValidationError) Field() string
Field function returns field value.
func (GetWorkerGroupReplyValidationError) Key ¶
func (e GetWorkerGroupReplyValidationError) Key() bool
Key function returns key value.
func (GetWorkerGroupReplyValidationError) Reason ¶
func (e GetWorkerGroupReplyValidationError) Reason() string
Reason function returns reason value.
type GetWorkerGroupRequest ¶
type GetWorkerGroupRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetWorkerGroupRequest) Descriptor
deprecated
func (*GetWorkerGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkerGroupRequest.ProtoReflect.Descriptor instead.
func (*GetWorkerGroupRequest) GetId ¶
func (x *GetWorkerGroupRequest) GetId() uint32
func (*GetWorkerGroupRequest) ProtoMessage ¶
func (*GetWorkerGroupRequest) ProtoMessage()
func (*GetWorkerGroupRequest) ProtoReflect ¶
func (x *GetWorkerGroupRequest) ProtoReflect() protoreflect.Message
func (*GetWorkerGroupRequest) Reset ¶
func (x *GetWorkerGroupRequest) Reset()
func (*GetWorkerGroupRequest) String ¶
func (x *GetWorkerGroupRequest) String() string
func (*GetWorkerGroupRequest) Validate ¶
func (m *GetWorkerGroupRequest) Validate() error
Validate checks the field values on GetWorkerGroupRequest 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 (*GetWorkerGroupRequest) ValidateAll ¶
func (m *GetWorkerGroupRequest) ValidateAll() error
ValidateAll checks the field values on GetWorkerGroupRequest 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 GetWorkerGroupRequestMultiError, or nil if none found.
type GetWorkerGroupRequestMultiError ¶
type GetWorkerGroupRequestMultiError []error
GetWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by GetWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.
func (GetWorkerGroupRequestMultiError) AllErrors ¶
func (m GetWorkerGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetWorkerGroupRequestMultiError) Error ¶
func (m GetWorkerGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetWorkerGroupRequestValidationError ¶
type GetWorkerGroupRequestValidationError struct {
// contains filtered or unexported fields
}
GetWorkerGroupRequestValidationError is the validation error returned by GetWorkerGroupRequest.Validate if the designated constraints aren't met.
func (GetWorkerGroupRequestValidationError) Cause ¶
func (e GetWorkerGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (GetWorkerGroupRequestValidationError) Error ¶
func (e GetWorkerGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetWorkerGroupRequestValidationError) ErrorName ¶
func (e GetWorkerGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetWorkerGroupRequestValidationError) Field ¶
func (e GetWorkerGroupRequestValidationError) Field() string
Field function returns field value.
func (GetWorkerGroupRequestValidationError) Key ¶
func (e GetWorkerGroupRequestValidationError) Key() bool
Key function returns key value.
func (GetWorkerGroupRequestValidationError) Reason ¶
func (e GetWorkerGroupRequestValidationError) Reason() string
Reason function returns reason value.
type GetWorkerReply ¶
type GetWorkerReply 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"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` GroupId *uint32 `protobuf:"varint,4,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"` Status *bool `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (*GetWorkerReply) Descriptor
deprecated
func (*GetWorkerReply) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkerReply.ProtoReflect.Descriptor instead.
func (*GetWorkerReply) GetCreatedAt ¶
func (x *GetWorkerReply) GetCreatedAt() uint32
func (*GetWorkerReply) GetDescription ¶
func (x *GetWorkerReply) GetDescription() string
func (*GetWorkerReply) GetGroupId ¶
func (x *GetWorkerReply) GetGroupId() uint32
func (*GetWorkerReply) GetId ¶
func (x *GetWorkerReply) GetId() uint32
func (*GetWorkerReply) GetIp ¶
func (x *GetWorkerReply) GetIp() string
func (*GetWorkerReply) GetName ¶
func (x *GetWorkerReply) GetName() string
func (*GetWorkerReply) GetStatus ¶
func (x *GetWorkerReply) GetStatus() bool
func (*GetWorkerReply) GetUpdatedAt ¶
func (x *GetWorkerReply) GetUpdatedAt() uint32
func (*GetWorkerReply) ProtoMessage ¶
func (*GetWorkerReply) ProtoMessage()
func (*GetWorkerReply) ProtoReflect ¶
func (x *GetWorkerReply) ProtoReflect() protoreflect.Message
func (*GetWorkerReply) Reset ¶
func (x *GetWorkerReply) Reset()
func (*GetWorkerReply) String ¶
func (x *GetWorkerReply) String() string
func (*GetWorkerReply) Validate ¶
func (m *GetWorkerReply) Validate() error
Validate checks the field values on GetWorkerReply 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 (*GetWorkerReply) ValidateAll ¶
func (m *GetWorkerReply) ValidateAll() error
ValidateAll checks the field values on GetWorkerReply 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 GetWorkerReplyMultiError, or nil if none found.
type GetWorkerReplyMultiError ¶
type GetWorkerReplyMultiError []error
GetWorkerReplyMultiError is an error wrapping multiple validation errors returned by GetWorkerReply.ValidateAll() if the designated constraints aren't met.
func (GetWorkerReplyMultiError) AllErrors ¶
func (m GetWorkerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetWorkerReplyMultiError) Error ¶
func (m GetWorkerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetWorkerReplyValidationError ¶
type GetWorkerReplyValidationError struct {
// contains filtered or unexported fields
}
GetWorkerReplyValidationError is the validation error returned by GetWorkerReply.Validate if the designated constraints aren't met.
func (GetWorkerReplyValidationError) Cause ¶
func (e GetWorkerReplyValidationError) Cause() error
Cause function returns cause value.
func (GetWorkerReplyValidationError) Error ¶
func (e GetWorkerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetWorkerReplyValidationError) ErrorName ¶
func (e GetWorkerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetWorkerReplyValidationError) Field ¶
func (e GetWorkerReplyValidationError) Field() string
Field function returns field value.
func (GetWorkerReplyValidationError) Key ¶
func (e GetWorkerReplyValidationError) Key() bool
Key function returns key value.
func (GetWorkerReplyValidationError) Reason ¶
func (e GetWorkerReplyValidationError) Reason() string
Reason function returns reason value.
type GetWorkerRequest ¶
type GetWorkerRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Ip *string `protobuf:"bytes,2,opt,name=ip,proto3,oneof" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*GetWorkerRequest) Descriptor
deprecated
func (*GetWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkerRequest.ProtoReflect.Descriptor instead.
func (*GetWorkerRequest) GetId ¶
func (x *GetWorkerRequest) GetId() uint32
func (*GetWorkerRequest) GetIp ¶
func (x *GetWorkerRequest) GetIp() string
func (*GetWorkerRequest) ProtoMessage ¶
func (*GetWorkerRequest) ProtoMessage()
func (*GetWorkerRequest) ProtoReflect ¶
func (x *GetWorkerRequest) ProtoReflect() protoreflect.Message
func (*GetWorkerRequest) Reset ¶
func (x *GetWorkerRequest) Reset()
func (*GetWorkerRequest) String ¶
func (x *GetWorkerRequest) String() string
func (*GetWorkerRequest) Validate ¶
func (m *GetWorkerRequest) Validate() error
Validate checks the field values on GetWorkerRequest 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 (*GetWorkerRequest) ValidateAll ¶
func (m *GetWorkerRequest) ValidateAll() error
ValidateAll checks the field values on GetWorkerRequest 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 GetWorkerRequestMultiError, or nil if none found.
type GetWorkerRequestMultiError ¶
type GetWorkerRequestMultiError []error
GetWorkerRequestMultiError is an error wrapping multiple validation errors returned by GetWorkerRequest.ValidateAll() if the designated constraints aren't met.
func (GetWorkerRequestMultiError) AllErrors ¶
func (m GetWorkerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetWorkerRequestMultiError) Error ¶
func (m GetWorkerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetWorkerRequestValidationError ¶
type GetWorkerRequestValidationError struct {
// contains filtered or unexported fields
}
GetWorkerRequestValidationError is the validation error returned by GetWorkerRequest.Validate if the designated constraints aren't met.
func (GetWorkerRequestValidationError) Cause ¶
func (e GetWorkerRequestValidationError) Cause() error
Cause function returns cause value.
func (GetWorkerRequestValidationError) Error ¶
func (e GetWorkerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetWorkerRequestValidationError) ErrorName ¶
func (e GetWorkerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetWorkerRequestValidationError) Field ¶
func (e GetWorkerRequestValidationError) Field() string
Field function returns field value.
func (GetWorkerRequestValidationError) Key ¶
func (e GetWorkerRequestValidationError) Key() bool
Key function returns key value.
func (GetWorkerRequestValidationError) Reason ¶
func (e GetWorkerRequestValidationError) Reason() string
Reason function returns reason value.
type ListWorkerGroupReply ¶
type ListWorkerGroupReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListWorkerGroupReply_WorkerGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListWorkerGroupReply) Descriptor
deprecated
func (*ListWorkerGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerGroupReply.ProtoReflect.Descriptor instead.
func (*ListWorkerGroupReply) GetList ¶
func (x *ListWorkerGroupReply) GetList() []*ListWorkerGroupReply_WorkerGroup
func (*ListWorkerGroupReply) GetTotal ¶
func (x *ListWorkerGroupReply) GetTotal() uint32
func (*ListWorkerGroupReply) ProtoMessage ¶
func (*ListWorkerGroupReply) ProtoMessage()
func (*ListWorkerGroupReply) ProtoReflect ¶
func (x *ListWorkerGroupReply) ProtoReflect() protoreflect.Message
func (*ListWorkerGroupReply) Reset ¶
func (x *ListWorkerGroupReply) Reset()
func (*ListWorkerGroupReply) String ¶
func (x *ListWorkerGroupReply) String() string
func (*ListWorkerGroupReply) Validate ¶
func (m *ListWorkerGroupReply) Validate() error
Validate checks the field values on ListWorkerGroupReply 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 (*ListWorkerGroupReply) ValidateAll ¶
func (m *ListWorkerGroupReply) ValidateAll() error
ValidateAll checks the field values on ListWorkerGroupReply 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 ListWorkerGroupReplyMultiError, or nil if none found.
type ListWorkerGroupReplyMultiError ¶
type ListWorkerGroupReplyMultiError []error
ListWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by ListWorkerGroupReply.ValidateAll() if the designated constraints aren't met.
func (ListWorkerGroupReplyMultiError) AllErrors ¶
func (m ListWorkerGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListWorkerGroupReplyMultiError) Error ¶
func (m ListWorkerGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListWorkerGroupReplyValidationError ¶
type ListWorkerGroupReplyValidationError struct {
// contains filtered or unexported fields
}
ListWorkerGroupReplyValidationError is the validation error returned by ListWorkerGroupReply.Validate if the designated constraints aren't met.
func (ListWorkerGroupReplyValidationError) Cause ¶
func (e ListWorkerGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (ListWorkerGroupReplyValidationError) Error ¶
func (e ListWorkerGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListWorkerGroupReplyValidationError) ErrorName ¶
func (e ListWorkerGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListWorkerGroupReplyValidationError) Field ¶
func (e ListWorkerGroupReplyValidationError) Field() string
Field function returns field value.
func (ListWorkerGroupReplyValidationError) Key ¶
func (e ListWorkerGroupReplyValidationError) Key() bool
Key function returns key value.
func (ListWorkerGroupReplyValidationError) Reason ¶
func (e ListWorkerGroupReplyValidationError) Reason() string
Reason function returns reason value.
type ListWorkerGroupReply_WorkerGroup ¶
type ListWorkerGroupReply_WorkerGroup 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 (*ListWorkerGroupReply_WorkerGroup) Descriptor
deprecated
func (*ListWorkerGroupReply_WorkerGroup) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerGroupReply_WorkerGroup.ProtoReflect.Descriptor instead.
func (*ListWorkerGroupReply_WorkerGroup) GetCreatedAt ¶
func (x *ListWorkerGroupReply_WorkerGroup) GetCreatedAt() uint32
func (*ListWorkerGroupReply_WorkerGroup) GetDescription ¶
func (x *ListWorkerGroupReply_WorkerGroup) GetDescription() string
func (*ListWorkerGroupReply_WorkerGroup) GetId ¶
func (x *ListWorkerGroupReply_WorkerGroup) GetId() uint32
func (*ListWorkerGroupReply_WorkerGroup) GetName ¶
func (x *ListWorkerGroupReply_WorkerGroup) GetName() string
func (*ListWorkerGroupReply_WorkerGroup) GetUpdatedAt ¶
func (x *ListWorkerGroupReply_WorkerGroup) GetUpdatedAt() uint32
func (*ListWorkerGroupReply_WorkerGroup) ProtoMessage ¶
func (*ListWorkerGroupReply_WorkerGroup) ProtoMessage()
func (*ListWorkerGroupReply_WorkerGroup) ProtoReflect ¶
func (x *ListWorkerGroupReply_WorkerGroup) ProtoReflect() protoreflect.Message
func (*ListWorkerGroupReply_WorkerGroup) Reset ¶
func (x *ListWorkerGroupReply_WorkerGroup) Reset()
func (*ListWorkerGroupReply_WorkerGroup) String ¶
func (x *ListWorkerGroupReply_WorkerGroup) String() string
func (*ListWorkerGroupReply_WorkerGroup) Validate ¶
func (m *ListWorkerGroupReply_WorkerGroup) Validate() error
Validate checks the field values on ListWorkerGroupReply_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 (*ListWorkerGroupReply_WorkerGroup) ValidateAll ¶
func (m *ListWorkerGroupReply_WorkerGroup) ValidateAll() error
ValidateAll checks the field values on ListWorkerGroupReply_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 ListWorkerGroupReply_WorkerGroupMultiError, or nil if none found.
type ListWorkerGroupReply_WorkerGroupMultiError ¶
type ListWorkerGroupReply_WorkerGroupMultiError []error
ListWorkerGroupReply_WorkerGroupMultiError is an error wrapping multiple validation errors returned by ListWorkerGroupReply_WorkerGroup.ValidateAll() if the designated constraints aren't met.
func (ListWorkerGroupReply_WorkerGroupMultiError) AllErrors ¶
func (m ListWorkerGroupReply_WorkerGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListWorkerGroupReply_WorkerGroupMultiError) Error ¶
func (m ListWorkerGroupReply_WorkerGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListWorkerGroupReply_WorkerGroupValidationError ¶
type ListWorkerGroupReply_WorkerGroupValidationError struct {
// contains filtered or unexported fields
}
ListWorkerGroupReply_WorkerGroupValidationError is the validation error returned by ListWorkerGroupReply_WorkerGroup.Validate if the designated constraints aren't met.
func (ListWorkerGroupReply_WorkerGroupValidationError) Cause ¶
func (e ListWorkerGroupReply_WorkerGroupValidationError) Cause() error
Cause function returns cause value.
func (ListWorkerGroupReply_WorkerGroupValidationError) Error ¶
func (e ListWorkerGroupReply_WorkerGroupValidationError) Error() string
Error satisfies the builtin error interface
func (ListWorkerGroupReply_WorkerGroupValidationError) ErrorName ¶
func (e ListWorkerGroupReply_WorkerGroupValidationError) ErrorName() string
ErrorName returns error name.
func (ListWorkerGroupReply_WorkerGroupValidationError) Field ¶
func (e ListWorkerGroupReply_WorkerGroupValidationError) Field() string
Field function returns field value.
func (ListWorkerGroupReply_WorkerGroupValidationError) Key ¶
func (e ListWorkerGroupReply_WorkerGroupValidationError) Key() bool
Key function returns key value.
func (ListWorkerGroupReply_WorkerGroupValidationError) Reason ¶
func (e ListWorkerGroupReply_WorkerGroupValidationError) Reason() string
Reason function returns reason value.
type ListWorkerGroupRequest ¶
type ListWorkerGroupRequest 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 (*ListWorkerGroupRequest) Descriptor
deprecated
func (*ListWorkerGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerGroupRequest.ProtoReflect.Descriptor instead.
func (*ListWorkerGroupRequest) GetName ¶
func (x *ListWorkerGroupRequest) GetName() string
func (*ListWorkerGroupRequest) GetOrder ¶
func (x *ListWorkerGroupRequest) GetOrder() string
func (*ListWorkerGroupRequest) GetOrderBy ¶
func (x *ListWorkerGroupRequest) GetOrderBy() string
func (*ListWorkerGroupRequest) GetPage ¶
func (x *ListWorkerGroupRequest) GetPage() uint32
func (*ListWorkerGroupRequest) GetPageSize ¶
func (x *ListWorkerGroupRequest) GetPageSize() uint32
func (*ListWorkerGroupRequest) ProtoMessage ¶
func (*ListWorkerGroupRequest) ProtoMessage()
func (*ListWorkerGroupRequest) ProtoReflect ¶
func (x *ListWorkerGroupRequest) ProtoReflect() protoreflect.Message
func (*ListWorkerGroupRequest) Reset ¶
func (x *ListWorkerGroupRequest) Reset()
func (*ListWorkerGroupRequest) String ¶
func (x *ListWorkerGroupRequest) String() string
func (*ListWorkerGroupRequest) Validate ¶
func (m *ListWorkerGroupRequest) Validate() error
Validate checks the field values on ListWorkerGroupRequest 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 (*ListWorkerGroupRequest) ValidateAll ¶
func (m *ListWorkerGroupRequest) ValidateAll() error
ValidateAll checks the field values on ListWorkerGroupRequest 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 ListWorkerGroupRequestMultiError, or nil if none found.
type ListWorkerGroupRequestMultiError ¶
type ListWorkerGroupRequestMultiError []error
ListWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by ListWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.
func (ListWorkerGroupRequestMultiError) AllErrors ¶
func (m ListWorkerGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListWorkerGroupRequestMultiError) Error ¶
func (m ListWorkerGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListWorkerGroupRequestValidationError ¶
type ListWorkerGroupRequestValidationError struct {
// contains filtered or unexported fields
}
ListWorkerGroupRequestValidationError is the validation error returned by ListWorkerGroupRequest.Validate if the designated constraints aren't met.
func (ListWorkerGroupRequestValidationError) Cause ¶
func (e ListWorkerGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (ListWorkerGroupRequestValidationError) Error ¶
func (e ListWorkerGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListWorkerGroupRequestValidationError) ErrorName ¶
func (e ListWorkerGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListWorkerGroupRequestValidationError) Field ¶
func (e ListWorkerGroupRequestValidationError) Field() string
Field function returns field value.
func (ListWorkerGroupRequestValidationError) Key ¶
func (e ListWorkerGroupRequestValidationError) Key() bool
Key function returns key value.
func (ListWorkerGroupRequestValidationError) Reason ¶
func (e ListWorkerGroupRequestValidationError) Reason() string
Reason function returns reason value.
type ListWorkerReply ¶
type ListWorkerReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListWorkerReply_Worker `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListWorkerReply) Descriptor
deprecated
func (*ListWorkerReply) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerReply.ProtoReflect.Descriptor instead.
func (*ListWorkerReply) GetList ¶
func (x *ListWorkerReply) GetList() []*ListWorkerReply_Worker
func (*ListWorkerReply) GetTotal ¶
func (x *ListWorkerReply) GetTotal() uint32
func (*ListWorkerReply) ProtoMessage ¶
func (*ListWorkerReply) ProtoMessage()
func (*ListWorkerReply) ProtoReflect ¶
func (x *ListWorkerReply) ProtoReflect() protoreflect.Message
func (*ListWorkerReply) Reset ¶
func (x *ListWorkerReply) Reset()
func (*ListWorkerReply) String ¶
func (x *ListWorkerReply) String() string
func (*ListWorkerReply) Validate ¶
func (m *ListWorkerReply) Validate() error
Validate checks the field values on ListWorkerReply 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 (*ListWorkerReply) ValidateAll ¶
func (m *ListWorkerReply) ValidateAll() error
ValidateAll checks the field values on ListWorkerReply 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 ListWorkerReplyMultiError, or nil if none found.
type ListWorkerReplyMultiError ¶
type ListWorkerReplyMultiError []error
ListWorkerReplyMultiError is an error wrapping multiple validation errors returned by ListWorkerReply.ValidateAll() if the designated constraints aren't met.
func (ListWorkerReplyMultiError) AllErrors ¶
func (m ListWorkerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListWorkerReplyMultiError) Error ¶
func (m ListWorkerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListWorkerReplyValidationError ¶
type ListWorkerReplyValidationError struct {
// contains filtered or unexported fields
}
ListWorkerReplyValidationError is the validation error returned by ListWorkerReply.Validate if the designated constraints aren't met.
func (ListWorkerReplyValidationError) Cause ¶
func (e ListWorkerReplyValidationError) Cause() error
Cause function returns cause value.
func (ListWorkerReplyValidationError) Error ¶
func (e ListWorkerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListWorkerReplyValidationError) ErrorName ¶
func (e ListWorkerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListWorkerReplyValidationError) Field ¶
func (e ListWorkerReplyValidationError) Field() string
Field function returns field value.
func (ListWorkerReplyValidationError) Key ¶
func (e ListWorkerReplyValidationError) Key() bool
Key function returns key value.
func (ListWorkerReplyValidationError) Reason ¶
func (e ListWorkerReplyValidationError) Reason() string
Reason function returns reason value.
type ListWorkerReply_Group ¶
type ListWorkerReply_Group struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListWorkerReply_Group) Descriptor
deprecated
func (*ListWorkerReply_Group) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerReply_Group.ProtoReflect.Descriptor instead.
func (*ListWorkerReply_Group) GetName ¶
func (x *ListWorkerReply_Group) GetName() string
func (*ListWorkerReply_Group) ProtoMessage ¶
func (*ListWorkerReply_Group) ProtoMessage()
func (*ListWorkerReply_Group) ProtoReflect ¶
func (x *ListWorkerReply_Group) ProtoReflect() protoreflect.Message
func (*ListWorkerReply_Group) Reset ¶
func (x *ListWorkerReply_Group) Reset()
func (*ListWorkerReply_Group) String ¶
func (x *ListWorkerReply_Group) String() string
func (*ListWorkerReply_Group) Validate ¶
func (m *ListWorkerReply_Group) Validate() error
Validate checks the field values on ListWorkerReply_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 (*ListWorkerReply_Group) ValidateAll ¶
func (m *ListWorkerReply_Group) ValidateAll() error
ValidateAll checks the field values on ListWorkerReply_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 ListWorkerReply_GroupMultiError, or nil if none found.
type ListWorkerReply_GroupMultiError ¶
type ListWorkerReply_GroupMultiError []error
ListWorkerReply_GroupMultiError is an error wrapping multiple validation errors returned by ListWorkerReply_Group.ValidateAll() if the designated constraints aren't met.
func (ListWorkerReply_GroupMultiError) AllErrors ¶
func (m ListWorkerReply_GroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListWorkerReply_GroupMultiError) Error ¶
func (m ListWorkerReply_GroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListWorkerReply_GroupValidationError ¶
type ListWorkerReply_GroupValidationError struct {
// contains filtered or unexported fields
}
ListWorkerReply_GroupValidationError is the validation error returned by ListWorkerReply_Group.Validate if the designated constraints aren't met.
func (ListWorkerReply_GroupValidationError) Cause ¶
func (e ListWorkerReply_GroupValidationError) Cause() error
Cause function returns cause value.
func (ListWorkerReply_GroupValidationError) Error ¶
func (e ListWorkerReply_GroupValidationError) Error() string
Error satisfies the builtin error interface
func (ListWorkerReply_GroupValidationError) ErrorName ¶
func (e ListWorkerReply_GroupValidationError) ErrorName() string
ErrorName returns error name.
func (ListWorkerReply_GroupValidationError) Field ¶
func (e ListWorkerReply_GroupValidationError) Field() string
Field function returns field value.
func (ListWorkerReply_GroupValidationError) Key ¶
func (e ListWorkerReply_GroupValidationError) Key() bool
Key function returns key value.
func (ListWorkerReply_GroupValidationError) Reason ¶
func (e ListWorkerReply_GroupValidationError) Reason() string
Reason function returns reason value.
type ListWorkerReply_Worker ¶
type ListWorkerReply_Worker 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"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` GroupId *uint32 `protobuf:"varint,4,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"` Status *bool `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt uint32 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Group *ListWorkerReply_Group `protobuf:"bytes,9,opt,name=group,proto3,oneof" json:"group,omitempty"` // contains filtered or unexported fields }
func (*ListWorkerReply_Worker) Descriptor
deprecated
func (*ListWorkerReply_Worker) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerReply_Worker.ProtoReflect.Descriptor instead.
func (*ListWorkerReply_Worker) GetCreatedAt ¶
func (x *ListWorkerReply_Worker) GetCreatedAt() uint32
func (*ListWorkerReply_Worker) GetDescription ¶
func (x *ListWorkerReply_Worker) GetDescription() string
func (*ListWorkerReply_Worker) GetGroup ¶
func (x *ListWorkerReply_Worker) GetGroup() *ListWorkerReply_Group
func (*ListWorkerReply_Worker) GetGroupId ¶
func (x *ListWorkerReply_Worker) GetGroupId() uint32
func (*ListWorkerReply_Worker) GetId ¶
func (x *ListWorkerReply_Worker) GetId() uint32
func (*ListWorkerReply_Worker) GetIp ¶
func (x *ListWorkerReply_Worker) GetIp() string
func (*ListWorkerReply_Worker) GetName ¶
func (x *ListWorkerReply_Worker) GetName() string
func (*ListWorkerReply_Worker) GetStatus ¶
func (x *ListWorkerReply_Worker) GetStatus() bool
func (*ListWorkerReply_Worker) GetUpdatedAt ¶
func (x *ListWorkerReply_Worker) GetUpdatedAt() uint32
func (*ListWorkerReply_Worker) ProtoMessage ¶
func (*ListWorkerReply_Worker) ProtoMessage()
func (*ListWorkerReply_Worker) ProtoReflect ¶
func (x *ListWorkerReply_Worker) ProtoReflect() protoreflect.Message
func (*ListWorkerReply_Worker) Reset ¶
func (x *ListWorkerReply_Worker) Reset()
func (*ListWorkerReply_Worker) String ¶
func (x *ListWorkerReply_Worker) String() string
func (*ListWorkerReply_Worker) Validate ¶
func (m *ListWorkerReply_Worker) Validate() error
Validate checks the field values on ListWorkerReply_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 (*ListWorkerReply_Worker) ValidateAll ¶
func (m *ListWorkerReply_Worker) ValidateAll() error
ValidateAll checks the field values on ListWorkerReply_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 ListWorkerReply_WorkerMultiError, or nil if none found.
type ListWorkerReply_WorkerMultiError ¶
type ListWorkerReply_WorkerMultiError []error
ListWorkerReply_WorkerMultiError is an error wrapping multiple validation errors returned by ListWorkerReply_Worker.ValidateAll() if the designated constraints aren't met.
func (ListWorkerReply_WorkerMultiError) AllErrors ¶
func (m ListWorkerReply_WorkerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListWorkerReply_WorkerMultiError) Error ¶
func (m ListWorkerReply_WorkerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListWorkerReply_WorkerValidationError ¶
type ListWorkerReply_WorkerValidationError struct {
// contains filtered or unexported fields
}
ListWorkerReply_WorkerValidationError is the validation error returned by ListWorkerReply_Worker.Validate if the designated constraints aren't met.
func (ListWorkerReply_WorkerValidationError) Cause ¶
func (e ListWorkerReply_WorkerValidationError) Cause() error
Cause function returns cause value.
func (ListWorkerReply_WorkerValidationError) Error ¶
func (e ListWorkerReply_WorkerValidationError) Error() string
Error satisfies the builtin error interface
func (ListWorkerReply_WorkerValidationError) ErrorName ¶
func (e ListWorkerReply_WorkerValidationError) ErrorName() string
ErrorName returns error name.
func (ListWorkerReply_WorkerValidationError) Field ¶
func (e ListWorkerReply_WorkerValidationError) Field() string
Field function returns field value.
func (ListWorkerReply_WorkerValidationError) Key ¶
func (e ListWorkerReply_WorkerValidationError) Key() bool
Key function returns key value.
func (ListWorkerReply_WorkerValidationError) Reason ¶
func (e ListWorkerReply_WorkerValidationError) Reason() string
Reason function returns reason value.
type ListWorkerRequest ¶
type ListWorkerRequest 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"` Ip *string `protobuf:"bytes,6,opt,name=ip,proto3,oneof" json:"ip,omitempty"` GroupId *uint32 `protobuf:"varint,7,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"` Status *bool `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListWorkerRequest) Descriptor
deprecated
func (*ListWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerRequest.ProtoReflect.Descriptor instead.
func (*ListWorkerRequest) GetGroupId ¶
func (x *ListWorkerRequest) GetGroupId() uint32
func (*ListWorkerRequest) GetIp ¶
func (x *ListWorkerRequest) GetIp() string
func (*ListWorkerRequest) GetName ¶
func (x *ListWorkerRequest) GetName() string
func (*ListWorkerRequest) GetOrder ¶
func (x *ListWorkerRequest) GetOrder() string
func (*ListWorkerRequest) GetOrderBy ¶
func (x *ListWorkerRequest) GetOrderBy() string
func (*ListWorkerRequest) GetPage ¶
func (x *ListWorkerRequest) GetPage() uint32
func (*ListWorkerRequest) GetPageSize ¶
func (x *ListWorkerRequest) GetPageSize() uint32
func (*ListWorkerRequest) GetStatus ¶
func (x *ListWorkerRequest) GetStatus() bool
func (*ListWorkerRequest) ProtoMessage ¶
func (*ListWorkerRequest) ProtoMessage()
func (*ListWorkerRequest) ProtoReflect ¶
func (x *ListWorkerRequest) ProtoReflect() protoreflect.Message
func (*ListWorkerRequest) Reset ¶
func (x *ListWorkerRequest) Reset()
func (*ListWorkerRequest) String ¶
func (x *ListWorkerRequest) String() string
func (*ListWorkerRequest) Validate ¶
func (m *ListWorkerRequest) Validate() error
Validate checks the field values on ListWorkerRequest 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 (*ListWorkerRequest) ValidateAll ¶
func (m *ListWorkerRequest) ValidateAll() error
ValidateAll checks the field values on ListWorkerRequest 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 ListWorkerRequestMultiError, or nil if none found.
type ListWorkerRequestMultiError ¶
type ListWorkerRequestMultiError []error
ListWorkerRequestMultiError is an error wrapping multiple validation errors returned by ListWorkerRequest.ValidateAll() if the designated constraints aren't met.
func (ListWorkerRequestMultiError) AllErrors ¶
func (m ListWorkerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListWorkerRequestMultiError) Error ¶
func (m ListWorkerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListWorkerRequestValidationError ¶
type ListWorkerRequestValidationError struct {
// contains filtered or unexported fields
}
ListWorkerRequestValidationError is the validation error returned by ListWorkerRequest.Validate if the designated constraints aren't met.
func (ListWorkerRequestValidationError) Cause ¶
func (e ListWorkerRequestValidationError) Cause() error
Cause function returns cause value.
func (ListWorkerRequestValidationError) Error ¶
func (e ListWorkerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListWorkerRequestValidationError) ErrorName ¶
func (e ListWorkerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListWorkerRequestValidationError) Field ¶
func (e ListWorkerRequestValidationError) Field() string
Field function returns field value.
func (ListWorkerRequestValidationError) Key ¶
func (e ListWorkerRequestValidationError) Key() bool
Key function returns key value.
func (ListWorkerRequestValidationError) Reason ¶
func (e ListWorkerRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedWorkerServer ¶
type UnimplementedWorkerServer struct { }
UnimplementedWorkerServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkerServer) CreateWorker ¶
func (UnimplementedWorkerServer) CreateWorker(context.Context, *CreateWorkerRequest) (*CreateWorkerReply, error)
func (UnimplementedWorkerServer) CreateWorkerGroup ¶
func (UnimplementedWorkerServer) CreateWorkerGroup(context.Context, *CreateWorkerGroupRequest) (*CreateWorkerGroupReply, error)
func (UnimplementedWorkerServer) DeleteWorker ¶
func (UnimplementedWorkerServer) DeleteWorker(context.Context, *DeleteWorkerRequest) (*DeleteWorkerReply, error)
func (UnimplementedWorkerServer) DeleteWorkerGroup ¶
func (UnimplementedWorkerServer) DeleteWorkerGroup(context.Context, *DeleteWorkerGroupRequest) (*DeleteWorkerGroupReply, error)
func (UnimplementedWorkerServer) GetWorker ¶
func (UnimplementedWorkerServer) GetWorker(context.Context, *GetWorkerRequest) (*GetWorkerReply, error)
func (UnimplementedWorkerServer) GetWorkerGroup ¶
func (UnimplementedWorkerServer) GetWorkerGroup(context.Context, *GetWorkerGroupRequest) (*GetWorkerGroupReply, error)
func (UnimplementedWorkerServer) ListWorker ¶
func (UnimplementedWorkerServer) ListWorker(context.Context, *ListWorkerRequest) (*ListWorkerReply, error)
func (UnimplementedWorkerServer) ListWorkerGroup ¶
func (UnimplementedWorkerServer) ListWorkerGroup(context.Context, *ListWorkerGroupRequest) (*ListWorkerGroupReply, error)
func (UnimplementedWorkerServer) UpdateWorker ¶
func (UnimplementedWorkerServer) UpdateWorker(context.Context, *UpdateWorkerRequest) (*UpdateWorkerReply, error)
func (UnimplementedWorkerServer) UpdateWorkerGroup ¶
func (UnimplementedWorkerServer) UpdateWorkerGroup(context.Context, *UpdateWorkerGroupRequest) (*UpdateWorkerGroupReply, error)
func (UnimplementedWorkerServer) UpdateWorkerStatus ¶
func (UnimplementedWorkerServer) UpdateWorkerStatus(context.Context, *UpdateWorkerStatusRequest) (*UpdateWorkerStatusReply, error)
type UnsafeWorkerServer ¶
type UnsafeWorkerServer interface {
// contains filtered or unexported methods
}
UnsafeWorkerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkerServer will result in compilation errors.
type UpdateWorkerGroupReply ¶
type UpdateWorkerGroupReply struct {
// contains filtered or unexported fields
}
func (*UpdateWorkerGroupReply) Descriptor
deprecated
func (*UpdateWorkerGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkerGroupReply.ProtoReflect.Descriptor instead.
func (*UpdateWorkerGroupReply) ProtoMessage ¶
func (*UpdateWorkerGroupReply) ProtoMessage()
func (*UpdateWorkerGroupReply) ProtoReflect ¶
func (x *UpdateWorkerGroupReply) ProtoReflect() protoreflect.Message
func (*UpdateWorkerGroupReply) Reset ¶
func (x *UpdateWorkerGroupReply) Reset()
func (*UpdateWorkerGroupReply) String ¶
func (x *UpdateWorkerGroupReply) String() string
func (*UpdateWorkerGroupReply) Validate ¶
func (m *UpdateWorkerGroupReply) Validate() error
Validate checks the field values on UpdateWorkerGroupReply 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 (*UpdateWorkerGroupReply) ValidateAll ¶
func (m *UpdateWorkerGroupReply) ValidateAll() error
ValidateAll checks the field values on UpdateWorkerGroupReply 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 UpdateWorkerGroupReplyMultiError, or nil if none found.
type UpdateWorkerGroupReplyMultiError ¶
type UpdateWorkerGroupReplyMultiError []error
UpdateWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by UpdateWorkerGroupReply.ValidateAll() if the designated constraints aren't met.
func (UpdateWorkerGroupReplyMultiError) AllErrors ¶
func (m UpdateWorkerGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateWorkerGroupReplyMultiError) Error ¶
func (m UpdateWorkerGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateWorkerGroupReplyValidationError ¶
type UpdateWorkerGroupReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateWorkerGroupReplyValidationError is the validation error returned by UpdateWorkerGroupReply.Validate if the designated constraints aren't met.
func (UpdateWorkerGroupReplyValidationError) Cause ¶
func (e UpdateWorkerGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateWorkerGroupReplyValidationError) Error ¶
func (e UpdateWorkerGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateWorkerGroupReplyValidationError) ErrorName ¶
func (e UpdateWorkerGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateWorkerGroupReplyValidationError) Field ¶
func (e UpdateWorkerGroupReplyValidationError) Field() string
Field function returns field value.
func (UpdateWorkerGroupReplyValidationError) Key ¶
func (e UpdateWorkerGroupReplyValidationError) Key() bool
Key function returns key value.
func (UpdateWorkerGroupReplyValidationError) Reason ¶
func (e UpdateWorkerGroupReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateWorkerGroupRequest ¶
type UpdateWorkerGroupRequest 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 (*UpdateWorkerGroupRequest) Descriptor
deprecated
func (*UpdateWorkerGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkerGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkerGroupRequest) GetDescription ¶
func (x *UpdateWorkerGroupRequest) GetDescription() string
func (*UpdateWorkerGroupRequest) GetId ¶
func (x *UpdateWorkerGroupRequest) GetId() uint32
func (*UpdateWorkerGroupRequest) GetName ¶
func (x *UpdateWorkerGroupRequest) GetName() string
func (*UpdateWorkerGroupRequest) ProtoMessage ¶
func (*UpdateWorkerGroupRequest) ProtoMessage()
func (*UpdateWorkerGroupRequest) ProtoReflect ¶
func (x *UpdateWorkerGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkerGroupRequest) Reset ¶
func (x *UpdateWorkerGroupRequest) Reset()
func (*UpdateWorkerGroupRequest) String ¶
func (x *UpdateWorkerGroupRequest) String() string
func (*UpdateWorkerGroupRequest) Validate ¶
func (m *UpdateWorkerGroupRequest) Validate() error
Validate checks the field values on UpdateWorkerGroupRequest 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 (*UpdateWorkerGroupRequest) ValidateAll ¶
func (m *UpdateWorkerGroupRequest) ValidateAll() error
ValidateAll checks the field values on UpdateWorkerGroupRequest 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 UpdateWorkerGroupRequestMultiError, or nil if none found.
type UpdateWorkerGroupRequestMultiError ¶
type UpdateWorkerGroupRequestMultiError []error
UpdateWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateWorkerGroupRequestMultiError) AllErrors ¶
func (m UpdateWorkerGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateWorkerGroupRequestMultiError) Error ¶
func (m UpdateWorkerGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateWorkerGroupRequestValidationError ¶
type UpdateWorkerGroupRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateWorkerGroupRequestValidationError is the validation error returned by UpdateWorkerGroupRequest.Validate if the designated constraints aren't met.
func (UpdateWorkerGroupRequestValidationError) Cause ¶
func (e UpdateWorkerGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateWorkerGroupRequestValidationError) Error ¶
func (e UpdateWorkerGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateWorkerGroupRequestValidationError) ErrorName ¶
func (e UpdateWorkerGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateWorkerGroupRequestValidationError) Field ¶
func (e UpdateWorkerGroupRequestValidationError) Field() string
Field function returns field value.
func (UpdateWorkerGroupRequestValidationError) Key ¶
func (e UpdateWorkerGroupRequestValidationError) Key() bool
Key function returns key value.
func (UpdateWorkerGroupRequestValidationError) Reason ¶
func (e UpdateWorkerGroupRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateWorkerReply ¶
type UpdateWorkerReply struct {
// contains filtered or unexported fields
}
func (*UpdateWorkerReply) Descriptor
deprecated
func (*UpdateWorkerReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkerReply.ProtoReflect.Descriptor instead.
func (*UpdateWorkerReply) ProtoMessage ¶
func (*UpdateWorkerReply) ProtoMessage()
func (*UpdateWorkerReply) ProtoReflect ¶
func (x *UpdateWorkerReply) ProtoReflect() protoreflect.Message
func (*UpdateWorkerReply) Reset ¶
func (x *UpdateWorkerReply) Reset()
func (*UpdateWorkerReply) String ¶
func (x *UpdateWorkerReply) String() string
func (*UpdateWorkerReply) Validate ¶
func (m *UpdateWorkerReply) Validate() error
Validate checks the field values on UpdateWorkerReply 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 (*UpdateWorkerReply) ValidateAll ¶
func (m *UpdateWorkerReply) ValidateAll() error
ValidateAll checks the field values on UpdateWorkerReply 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 UpdateWorkerReplyMultiError, or nil if none found.
type UpdateWorkerReplyMultiError ¶
type UpdateWorkerReplyMultiError []error
UpdateWorkerReplyMultiError is an error wrapping multiple validation errors returned by UpdateWorkerReply.ValidateAll() if the designated constraints aren't met.
func (UpdateWorkerReplyMultiError) AllErrors ¶
func (m UpdateWorkerReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateWorkerReplyMultiError) Error ¶
func (m UpdateWorkerReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateWorkerReplyValidationError ¶
type UpdateWorkerReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateWorkerReplyValidationError is the validation error returned by UpdateWorkerReply.Validate if the designated constraints aren't met.
func (UpdateWorkerReplyValidationError) Cause ¶
func (e UpdateWorkerReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateWorkerReplyValidationError) Error ¶
func (e UpdateWorkerReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateWorkerReplyValidationError) ErrorName ¶
func (e UpdateWorkerReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateWorkerReplyValidationError) Field ¶
func (e UpdateWorkerReplyValidationError) Field() string
Field function returns field value.
func (UpdateWorkerReplyValidationError) Key ¶
func (e UpdateWorkerReplyValidationError) Key() bool
Key function returns key value.
func (UpdateWorkerReplyValidationError) Reason ¶
func (e UpdateWorkerReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateWorkerRequest ¶
type UpdateWorkerRequest 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"` Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` GroupId *uint32 `protobuf:"varint,4,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateWorkerRequest) Descriptor
deprecated
func (*UpdateWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkerRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkerRequest) GetDescription ¶
func (x *UpdateWorkerRequest) GetDescription() string
func (*UpdateWorkerRequest) GetGroupId ¶
func (x *UpdateWorkerRequest) GetGroupId() uint32
func (*UpdateWorkerRequest) GetId ¶
func (x *UpdateWorkerRequest) GetId() uint32
func (*UpdateWorkerRequest) GetIp ¶
func (x *UpdateWorkerRequest) GetIp() string
func (*UpdateWorkerRequest) GetName ¶
func (x *UpdateWorkerRequest) GetName() string
func (*UpdateWorkerRequest) ProtoMessage ¶
func (*UpdateWorkerRequest) ProtoMessage()
func (*UpdateWorkerRequest) ProtoReflect ¶
func (x *UpdateWorkerRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkerRequest) Reset ¶
func (x *UpdateWorkerRequest) Reset()
func (*UpdateWorkerRequest) String ¶
func (x *UpdateWorkerRequest) String() string
func (*UpdateWorkerRequest) Validate ¶
func (m *UpdateWorkerRequest) Validate() error
Validate checks the field values on UpdateWorkerRequest 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 (*UpdateWorkerRequest) ValidateAll ¶
func (m *UpdateWorkerRequest) ValidateAll() error
ValidateAll checks the field values on UpdateWorkerRequest 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 UpdateWorkerRequestMultiError, or nil if none found.
type UpdateWorkerRequestMultiError ¶
type UpdateWorkerRequestMultiError []error
UpdateWorkerRequestMultiError is an error wrapping multiple validation errors returned by UpdateWorkerRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateWorkerRequestMultiError) AllErrors ¶
func (m UpdateWorkerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateWorkerRequestMultiError) Error ¶
func (m UpdateWorkerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateWorkerRequestValidationError ¶
type UpdateWorkerRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateWorkerRequestValidationError is the validation error returned by UpdateWorkerRequest.Validate if the designated constraints aren't met.
func (UpdateWorkerRequestValidationError) Cause ¶
func (e UpdateWorkerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateWorkerRequestValidationError) Error ¶
func (e UpdateWorkerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateWorkerRequestValidationError) ErrorName ¶
func (e UpdateWorkerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateWorkerRequestValidationError) Field ¶
func (e UpdateWorkerRequestValidationError) Field() string
Field function returns field value.
func (UpdateWorkerRequestValidationError) Key ¶
func (e UpdateWorkerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateWorkerRequestValidationError) Reason ¶
func (e UpdateWorkerRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateWorkerStatusReply ¶
type UpdateWorkerStatusReply struct {
// contains filtered or unexported fields
}
func (*UpdateWorkerStatusReply) Descriptor
deprecated
func (*UpdateWorkerStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkerStatusReply.ProtoReflect.Descriptor instead.
func (*UpdateWorkerStatusReply) ProtoMessage ¶
func (*UpdateWorkerStatusReply) ProtoMessage()
func (*UpdateWorkerStatusReply) ProtoReflect ¶
func (x *UpdateWorkerStatusReply) ProtoReflect() protoreflect.Message
func (*UpdateWorkerStatusReply) Reset ¶
func (x *UpdateWorkerStatusReply) Reset()
func (*UpdateWorkerStatusReply) String ¶
func (x *UpdateWorkerStatusReply) String() string
func (*UpdateWorkerStatusReply) Validate ¶
func (m *UpdateWorkerStatusReply) Validate() error
Validate checks the field values on UpdateWorkerStatusReply 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 (*UpdateWorkerStatusReply) ValidateAll ¶
func (m *UpdateWorkerStatusReply) ValidateAll() error
ValidateAll checks the field values on UpdateWorkerStatusReply 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 UpdateWorkerStatusReplyMultiError, or nil if none found.
type UpdateWorkerStatusReplyMultiError ¶
type UpdateWorkerStatusReplyMultiError []error
UpdateWorkerStatusReplyMultiError is an error wrapping multiple validation errors returned by UpdateWorkerStatusReply.ValidateAll() if the designated constraints aren't met.
func (UpdateWorkerStatusReplyMultiError) AllErrors ¶
func (m UpdateWorkerStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateWorkerStatusReplyMultiError) Error ¶
func (m UpdateWorkerStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateWorkerStatusReplyValidationError ¶
type UpdateWorkerStatusReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateWorkerStatusReplyValidationError is the validation error returned by UpdateWorkerStatusReply.Validate if the designated constraints aren't met.
func (UpdateWorkerStatusReplyValidationError) Cause ¶
func (e UpdateWorkerStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateWorkerStatusReplyValidationError) Error ¶
func (e UpdateWorkerStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateWorkerStatusReplyValidationError) ErrorName ¶
func (e UpdateWorkerStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateWorkerStatusReplyValidationError) Field ¶
func (e UpdateWorkerStatusReplyValidationError) Field() string
Field function returns field value.
func (UpdateWorkerStatusReplyValidationError) Key ¶
func (e UpdateWorkerStatusReplyValidationError) Key() bool
Key function returns key value.
func (UpdateWorkerStatusReplyValidationError) Reason ¶
func (e UpdateWorkerStatusReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateWorkerStatusRequest ¶
type UpdateWorkerStatusRequest 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 (*UpdateWorkerStatusRequest) Descriptor
deprecated
func (*UpdateWorkerStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkerStatusRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkerStatusRequest) GetId ¶
func (x *UpdateWorkerStatusRequest) GetId() uint32
func (*UpdateWorkerStatusRequest) GetStatus ¶
func (x *UpdateWorkerStatusRequest) GetStatus() bool
func (*UpdateWorkerStatusRequest) ProtoMessage ¶
func (*UpdateWorkerStatusRequest) ProtoMessage()
func (*UpdateWorkerStatusRequest) ProtoReflect ¶
func (x *UpdateWorkerStatusRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkerStatusRequest) Reset ¶
func (x *UpdateWorkerStatusRequest) Reset()
func (*UpdateWorkerStatusRequest) String ¶
func (x *UpdateWorkerStatusRequest) String() string
func (*UpdateWorkerStatusRequest) Validate ¶
func (m *UpdateWorkerStatusRequest) Validate() error
Validate checks the field values on UpdateWorkerStatusRequest 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 (*UpdateWorkerStatusRequest) ValidateAll ¶
func (m *UpdateWorkerStatusRequest) ValidateAll() error
ValidateAll checks the field values on UpdateWorkerStatusRequest 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 UpdateWorkerStatusRequestMultiError, or nil if none found.
type UpdateWorkerStatusRequestMultiError ¶
type UpdateWorkerStatusRequestMultiError []error
UpdateWorkerStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateWorkerStatusRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateWorkerStatusRequestMultiError) AllErrors ¶
func (m UpdateWorkerStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateWorkerStatusRequestMultiError) Error ¶
func (m UpdateWorkerStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateWorkerStatusRequestValidationError ¶
type UpdateWorkerStatusRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateWorkerStatusRequestValidationError is the validation error returned by UpdateWorkerStatusRequest.Validate if the designated constraints aren't met.
func (UpdateWorkerStatusRequestValidationError) Cause ¶
func (e UpdateWorkerStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateWorkerStatusRequestValidationError) Error ¶
func (e UpdateWorkerStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateWorkerStatusRequestValidationError) ErrorName ¶
func (e UpdateWorkerStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateWorkerStatusRequestValidationError) Field ¶
func (e UpdateWorkerStatusRequestValidationError) Field() string
Field function returns field value.
func (UpdateWorkerStatusRequestValidationError) Key ¶
func (e UpdateWorkerStatusRequestValidationError) Key() bool
Key function returns key value.
func (UpdateWorkerStatusRequestValidationError) Reason ¶
func (e UpdateWorkerStatusRequestValidationError) Reason() string
Reason function returns reason value.
type WorkerClient ¶
type WorkerClient interface { // GetWorkerGroup 获取指定的节点分组 GetWorkerGroup(ctx context.Context, in *GetWorkerGroupRequest, opts ...grpc.CallOption) (*GetWorkerGroupReply, error) // ListWorkerGroup 获取节点分组列表 ListWorkerGroup(ctx context.Context, in *ListWorkerGroupRequest, opts ...grpc.CallOption) (*ListWorkerGroupReply, error) // CreateWorkerGroup 创建节点分组 CreateWorkerGroup(ctx context.Context, in *CreateWorkerGroupRequest, opts ...grpc.CallOption) (*CreateWorkerGroupReply, error) // UpdateWorkerGroup 更新节点分组 UpdateWorkerGroup(ctx context.Context, in *UpdateWorkerGroupRequest, opts ...grpc.CallOption) (*UpdateWorkerGroupReply, error) // DeleteWorkerGroup 删除节点分组 DeleteWorkerGroup(ctx context.Context, in *DeleteWorkerGroupRequest, opts ...grpc.CallOption) (*DeleteWorkerGroupReply, error) // GetWorker 获取指定的节点信息 GetWorker(ctx context.Context, in *GetWorkerRequest, opts ...grpc.CallOption) (*GetWorkerReply, error) // ListWorker 获取节点信息列表 ListWorker(ctx context.Context, in *ListWorkerRequest, opts ...grpc.CallOption) (*ListWorkerReply, error) // CreateWorker 创建节点信息 CreateWorker(ctx context.Context, in *CreateWorkerRequest, opts ...grpc.CallOption) (*CreateWorkerReply, error) // UpdateWorker 更新节点信息 UpdateWorker(ctx context.Context, in *UpdateWorkerRequest, opts ...grpc.CallOption) (*UpdateWorkerReply, error) // UpdateWorkerStatus 更新节点信息状态 UpdateWorkerStatus(ctx context.Context, in *UpdateWorkerStatusRequest, opts ...grpc.CallOption) (*UpdateWorkerStatusReply, error) // DeleteWorker 删除节点信息 DeleteWorker(ctx context.Context, in *DeleteWorkerRequest, opts ...grpc.CallOption) (*DeleteWorkerReply, error) }
WorkerClient is the client API for Worker 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 NewWorkerClient ¶
func NewWorkerClient(cc grpc.ClientConnInterface) WorkerClient
type WorkerHTTPClient ¶
type WorkerHTTPClient interface { CreateWorker(ctx context.Context, req *CreateWorkerRequest, opts ...http.CallOption) (rsp *CreateWorkerReply, err error) CreateWorkerGroup(ctx context.Context, req *CreateWorkerGroupRequest, opts ...http.CallOption) (rsp *CreateWorkerGroupReply, err error) DeleteWorker(ctx context.Context, req *DeleteWorkerRequest, opts ...http.CallOption) (rsp *DeleteWorkerReply, err error) DeleteWorkerGroup(ctx context.Context, req *DeleteWorkerGroupRequest, opts ...http.CallOption) (rsp *DeleteWorkerGroupReply, err error) GetWorker(ctx context.Context, req *GetWorkerRequest, opts ...http.CallOption) (rsp *GetWorkerReply, err error) GetWorkerGroup(ctx context.Context, req *GetWorkerGroupRequest, opts ...http.CallOption) (rsp *GetWorkerGroupReply, err error) ListWorker(ctx context.Context, req *ListWorkerRequest, opts ...http.CallOption) (rsp *ListWorkerReply, err error) ListWorkerGroup(ctx context.Context, req *ListWorkerGroupRequest, opts ...http.CallOption) (rsp *ListWorkerGroupReply, err error) UpdateWorker(ctx context.Context, req *UpdateWorkerRequest, opts ...http.CallOption) (rsp *UpdateWorkerReply, err error) UpdateWorkerGroup(ctx context.Context, req *UpdateWorkerGroupRequest, opts ...http.CallOption) (rsp *UpdateWorkerGroupReply, err error) UpdateWorkerStatus(ctx context.Context, req *UpdateWorkerStatusRequest, opts ...http.CallOption) (rsp *UpdateWorkerStatusReply, err error) }
func NewWorkerHTTPClient ¶
func NewWorkerHTTPClient(client *http.Client) WorkerHTTPClient
type WorkerHTTPClientImpl ¶
type WorkerHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*WorkerHTTPClientImpl) CreateWorker ¶
func (c *WorkerHTTPClientImpl) CreateWorker(ctx context.Context, in *CreateWorkerRequest, opts ...http.CallOption) (*CreateWorkerReply, error)
func (*WorkerHTTPClientImpl) CreateWorkerGroup ¶
func (c *WorkerHTTPClientImpl) CreateWorkerGroup(ctx context.Context, in *CreateWorkerGroupRequest, opts ...http.CallOption) (*CreateWorkerGroupReply, error)
func (*WorkerHTTPClientImpl) DeleteWorker ¶
func (c *WorkerHTTPClientImpl) DeleteWorker(ctx context.Context, in *DeleteWorkerRequest, opts ...http.CallOption) (*DeleteWorkerReply, error)
func (*WorkerHTTPClientImpl) DeleteWorkerGroup ¶
func (c *WorkerHTTPClientImpl) DeleteWorkerGroup(ctx context.Context, in *DeleteWorkerGroupRequest, opts ...http.CallOption) (*DeleteWorkerGroupReply, error)
func (*WorkerHTTPClientImpl) GetWorker ¶
func (c *WorkerHTTPClientImpl) GetWorker(ctx context.Context, in *GetWorkerRequest, opts ...http.CallOption) (*GetWorkerReply, error)
func (*WorkerHTTPClientImpl) GetWorkerGroup ¶
func (c *WorkerHTTPClientImpl) GetWorkerGroup(ctx context.Context, in *GetWorkerGroupRequest, opts ...http.CallOption) (*GetWorkerGroupReply, error)
func (*WorkerHTTPClientImpl) ListWorker ¶
func (c *WorkerHTTPClientImpl) ListWorker(ctx context.Context, in *ListWorkerRequest, opts ...http.CallOption) (*ListWorkerReply, error)
func (*WorkerHTTPClientImpl) ListWorkerGroup ¶
func (c *WorkerHTTPClientImpl) ListWorkerGroup(ctx context.Context, in *ListWorkerGroupRequest, opts ...http.CallOption) (*ListWorkerGroupReply, error)
func (*WorkerHTTPClientImpl) UpdateWorker ¶
func (c *WorkerHTTPClientImpl) UpdateWorker(ctx context.Context, in *UpdateWorkerRequest, opts ...http.CallOption) (*UpdateWorkerReply, error)
func (*WorkerHTTPClientImpl) UpdateWorkerGroup ¶
func (c *WorkerHTTPClientImpl) UpdateWorkerGroup(ctx context.Context, in *UpdateWorkerGroupRequest, opts ...http.CallOption) (*UpdateWorkerGroupReply, error)
func (*WorkerHTTPClientImpl) UpdateWorkerStatus ¶
func (c *WorkerHTTPClientImpl) UpdateWorkerStatus(ctx context.Context, in *UpdateWorkerStatusRequest, opts ...http.CallOption) (*UpdateWorkerStatusReply, error)
type WorkerHTTPServer ¶
type WorkerHTTPServer interface { // CreateWorker CreateWorker 创建节点信息 CreateWorker(context.Context, *CreateWorkerRequest) (*CreateWorkerReply, error) // CreateWorkerGroup CreateWorkerGroup 创建节点分组 CreateWorkerGroup(context.Context, *CreateWorkerGroupRequest) (*CreateWorkerGroupReply, error) // DeleteWorker DeleteWorker 删除节点信息 DeleteWorker(context.Context, *DeleteWorkerRequest) (*DeleteWorkerReply, error) // DeleteWorkerGroup DeleteWorkerGroup 删除节点分组 DeleteWorkerGroup(context.Context, *DeleteWorkerGroupRequest) (*DeleteWorkerGroupReply, error) // GetWorker GetWorker 获取指定的节点信息 GetWorker(context.Context, *GetWorkerRequest) (*GetWorkerReply, error) // GetWorkerGroup GetWorkerGroup 获取指定的节点分组 GetWorkerGroup(context.Context, *GetWorkerGroupRequest) (*GetWorkerGroupReply, error) // ListWorker ListWorker 获取节点信息列表 ListWorker(context.Context, *ListWorkerRequest) (*ListWorkerReply, error) // ListWorkerGroup ListWorkerGroup 获取节点分组列表 ListWorkerGroup(context.Context, *ListWorkerGroupRequest) (*ListWorkerGroupReply, error) // UpdateWorker UpdateWorker 更新节点信息 UpdateWorker(context.Context, *UpdateWorkerRequest) (*UpdateWorkerReply, error) // UpdateWorkerGroup UpdateWorkerGroup 更新节点分组 UpdateWorkerGroup(context.Context, *UpdateWorkerGroupRequest) (*UpdateWorkerGroupReply, error) // UpdateWorkerStatus UpdateWorkerStatus 更新节点信息状态 UpdateWorkerStatus(context.Context, *UpdateWorkerStatusRequest) (*UpdateWorkerStatusReply, error) }
type WorkerServer ¶
type WorkerServer interface { // GetWorkerGroup 获取指定的节点分组 GetWorkerGroup(context.Context, *GetWorkerGroupRequest) (*GetWorkerGroupReply, error) // ListWorkerGroup 获取节点分组列表 ListWorkerGroup(context.Context, *ListWorkerGroupRequest) (*ListWorkerGroupReply, error) // CreateWorkerGroup 创建节点分组 CreateWorkerGroup(context.Context, *CreateWorkerGroupRequest) (*CreateWorkerGroupReply, error) // UpdateWorkerGroup 更新节点分组 UpdateWorkerGroup(context.Context, *UpdateWorkerGroupRequest) (*UpdateWorkerGroupReply, error) // DeleteWorkerGroup 删除节点分组 DeleteWorkerGroup(context.Context, *DeleteWorkerGroupRequest) (*DeleteWorkerGroupReply, error) // GetWorker 获取指定的节点信息 GetWorker(context.Context, *GetWorkerRequest) (*GetWorkerReply, error) // ListWorker 获取节点信息列表 ListWorker(context.Context, *ListWorkerRequest) (*ListWorkerReply, error) // CreateWorker 创建节点信息 CreateWorker(context.Context, *CreateWorkerRequest) (*CreateWorkerReply, error) // UpdateWorker 更新节点信息 UpdateWorker(context.Context, *UpdateWorkerRequest) (*UpdateWorkerReply, error) // UpdateWorkerStatus 更新节点信息状态 UpdateWorkerStatus(context.Context, *UpdateWorkerStatusRequest) (*UpdateWorkerStatusReply, error) // DeleteWorker 删除节点信息 DeleteWorker(context.Context, *DeleteWorkerRequest) (*DeleteWorkerReply, error) // contains filtered or unexported methods }
WorkerServer is the server API for Worker service. All implementations must embed UnimplementedWorkerServer for forward compatibility