Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterLogHTTPServer(s *http.Server, srv LogHTTPServer)
- func RegisterLogServer(s grpc.ServiceRegistrar, srv LogServer)
- type CreateLogReply
- func (*CreateLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLogReply) GetId() uint32
- func (*CreateLogReply) ProtoMessage()
- func (x *CreateLogReply) ProtoReflect() protoreflect.Message
- func (x *CreateLogReply) Reset()
- func (x *CreateLogReply) String() string
- func (m *CreateLogReply) Validate() error
- func (m *CreateLogReply) ValidateAll() error
- type CreateLogReplyMultiError
- type CreateLogReplyValidationError
- func (e CreateLogReplyValidationError) Cause() error
- func (e CreateLogReplyValidationError) Error() string
- func (e CreateLogReplyValidationError) ErrorName() string
- func (e CreateLogReplyValidationError) Field() string
- func (e CreateLogReplyValidationError) Key() bool
- func (e CreateLogReplyValidationError) Reason() string
- type CreateLogRequest
- func (*CreateLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLogRequest) GetContent() string
- func (x *CreateLogRequest) GetEndAt() uint32
- func (x *CreateLogRequest) GetStartAt() uint32
- func (x *CreateLogRequest) GetStatus() string
- func (x *CreateLogRequest) GetTaskId() uint32
- func (x *CreateLogRequest) GetTaskSnapshot() string
- func (x *CreateLogRequest) GetUuid() string
- func (x *CreateLogRequest) GetWorkerId() uint32
- func (x *CreateLogRequest) GetWorkerSnapshot() string
- func (*CreateLogRequest) ProtoMessage()
- func (x *CreateLogRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLogRequest) Reset()
- func (x *CreateLogRequest) String() string
- func (m *CreateLogRequest) Validate() error
- func (m *CreateLogRequest) ValidateAll() error
- type CreateLogRequestMultiError
- type CreateLogRequestValidationError
- func (e CreateLogRequestValidationError) Cause() error
- func (e CreateLogRequestValidationError) Error() string
- func (e CreateLogRequestValidationError) ErrorName() string
- func (e CreateLogRequestValidationError) Field() string
- func (e CreateLogRequestValidationError) Key() bool
- func (e CreateLogRequestValidationError) Reason() string
- type DeleteLogReply
- func (*DeleteLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLogReply) GetTotal() uint32
- func (*DeleteLogReply) ProtoMessage()
- func (x *DeleteLogReply) ProtoReflect() protoreflect.Message
- func (x *DeleteLogReply) Reset()
- func (x *DeleteLogReply) String() string
- func (m *DeleteLogReply) Validate() error
- func (m *DeleteLogReply) ValidateAll() error
- type DeleteLogReplyMultiError
- type DeleteLogReplyValidationError
- func (e DeleteLogReplyValidationError) Cause() error
- func (e DeleteLogReplyValidationError) Error() string
- func (e DeleteLogReplyValidationError) ErrorName() string
- func (e DeleteLogReplyValidationError) Field() string
- func (e DeleteLogReplyValidationError) Key() bool
- func (e DeleteLogReplyValidationError) Reason() string
- type DeleteLogRequest
- func (*DeleteLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLogRequest) GetIds() []uint32
- func (*DeleteLogRequest) ProtoMessage()
- func (x *DeleteLogRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLogRequest) Reset()
- func (x *DeleteLogRequest) String() string
- func (m *DeleteLogRequest) Validate() error
- func (m *DeleteLogRequest) ValidateAll() error
- type DeleteLogRequestMultiError
- type DeleteLogRequestValidationError
- func (e DeleteLogRequestValidationError) Cause() error
- func (e DeleteLogRequestValidationError) Error() string
- func (e DeleteLogRequestValidationError) ErrorName() string
- func (e DeleteLogRequestValidationError) Field() string
- func (e DeleteLogRequestValidationError) Key() bool
- func (e DeleteLogRequestValidationError) Reason() string
- type GetLogReply
- func (*GetLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogReply) GetContent() string
- func (x *GetLogReply) GetEndAt() uint32
- func (x *GetLogReply) GetId() uint32
- func (x *GetLogReply) GetStartAt() uint32
- func (x *GetLogReply) GetStatus() string
- func (x *GetLogReply) GetTaskId() uint32
- func (x *GetLogReply) GetTaskSnapshot() string
- func (x *GetLogReply) GetUuid() string
- func (x *GetLogReply) GetWorkerId() uint32
- func (x *GetLogReply) GetWorkerSnapshot() string
- func (*GetLogReply) ProtoMessage()
- func (x *GetLogReply) ProtoReflect() protoreflect.Message
- func (x *GetLogReply) Reset()
- func (x *GetLogReply) String() string
- func (m *GetLogReply) Validate() error
- func (m *GetLogReply) ValidateAll() error
- type GetLogReplyMultiError
- type GetLogReplyValidationError
- func (e GetLogReplyValidationError) Cause() error
- func (e GetLogReplyValidationError) Error() string
- func (e GetLogReplyValidationError) ErrorName() string
- func (e GetLogReplyValidationError) Field() string
- func (e GetLogReplyValidationError) Key() bool
- func (e GetLogReplyValidationError) Reason() string
- type GetLogRequest
- func (*GetLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogRequest) GetId() uint32
- func (*GetLogRequest) ProtoMessage()
- func (x *GetLogRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogRequest) Reset()
- func (x *GetLogRequest) String() string
- func (m *GetLogRequest) Validate() error
- func (m *GetLogRequest) ValidateAll() error
- type GetLogRequestMultiError
- type GetLogRequestValidationError
- func (e GetLogRequestValidationError) Cause() error
- func (e GetLogRequestValidationError) Error() string
- func (e GetLogRequestValidationError) ErrorName() string
- func (e GetLogRequestValidationError) Field() string
- func (e GetLogRequestValidationError) Key() bool
- func (e GetLogRequestValidationError) Reason() string
- type ListLogReply
- func (*ListLogReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogReply) GetList() []*ListLogReply_Log
- func (x *ListLogReply) GetTotal() uint32
- func (*ListLogReply) ProtoMessage()
- func (x *ListLogReply) ProtoReflect() protoreflect.Message
- func (x *ListLogReply) Reset()
- func (x *ListLogReply) String() string
- func (m *ListLogReply) Validate() error
- func (m *ListLogReply) ValidateAll() error
- type ListLogReplyMultiError
- type ListLogReplyValidationError
- func (e ListLogReplyValidationError) Cause() error
- func (e ListLogReplyValidationError) Error() string
- func (e ListLogReplyValidationError) ErrorName() string
- func (e ListLogReplyValidationError) Field() string
- func (e ListLogReplyValidationError) Key() bool
- func (e ListLogReplyValidationError) Reason() string
- type ListLogReply_Log
- func (*ListLogReply_Log) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogReply_Log) GetEndAt() uint32
- func (x *ListLogReply_Log) GetId() uint32
- func (x *ListLogReply_Log) GetStartAt() uint32
- func (x *ListLogReply_Log) GetStatus() string
- func (x *ListLogReply_Log) GetTaskId() uint32
- func (x *ListLogReply_Log) GetUuid() string
- func (x *ListLogReply_Log) GetWorkerId() uint32
- func (*ListLogReply_Log) ProtoMessage()
- func (x *ListLogReply_Log) ProtoReflect() protoreflect.Message
- func (x *ListLogReply_Log) Reset()
- func (x *ListLogReply_Log) String() string
- func (m *ListLogReply_Log) Validate() error
- func (m *ListLogReply_Log) ValidateAll() error
- type ListLogReply_LogMultiError
- type ListLogReply_LogValidationError
- func (e ListLogReply_LogValidationError) Cause() error
- func (e ListLogReply_LogValidationError) Error() string
- func (e ListLogReply_LogValidationError) ErrorName() string
- func (e ListLogReply_LogValidationError) Field() string
- func (e ListLogReply_LogValidationError) Key() bool
- func (e ListLogReply_LogValidationError) Reason() string
- type ListLogRequest
- func (*ListLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogRequest) GetOrder() string
- func (x *ListLogRequest) GetOrderBy() string
- func (x *ListLogRequest) GetPage() uint32
- func (x *ListLogRequest) GetPageSize() uint32
- func (x *ListLogRequest) GetTaskId() uint32
- func (*ListLogRequest) ProtoMessage()
- func (x *ListLogRequest) ProtoReflect() protoreflect.Message
- func (x *ListLogRequest) Reset()
- func (x *ListLogRequest) String() string
- func (m *ListLogRequest) Validate() error
- func (m *ListLogRequest) ValidateAll() error
- type ListLogRequestMultiError
- type ListLogRequestValidationError
- func (e ListLogRequestValidationError) Cause() error
- func (e ListLogRequestValidationError) Error() string
- func (e ListLogRequestValidationError) ErrorName() string
- func (e ListLogRequestValidationError) Field() string
- func (e ListLogRequestValidationError) Key() bool
- func (e ListLogRequestValidationError) Reason() string
- type LogClient
- type LogHTTPClient
- type LogHTTPClientImpl
- func (c *LogHTTPClientImpl) DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...http.CallOption) (*DeleteLogReply, error)
- func (c *LogHTTPClientImpl) GetLog(ctx context.Context, in *GetLogRequest, opts ...http.CallOption) (*GetLogReply, error)
- func (c *LogHTTPClientImpl) ListLog(ctx context.Context, in *ListLogRequest, opts ...http.CallOption) (*ListLogReply, error)
- type LogHTTPServer
- type LogServer
- type UnimplementedLogServer
- type UnsafeLogServer
- type UpdateLogReply
- func (*UpdateLogReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateLogReply) ProtoMessage()
- func (x *UpdateLogReply) ProtoReflect() protoreflect.Message
- func (x *UpdateLogReply) Reset()
- func (x *UpdateLogReply) String() string
- func (m *UpdateLogReply) Validate() error
- func (m *UpdateLogReply) ValidateAll() error
- type UpdateLogReplyMultiError
- type UpdateLogReplyValidationError
- func (e UpdateLogReplyValidationError) Cause() error
- func (e UpdateLogReplyValidationError) Error() string
- func (e UpdateLogReplyValidationError) ErrorName() string
- func (e UpdateLogReplyValidationError) Field() string
- func (e UpdateLogReplyValidationError) Key() bool
- func (e UpdateLogReplyValidationError) Reason() string
- type UpdateLogRequest
- func (*UpdateLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLogRequest) GetContent() string
- func (x *UpdateLogRequest) GetEndAt() uint32
- func (x *UpdateLogRequest) GetId() uint32
- func (x *UpdateLogRequest) GetStartAt() uint32
- func (x *UpdateLogRequest) GetStatus() string
- func (x *UpdateLogRequest) GetTaskId() uint32
- func (x *UpdateLogRequest) GetTaskSnapshot() string
- func (x *UpdateLogRequest) GetUuid() string
- func (x *UpdateLogRequest) GetWorkerId() uint32
- func (x *UpdateLogRequest) GetWorkerSnapshot() string
- func (*UpdateLogRequest) ProtoMessage()
- func (x *UpdateLogRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLogRequest) Reset()
- func (x *UpdateLogRequest) String() string
- func (m *UpdateLogRequest) Validate() error
- func (m *UpdateLogRequest) ValidateAll() error
- type UpdateLogRequestMultiError
- type UpdateLogRequestValidationError
- func (e UpdateLogRequestValidationError) Cause() error
- func (e UpdateLogRequestValidationError) Error() string
- func (e UpdateLogRequestValidationError) ErrorName() string
- func (e UpdateLogRequestValidationError) Field() string
- func (e UpdateLogRequestValidationError) Key() bool
- func (e UpdateLogRequestValidationError) Reason() string
Constants ¶
const ( Log_GetLog_FullMethodName = "/cron.api.server.cron.log.v1.Log/GetLog" Log_ListLog_FullMethodName = "/cron.api.server.cron.log.v1.Log/ListLog" Log_DeleteLog_FullMethodName = "/cron.api.server.cron.log.v1.Log/DeleteLog" )
const OperationLogDeleteLog = "/cron.api.server.cron.log.v1.Log/DeleteLog"
const OperationLogGetLog = "/cron.api.server.cron.log.v1.Log/GetLog"
const OperationLogListLog = "/cron.api.server.cron.log.v1.Log/ListLog"
Variables ¶
var File_api_cron_server_log_cron_log_proto protoreflect.FileDescriptor
var File_api_cron_server_log_cron_log_service_proto protoreflect.FileDescriptor
var Log_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cron.api.server.cron.log.v1.Log", HandlerType: (*LogServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLog", Handler: _Log_GetLog_Handler, }, { MethodName: "ListLog", Handler: _Log_ListLog_Handler, }, { MethodName: "DeleteLog", Handler: _Log_DeleteLog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/cron/server/log/cron_log_service.proto", }
Log_ServiceDesc is the grpc.ServiceDesc for Log service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLogHTTPServer ¶
func RegisterLogHTTPServer(s *http.Server, srv LogHTTPServer)
func RegisterLogServer ¶
func RegisterLogServer(s grpc.ServiceRegistrar, srv LogServer)
Types ¶
type CreateLogReply ¶
type CreateLogReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateLogReply) Descriptor
deprecated
func (*CreateLogReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateLogReply.ProtoReflect.Descriptor instead.
func (*CreateLogReply) GetId ¶
func (x *CreateLogReply) GetId() uint32
func (*CreateLogReply) ProtoMessage ¶
func (*CreateLogReply) ProtoMessage()
func (*CreateLogReply) ProtoReflect ¶
func (x *CreateLogReply) ProtoReflect() protoreflect.Message
func (*CreateLogReply) Reset ¶
func (x *CreateLogReply) Reset()
func (*CreateLogReply) String ¶
func (x *CreateLogReply) String() string
func (*CreateLogReply) Validate ¶
func (m *CreateLogReply) Validate() error
Validate checks the field values on CreateLogReply 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 (*CreateLogReply) ValidateAll ¶
func (m *CreateLogReply) ValidateAll() error
ValidateAll checks the field values on CreateLogReply 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 CreateLogReplyMultiError, or nil if none found.
type CreateLogReplyMultiError ¶
type CreateLogReplyMultiError []error
CreateLogReplyMultiError is an error wrapping multiple validation errors returned by CreateLogReply.ValidateAll() if the designated constraints aren't met.
func (CreateLogReplyMultiError) AllErrors ¶
func (m CreateLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateLogReplyMultiError) Error ¶
func (m CreateLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateLogReplyValidationError ¶
type CreateLogReplyValidationError struct {
// contains filtered or unexported fields
}
CreateLogReplyValidationError is the validation error returned by CreateLogReply.Validate if the designated constraints aren't met.
func (CreateLogReplyValidationError) Cause ¶
func (e CreateLogReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateLogReplyValidationError) Error ¶
func (e CreateLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateLogReplyValidationError) ErrorName ¶
func (e CreateLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateLogReplyValidationError) Field ¶
func (e CreateLogReplyValidationError) Field() string
Field function returns field value.
func (CreateLogReplyValidationError) Key ¶
func (e CreateLogReplyValidationError) Key() bool
Key function returns key value.
func (CreateLogReplyValidationError) Reason ¶
func (e CreateLogReplyValidationError) Reason() string
Reason function returns reason value.
type CreateLogRequest ¶
type CreateLogRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` WorkerId uint32 `protobuf:"varint,2,opt,name=workerId,proto3" json:"workerId,omitempty"` WorkerSnapshot string `protobuf:"bytes,3,opt,name=workerSnapshot,proto3" json:"workerSnapshot,omitempty"` TaskId uint32 `protobuf:"varint,4,opt,name=taskId,proto3" json:"taskId,omitempty"` TaskSnapshot string `protobuf:"bytes,5,opt,name=taskSnapshot,proto3" json:"taskSnapshot,omitempty"` StartAt uint32 `protobuf:"varint,6,opt,name=startAt,proto3" json:"startAt,omitempty"` EndAt uint32 `protobuf:"varint,7,opt,name=endAt,proto3" json:"endAt,omitempty"` Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CreateLogRequest) Descriptor
deprecated
func (*CreateLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLogRequest.ProtoReflect.Descriptor instead.
func (*CreateLogRequest) GetContent ¶
func (x *CreateLogRequest) GetContent() string
func (*CreateLogRequest) GetEndAt ¶
func (x *CreateLogRequest) GetEndAt() uint32
func (*CreateLogRequest) GetStartAt ¶
func (x *CreateLogRequest) GetStartAt() uint32
func (*CreateLogRequest) GetStatus ¶
func (x *CreateLogRequest) GetStatus() string
func (*CreateLogRequest) GetTaskId ¶
func (x *CreateLogRequest) GetTaskId() uint32
func (*CreateLogRequest) GetTaskSnapshot ¶
func (x *CreateLogRequest) GetTaskSnapshot() string
func (*CreateLogRequest) GetUuid ¶
func (x *CreateLogRequest) GetUuid() string
func (*CreateLogRequest) GetWorkerId ¶
func (x *CreateLogRequest) GetWorkerId() uint32
func (*CreateLogRequest) GetWorkerSnapshot ¶
func (x *CreateLogRequest) GetWorkerSnapshot() string
func (*CreateLogRequest) ProtoMessage ¶
func (*CreateLogRequest) ProtoMessage()
func (*CreateLogRequest) ProtoReflect ¶
func (x *CreateLogRequest) ProtoReflect() protoreflect.Message
func (*CreateLogRequest) Reset ¶
func (x *CreateLogRequest) Reset()
func (*CreateLogRequest) String ¶
func (x *CreateLogRequest) String() string
func (*CreateLogRequest) Validate ¶
func (m *CreateLogRequest) Validate() error
Validate checks the field values on CreateLogRequest 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 (*CreateLogRequest) ValidateAll ¶
func (m *CreateLogRequest) ValidateAll() error
ValidateAll checks the field values on CreateLogRequest 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 CreateLogRequestMultiError, or nil if none found.
type CreateLogRequestMultiError ¶
type CreateLogRequestMultiError []error
CreateLogRequestMultiError is an error wrapping multiple validation errors returned by CreateLogRequest.ValidateAll() if the designated constraints aren't met.
func (CreateLogRequestMultiError) AllErrors ¶
func (m CreateLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateLogRequestMultiError) Error ¶
func (m CreateLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateLogRequestValidationError ¶
type CreateLogRequestValidationError struct {
// contains filtered or unexported fields
}
CreateLogRequestValidationError is the validation error returned by CreateLogRequest.Validate if the designated constraints aren't met.
func (CreateLogRequestValidationError) Cause ¶
func (e CreateLogRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateLogRequestValidationError) Error ¶
func (e CreateLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateLogRequestValidationError) ErrorName ¶
func (e CreateLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateLogRequestValidationError) Field ¶
func (e CreateLogRequestValidationError) Field() string
Field function returns field value.
func (CreateLogRequestValidationError) Key ¶
func (e CreateLogRequestValidationError) Key() bool
Key function returns key value.
func (CreateLogRequestValidationError) Reason ¶
func (e CreateLogRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteLogReply ¶
type DeleteLogReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*DeleteLogReply) Descriptor
deprecated
func (*DeleteLogReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLogReply.ProtoReflect.Descriptor instead.
func (*DeleteLogReply) GetTotal ¶
func (x *DeleteLogReply) GetTotal() uint32
func (*DeleteLogReply) ProtoMessage ¶
func (*DeleteLogReply) ProtoMessage()
func (*DeleteLogReply) ProtoReflect ¶
func (x *DeleteLogReply) ProtoReflect() protoreflect.Message
func (*DeleteLogReply) Reset ¶
func (x *DeleteLogReply) Reset()
func (*DeleteLogReply) String ¶
func (x *DeleteLogReply) String() string
func (*DeleteLogReply) Validate ¶
func (m *DeleteLogReply) Validate() error
Validate checks the field values on DeleteLogReply 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 (*DeleteLogReply) ValidateAll ¶
func (m *DeleteLogReply) ValidateAll() error
ValidateAll checks the field values on DeleteLogReply 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 DeleteLogReplyMultiError, or nil if none found.
type DeleteLogReplyMultiError ¶
type DeleteLogReplyMultiError []error
DeleteLogReplyMultiError is an error wrapping multiple validation errors returned by DeleteLogReply.ValidateAll() if the designated constraints aren't met.
func (DeleteLogReplyMultiError) AllErrors ¶
func (m DeleteLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteLogReplyMultiError) Error ¶
func (m DeleteLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteLogReplyValidationError ¶
type DeleteLogReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteLogReplyValidationError is the validation error returned by DeleteLogReply.Validate if the designated constraints aren't met.
func (DeleteLogReplyValidationError) Cause ¶
func (e DeleteLogReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteLogReplyValidationError) Error ¶
func (e DeleteLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteLogReplyValidationError) ErrorName ¶
func (e DeleteLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteLogReplyValidationError) Field ¶
func (e DeleteLogReplyValidationError) Field() string
Field function returns field value.
func (DeleteLogReplyValidationError) Key ¶
func (e DeleteLogReplyValidationError) Key() bool
Key function returns key value.
func (DeleteLogReplyValidationError) Reason ¶
func (e DeleteLogReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteLogRequest ¶
type DeleteLogRequest struct { Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteLogRequest) Descriptor
deprecated
func (*DeleteLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLogRequest.ProtoReflect.Descriptor instead.
func (*DeleteLogRequest) GetIds ¶
func (x *DeleteLogRequest) GetIds() []uint32
func (*DeleteLogRequest) ProtoMessage ¶
func (*DeleteLogRequest) ProtoMessage()
func (*DeleteLogRequest) ProtoReflect ¶
func (x *DeleteLogRequest) ProtoReflect() protoreflect.Message
func (*DeleteLogRequest) Reset ¶
func (x *DeleteLogRequest) Reset()
func (*DeleteLogRequest) String ¶
func (x *DeleteLogRequest) String() string
func (*DeleteLogRequest) Validate ¶
func (m *DeleteLogRequest) Validate() error
Validate checks the field values on DeleteLogRequest 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 (*DeleteLogRequest) ValidateAll ¶
func (m *DeleteLogRequest) ValidateAll() error
ValidateAll checks the field values on DeleteLogRequest 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 DeleteLogRequestMultiError, or nil if none found.
type DeleteLogRequestMultiError ¶
type DeleteLogRequestMultiError []error
DeleteLogRequestMultiError is an error wrapping multiple validation errors returned by DeleteLogRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteLogRequestMultiError) AllErrors ¶
func (m DeleteLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteLogRequestMultiError) Error ¶
func (m DeleteLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteLogRequestValidationError ¶
type DeleteLogRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteLogRequestValidationError is the validation error returned by DeleteLogRequest.Validate if the designated constraints aren't met.
func (DeleteLogRequestValidationError) Cause ¶
func (e DeleteLogRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteLogRequestValidationError) Error ¶
func (e DeleteLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteLogRequestValidationError) ErrorName ¶
func (e DeleteLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteLogRequestValidationError) Field ¶
func (e DeleteLogRequestValidationError) Field() string
Field function returns field value.
func (DeleteLogRequestValidationError) Key ¶
func (e DeleteLogRequestValidationError) Key() bool
Key function returns key value.
func (DeleteLogRequestValidationError) Reason ¶
func (e DeleteLogRequestValidationError) Reason() string
Reason function returns reason value.
type GetLogReply ¶
type GetLogReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` WorkerId uint32 `protobuf:"varint,3,opt,name=workerId,proto3" json:"workerId,omitempty"` WorkerSnapshot string `protobuf:"bytes,4,opt,name=workerSnapshot,proto3" json:"workerSnapshot,omitempty"` TaskId uint32 `protobuf:"varint,5,opt,name=taskId,proto3" json:"taskId,omitempty"` TaskSnapshot string `protobuf:"bytes,6,opt,name=taskSnapshot,proto3" json:"taskSnapshot,omitempty"` StartAt uint32 `protobuf:"varint,7,opt,name=startAt,proto3" json:"startAt,omitempty"` EndAt uint32 `protobuf:"varint,8,opt,name=endAt,proto3" json:"endAt,omitempty"` Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GetLogReply) Descriptor
deprecated
func (*GetLogReply) Descriptor() ([]byte, []int)
Deprecated: Use GetLogReply.ProtoReflect.Descriptor instead.
func (*GetLogReply) GetContent ¶
func (x *GetLogReply) GetContent() string
func (*GetLogReply) GetEndAt ¶
func (x *GetLogReply) GetEndAt() uint32
func (*GetLogReply) GetId ¶
func (x *GetLogReply) GetId() uint32
func (*GetLogReply) GetStartAt ¶
func (x *GetLogReply) GetStartAt() uint32
func (*GetLogReply) GetStatus ¶
func (x *GetLogReply) GetStatus() string
func (*GetLogReply) GetTaskId ¶
func (x *GetLogReply) GetTaskId() uint32
func (*GetLogReply) GetTaskSnapshot ¶
func (x *GetLogReply) GetTaskSnapshot() string
func (*GetLogReply) GetUuid ¶
func (x *GetLogReply) GetUuid() string
func (*GetLogReply) GetWorkerId ¶
func (x *GetLogReply) GetWorkerId() uint32
func (*GetLogReply) GetWorkerSnapshot ¶
func (x *GetLogReply) GetWorkerSnapshot() string
func (*GetLogReply) ProtoMessage ¶
func (*GetLogReply) ProtoMessage()
func (*GetLogReply) ProtoReflect ¶
func (x *GetLogReply) ProtoReflect() protoreflect.Message
func (*GetLogReply) Reset ¶
func (x *GetLogReply) Reset()
func (*GetLogReply) String ¶
func (x *GetLogReply) String() string
func (*GetLogReply) Validate ¶
func (m *GetLogReply) Validate() error
Validate checks the field values on GetLogReply 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 (*GetLogReply) ValidateAll ¶
func (m *GetLogReply) ValidateAll() error
ValidateAll checks the field values on GetLogReply 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 GetLogReplyMultiError, or nil if none found.
type GetLogReplyMultiError ¶
type GetLogReplyMultiError []error
GetLogReplyMultiError is an error wrapping multiple validation errors returned by GetLogReply.ValidateAll() if the designated constraints aren't met.
func (GetLogReplyMultiError) AllErrors ¶
func (m GetLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLogReplyMultiError) Error ¶
func (m GetLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLogReplyValidationError ¶
type GetLogReplyValidationError struct {
// contains filtered or unexported fields
}
GetLogReplyValidationError is the validation error returned by GetLogReply.Validate if the designated constraints aren't met.
func (GetLogReplyValidationError) Cause ¶
func (e GetLogReplyValidationError) Cause() error
Cause function returns cause value.
func (GetLogReplyValidationError) Error ¶
func (e GetLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetLogReplyValidationError) ErrorName ¶
func (e GetLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetLogReplyValidationError) Field ¶
func (e GetLogReplyValidationError) Field() string
Field function returns field value.
func (GetLogReplyValidationError) Key ¶
func (e GetLogReplyValidationError) Key() bool
Key function returns key value.
func (GetLogReplyValidationError) Reason ¶
func (e GetLogReplyValidationError) Reason() string
Reason function returns reason value.
type GetLogRequest ¶
type GetLogRequest struct { Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetLogRequest) Descriptor
deprecated
func (*GetLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogRequest.ProtoReflect.Descriptor instead.
func (*GetLogRequest) GetId ¶
func (x *GetLogRequest) GetId() uint32
func (*GetLogRequest) ProtoMessage ¶
func (*GetLogRequest) ProtoMessage()
func (*GetLogRequest) ProtoReflect ¶
func (x *GetLogRequest) ProtoReflect() protoreflect.Message
func (*GetLogRequest) Reset ¶
func (x *GetLogRequest) Reset()
func (*GetLogRequest) String ¶
func (x *GetLogRequest) String() string
func (*GetLogRequest) Validate ¶
func (m *GetLogRequest) Validate() error
Validate checks the field values on GetLogRequest 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 (*GetLogRequest) ValidateAll ¶
func (m *GetLogRequest) ValidateAll() error
ValidateAll checks the field values on GetLogRequest 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 GetLogRequestMultiError, or nil if none found.
type GetLogRequestMultiError ¶
type GetLogRequestMultiError []error
GetLogRequestMultiError is an error wrapping multiple validation errors returned by GetLogRequest.ValidateAll() if the designated constraints aren't met.
func (GetLogRequestMultiError) AllErrors ¶
func (m GetLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLogRequestMultiError) Error ¶
func (m GetLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLogRequestValidationError ¶
type GetLogRequestValidationError struct {
// contains filtered or unexported fields
}
GetLogRequestValidationError is the validation error returned by GetLogRequest.Validate if the designated constraints aren't met.
func (GetLogRequestValidationError) Cause ¶
func (e GetLogRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLogRequestValidationError) Error ¶
func (e GetLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLogRequestValidationError) ErrorName ¶
func (e GetLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLogRequestValidationError) Field ¶
func (e GetLogRequestValidationError) Field() string
Field function returns field value.
func (GetLogRequestValidationError) Key ¶
func (e GetLogRequestValidationError) Key() bool
Key function returns key value.
func (GetLogRequestValidationError) Reason ¶
func (e GetLogRequestValidationError) Reason() string
Reason function returns reason value.
type ListLogReply ¶
type ListLogReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ListLogReply_Log `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListLogReply) Descriptor
deprecated
func (*ListLogReply) Descriptor() ([]byte, []int)
Deprecated: Use ListLogReply.ProtoReflect.Descriptor instead.
func (*ListLogReply) GetList ¶
func (x *ListLogReply) GetList() []*ListLogReply_Log
func (*ListLogReply) GetTotal ¶
func (x *ListLogReply) GetTotal() uint32
func (*ListLogReply) ProtoMessage ¶
func (*ListLogReply) ProtoMessage()
func (*ListLogReply) ProtoReflect ¶
func (x *ListLogReply) ProtoReflect() protoreflect.Message
func (*ListLogReply) Reset ¶
func (x *ListLogReply) Reset()
func (*ListLogReply) String ¶
func (x *ListLogReply) String() string
func (*ListLogReply) Validate ¶
func (m *ListLogReply) Validate() error
Validate checks the field values on ListLogReply 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 (*ListLogReply) ValidateAll ¶
func (m *ListLogReply) ValidateAll() error
ValidateAll checks the field values on ListLogReply 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 ListLogReplyMultiError, or nil if none found.
type ListLogReplyMultiError ¶
type ListLogReplyMultiError []error
ListLogReplyMultiError is an error wrapping multiple validation errors returned by ListLogReply.ValidateAll() if the designated constraints aren't met.
func (ListLogReplyMultiError) AllErrors ¶
func (m ListLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLogReplyMultiError) Error ¶
func (m ListLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLogReplyValidationError ¶
type ListLogReplyValidationError struct {
// contains filtered or unexported fields
}
ListLogReplyValidationError is the validation error returned by ListLogReply.Validate if the designated constraints aren't met.
func (ListLogReplyValidationError) Cause ¶
func (e ListLogReplyValidationError) Cause() error
Cause function returns cause value.
func (ListLogReplyValidationError) Error ¶
func (e ListLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListLogReplyValidationError) ErrorName ¶
func (e ListLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListLogReplyValidationError) Field ¶
func (e ListLogReplyValidationError) Field() string
Field function returns field value.
func (ListLogReplyValidationError) Key ¶
func (e ListLogReplyValidationError) Key() bool
Key function returns key value.
func (ListLogReplyValidationError) Reason ¶
func (e ListLogReplyValidationError) Reason() string
Reason function returns reason value.
type ListLogReply_Log ¶
type ListLogReply_Log struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` WorkerId uint32 `protobuf:"varint,3,opt,name=workerId,proto3" json:"workerId,omitempty"` TaskId uint32 `protobuf:"varint,4,opt,name=taskId,proto3" json:"taskId,omitempty"` StartAt uint32 `protobuf:"varint,5,opt,name=startAt,proto3" json:"startAt,omitempty"` EndAt uint32 `protobuf:"varint,6,opt,name=endAt,proto3" json:"endAt,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListLogReply_Log) Descriptor
deprecated
func (*ListLogReply_Log) Descriptor() ([]byte, []int)
Deprecated: Use ListLogReply_Log.ProtoReflect.Descriptor instead.
func (*ListLogReply_Log) GetEndAt ¶
func (x *ListLogReply_Log) GetEndAt() uint32
func (*ListLogReply_Log) GetId ¶
func (x *ListLogReply_Log) GetId() uint32
func (*ListLogReply_Log) GetStartAt ¶
func (x *ListLogReply_Log) GetStartAt() uint32
func (*ListLogReply_Log) GetStatus ¶
func (x *ListLogReply_Log) GetStatus() string
func (*ListLogReply_Log) GetTaskId ¶
func (x *ListLogReply_Log) GetTaskId() uint32
func (*ListLogReply_Log) GetUuid ¶
func (x *ListLogReply_Log) GetUuid() string
func (*ListLogReply_Log) GetWorkerId ¶
func (x *ListLogReply_Log) GetWorkerId() uint32
func (*ListLogReply_Log) ProtoMessage ¶
func (*ListLogReply_Log) ProtoMessage()
func (*ListLogReply_Log) ProtoReflect ¶
func (x *ListLogReply_Log) ProtoReflect() protoreflect.Message
func (*ListLogReply_Log) Reset ¶
func (x *ListLogReply_Log) Reset()
func (*ListLogReply_Log) String ¶
func (x *ListLogReply_Log) String() string
func (*ListLogReply_Log) Validate ¶
func (m *ListLogReply_Log) Validate() error
Validate checks the field values on ListLogReply_Log 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 (*ListLogReply_Log) ValidateAll ¶
func (m *ListLogReply_Log) ValidateAll() error
ValidateAll checks the field values on ListLogReply_Log 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 ListLogReply_LogMultiError, or nil if none found.
type ListLogReply_LogMultiError ¶
type ListLogReply_LogMultiError []error
ListLogReply_LogMultiError is an error wrapping multiple validation errors returned by ListLogReply_Log.ValidateAll() if the designated constraints aren't met.
func (ListLogReply_LogMultiError) AllErrors ¶
func (m ListLogReply_LogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLogReply_LogMultiError) Error ¶
func (m ListLogReply_LogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLogReply_LogValidationError ¶
type ListLogReply_LogValidationError struct {
// contains filtered or unexported fields
}
ListLogReply_LogValidationError is the validation error returned by ListLogReply_Log.Validate if the designated constraints aren't met.
func (ListLogReply_LogValidationError) Cause ¶
func (e ListLogReply_LogValidationError) Cause() error
Cause function returns cause value.
func (ListLogReply_LogValidationError) Error ¶
func (e ListLogReply_LogValidationError) Error() string
Error satisfies the builtin error interface
func (ListLogReply_LogValidationError) ErrorName ¶
func (e ListLogReply_LogValidationError) ErrorName() string
ErrorName returns error name.
func (ListLogReply_LogValidationError) Field ¶
func (e ListLogReply_LogValidationError) Field() string
Field function returns field value.
func (ListLogReply_LogValidationError) Key ¶
func (e ListLogReply_LogValidationError) Key() bool
Key function returns key value.
func (ListLogReply_LogValidationError) Reason ¶
func (e ListLogReply_LogValidationError) Reason() string
Reason function returns reason value.
type ListLogRequest ¶
type ListLogRequest 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"` TaskId uint32 `protobuf:"varint,3,opt,name=taskId,proto3" json:"taskId,omitempty"` Order *string `protobuf:"bytes,4,opt,name=order,proto3,oneof" json:"order,omitempty"` OrderBy *string `protobuf:"bytes,5,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"` // contains filtered or unexported fields }
func (*ListLogRequest) Descriptor
deprecated
func (*ListLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLogRequest.ProtoReflect.Descriptor instead.
func (*ListLogRequest) GetOrder ¶
func (x *ListLogRequest) GetOrder() string
func (*ListLogRequest) GetOrderBy ¶
func (x *ListLogRequest) GetOrderBy() string
func (*ListLogRequest) GetPage ¶
func (x *ListLogRequest) GetPage() uint32
func (*ListLogRequest) GetPageSize ¶
func (x *ListLogRequest) GetPageSize() uint32
func (*ListLogRequest) GetTaskId ¶
func (x *ListLogRequest) GetTaskId() uint32
func (*ListLogRequest) ProtoMessage ¶
func (*ListLogRequest) ProtoMessage()
func (*ListLogRequest) ProtoReflect ¶
func (x *ListLogRequest) ProtoReflect() protoreflect.Message
func (*ListLogRequest) Reset ¶
func (x *ListLogRequest) Reset()
func (*ListLogRequest) String ¶
func (x *ListLogRequest) String() string
func (*ListLogRequest) Validate ¶
func (m *ListLogRequest) Validate() error
Validate checks the field values on ListLogRequest 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 (*ListLogRequest) ValidateAll ¶
func (m *ListLogRequest) ValidateAll() error
ValidateAll checks the field values on ListLogRequest 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 ListLogRequestMultiError, or nil if none found.
type ListLogRequestMultiError ¶
type ListLogRequestMultiError []error
ListLogRequestMultiError is an error wrapping multiple validation errors returned by ListLogRequest.ValidateAll() if the designated constraints aren't met.
func (ListLogRequestMultiError) AllErrors ¶
func (m ListLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListLogRequestMultiError) Error ¶
func (m ListLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListLogRequestValidationError ¶
type ListLogRequestValidationError struct {
// contains filtered or unexported fields
}
ListLogRequestValidationError is the validation error returned by ListLogRequest.Validate if the designated constraints aren't met.
func (ListLogRequestValidationError) Cause ¶
func (e ListLogRequestValidationError) Cause() error
Cause function returns cause value.
func (ListLogRequestValidationError) Error ¶
func (e ListLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListLogRequestValidationError) ErrorName ¶
func (e ListLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListLogRequestValidationError) Field ¶
func (e ListLogRequestValidationError) Field() string
Field function returns field value.
func (ListLogRequestValidationError) Key ¶
func (e ListLogRequestValidationError) Key() bool
Key function returns key value.
func (ListLogRequestValidationError) Reason ¶
func (e ListLogRequestValidationError) Reason() string
Reason function returns reason value.
type LogClient ¶
type LogClient interface { // GetLog 获取指定的日志信息 GetLog(ctx context.Context, in *GetLogRequest, opts ...grpc.CallOption) (*GetLogReply, error) // ListLog 获取日志信息列表 ListLog(ctx context.Context, in *ListLogRequest, opts ...grpc.CallOption) (*ListLogReply, error) // DeleteLog 删除日志信息 DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...grpc.CallOption) (*DeleteLogReply, error) }
LogClient is the client API for Log 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 NewLogClient ¶
func NewLogClient(cc grpc.ClientConnInterface) LogClient
type LogHTTPClient ¶
type LogHTTPClient interface { DeleteLog(ctx context.Context, req *DeleteLogRequest, opts ...http.CallOption) (rsp *DeleteLogReply, err error) GetLog(ctx context.Context, req *GetLogRequest, opts ...http.CallOption) (rsp *GetLogReply, err error) ListLog(ctx context.Context, req *ListLogRequest, opts ...http.CallOption) (rsp *ListLogReply, err error) }
func NewLogHTTPClient ¶
func NewLogHTTPClient(client *http.Client) LogHTTPClient
type LogHTTPClientImpl ¶
type LogHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*LogHTTPClientImpl) DeleteLog ¶
func (c *LogHTTPClientImpl) DeleteLog(ctx context.Context, in *DeleteLogRequest, opts ...http.CallOption) (*DeleteLogReply, error)
func (*LogHTTPClientImpl) GetLog ¶
func (c *LogHTTPClientImpl) GetLog(ctx context.Context, in *GetLogRequest, opts ...http.CallOption) (*GetLogReply, error)
func (*LogHTTPClientImpl) ListLog ¶
func (c *LogHTTPClientImpl) ListLog(ctx context.Context, in *ListLogRequest, opts ...http.CallOption) (*ListLogReply, error)
type LogHTTPServer ¶
type LogHTTPServer interface { // DeleteLog DeleteLog 删除日志信息 DeleteLog(context.Context, *DeleteLogRequest) (*DeleteLogReply, error) // GetLog GetLog 获取指定的日志信息 GetLog(context.Context, *GetLogRequest) (*GetLogReply, error) // ListLog ListLog 获取日志信息列表 ListLog(context.Context, *ListLogRequest) (*ListLogReply, error) }
type LogServer ¶
type LogServer interface { // GetLog 获取指定的日志信息 GetLog(context.Context, *GetLogRequest) (*GetLogReply, error) // ListLog 获取日志信息列表 ListLog(context.Context, *ListLogRequest) (*ListLogReply, error) // DeleteLog 删除日志信息 DeleteLog(context.Context, *DeleteLogRequest) (*DeleteLogReply, error) // contains filtered or unexported methods }
LogServer is the server API for Log service. All implementations must embed UnimplementedLogServer for forward compatibility
type UnimplementedLogServer ¶
type UnimplementedLogServer struct { }
UnimplementedLogServer must be embedded to have forward compatible implementations.
func (UnimplementedLogServer) DeleteLog ¶
func (UnimplementedLogServer) DeleteLog(context.Context, *DeleteLogRequest) (*DeleteLogReply, error)
func (UnimplementedLogServer) GetLog ¶
func (UnimplementedLogServer) GetLog(context.Context, *GetLogRequest) (*GetLogReply, error)
func (UnimplementedLogServer) ListLog ¶
func (UnimplementedLogServer) ListLog(context.Context, *ListLogRequest) (*ListLogReply, error)
type UnsafeLogServer ¶
type UnsafeLogServer interface {
// contains filtered or unexported methods
}
UnsafeLogServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogServer will result in compilation errors.
type UpdateLogReply ¶
type UpdateLogReply struct {
// contains filtered or unexported fields
}
func (*UpdateLogReply) Descriptor
deprecated
func (*UpdateLogReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLogReply.ProtoReflect.Descriptor instead.
func (*UpdateLogReply) ProtoMessage ¶
func (*UpdateLogReply) ProtoMessage()
func (*UpdateLogReply) ProtoReflect ¶
func (x *UpdateLogReply) ProtoReflect() protoreflect.Message
func (*UpdateLogReply) Reset ¶
func (x *UpdateLogReply) Reset()
func (*UpdateLogReply) String ¶
func (x *UpdateLogReply) String() string
func (*UpdateLogReply) Validate ¶
func (m *UpdateLogReply) Validate() error
Validate checks the field values on UpdateLogReply 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 (*UpdateLogReply) ValidateAll ¶
func (m *UpdateLogReply) ValidateAll() error
ValidateAll checks the field values on UpdateLogReply 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 UpdateLogReplyMultiError, or nil if none found.
type UpdateLogReplyMultiError ¶
type UpdateLogReplyMultiError []error
UpdateLogReplyMultiError is an error wrapping multiple validation errors returned by UpdateLogReply.ValidateAll() if the designated constraints aren't met.
func (UpdateLogReplyMultiError) AllErrors ¶
func (m UpdateLogReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateLogReplyMultiError) Error ¶
func (m UpdateLogReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateLogReplyValidationError ¶
type UpdateLogReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateLogReplyValidationError is the validation error returned by UpdateLogReply.Validate if the designated constraints aren't met.
func (UpdateLogReplyValidationError) Cause ¶
func (e UpdateLogReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateLogReplyValidationError) Error ¶
func (e UpdateLogReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateLogReplyValidationError) ErrorName ¶
func (e UpdateLogReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateLogReplyValidationError) Field ¶
func (e UpdateLogReplyValidationError) Field() string
Field function returns field value.
func (UpdateLogReplyValidationError) Key ¶
func (e UpdateLogReplyValidationError) Key() bool
Key function returns key value.
func (UpdateLogReplyValidationError) Reason ¶
func (e UpdateLogReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateLogRequest ¶
type UpdateLogRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` WorkerId uint32 `protobuf:"varint,3,opt,name=workerId,proto3" json:"workerId,omitempty"` WorkerSnapshot string `protobuf:"bytes,4,opt,name=workerSnapshot,proto3" json:"workerSnapshot,omitempty"` TaskId uint32 `protobuf:"varint,5,opt,name=taskId,proto3" json:"taskId,omitempty"` TaskSnapshot string `protobuf:"bytes,6,opt,name=taskSnapshot,proto3" json:"taskSnapshot,omitempty"` StartAt uint32 `protobuf:"varint,7,opt,name=startAt,proto3" json:"startAt,omitempty"` EndAt uint32 `protobuf:"varint,8,opt,name=endAt,proto3" json:"endAt,omitempty"` Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateLogRequest) Descriptor
deprecated
func (*UpdateLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLogRequest.ProtoReflect.Descriptor instead.
func (*UpdateLogRequest) GetContent ¶
func (x *UpdateLogRequest) GetContent() string
func (*UpdateLogRequest) GetEndAt ¶
func (x *UpdateLogRequest) GetEndAt() uint32
func (*UpdateLogRequest) GetId ¶
func (x *UpdateLogRequest) GetId() uint32
func (*UpdateLogRequest) GetStartAt ¶
func (x *UpdateLogRequest) GetStartAt() uint32
func (*UpdateLogRequest) GetStatus ¶
func (x *UpdateLogRequest) GetStatus() string
func (*UpdateLogRequest) GetTaskId ¶
func (x *UpdateLogRequest) GetTaskId() uint32
func (*UpdateLogRequest) GetTaskSnapshot ¶
func (x *UpdateLogRequest) GetTaskSnapshot() string
func (*UpdateLogRequest) GetUuid ¶
func (x *UpdateLogRequest) GetUuid() string
func (*UpdateLogRequest) GetWorkerId ¶
func (x *UpdateLogRequest) GetWorkerId() uint32
func (*UpdateLogRequest) GetWorkerSnapshot ¶
func (x *UpdateLogRequest) GetWorkerSnapshot() string
func (*UpdateLogRequest) ProtoMessage ¶
func (*UpdateLogRequest) ProtoMessage()
func (*UpdateLogRequest) ProtoReflect ¶
func (x *UpdateLogRequest) ProtoReflect() protoreflect.Message
func (*UpdateLogRequest) Reset ¶
func (x *UpdateLogRequest) Reset()
func (*UpdateLogRequest) String ¶
func (x *UpdateLogRequest) String() string
func (*UpdateLogRequest) Validate ¶
func (m *UpdateLogRequest) Validate() error
Validate checks the field values on UpdateLogRequest 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 (*UpdateLogRequest) ValidateAll ¶
func (m *UpdateLogRequest) ValidateAll() error
ValidateAll checks the field values on UpdateLogRequest 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 UpdateLogRequestMultiError, or nil if none found.
type UpdateLogRequestMultiError ¶
type UpdateLogRequestMultiError []error
UpdateLogRequestMultiError is an error wrapping multiple validation errors returned by UpdateLogRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateLogRequestMultiError) AllErrors ¶
func (m UpdateLogRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateLogRequestMultiError) Error ¶
func (m UpdateLogRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateLogRequestValidationError ¶
type UpdateLogRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateLogRequestValidationError is the validation error returned by UpdateLogRequest.Validate if the designated constraints aren't met.
func (UpdateLogRequestValidationError) Cause ¶
func (e UpdateLogRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateLogRequestValidationError) Error ¶
func (e UpdateLogRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateLogRequestValidationError) ErrorName ¶
func (e UpdateLogRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateLogRequestValidationError) Field ¶
func (e UpdateLogRequestValidationError) Field() string
Field function returns field value.
func (UpdateLogRequestValidationError) Key ¶
func (e UpdateLogRequestValidationError) Key() bool
Key function returns key value.
func (UpdateLogRequestValidationError) Reason ¶
func (e UpdateLogRequestValidationError) Reason() string
Reason function returns reason value.