v1

package
v1.0.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	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"
)
View Source
const OperationLogDeleteLog = "/cron.api.server.cron.log.v1.Log/DeleteLog"
View Source
const OperationLogGetLog = "/cron.api.server.cron.log.v1.Log/GetLog"
View Source
const OperationLogListLog = "/cron.api.server.cron.log.v1.Log/ListLog"

Variables

View Source
var File_api_cron_server_log_cron_log_proto protoreflect.FileDescriptor
View Source
var File_api_cron_server_log_cron_log_service_proto protoreflect.FileDescriptor
View Source
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

Cause function returns cause value.

func (CreateLogReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateLogReplyValidationError) ErrorName

func (e CreateLogReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateLogReplyValidationError) Field

Field function returns field value.

func (CreateLogReplyValidationError) Key

Key function returns key value.

func (CreateLogReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateLogRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateLogRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateLogRequestValidationError) Field

Field function returns field value.

func (CreateLogRequestValidationError) Key

Key function returns key value.

func (CreateLogRequestValidationError) Reason

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

Cause function returns cause value.

func (DeleteLogReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteLogReplyValidationError) ErrorName

func (e DeleteLogReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteLogReplyValidationError) Field

Field function returns field value.

func (DeleteLogReplyValidationError) Key

Key function returns key value.

func (DeleteLogReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteLogRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteLogRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteLogRequestValidationError) Field

Field function returns field value.

func (DeleteLogRequestValidationError) Key

Key function returns key value.

func (DeleteLogRequestValidationError) Reason

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

Cause function returns cause value.

func (GetLogReplyValidationError) Error

Error satisfies the builtin error interface

func (GetLogReplyValidationError) ErrorName

func (e GetLogReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetLogReplyValidationError) Field

Field function returns field value.

func (GetLogReplyValidationError) Key

Key function returns key value.

func (GetLogReplyValidationError) Reason

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

Cause function returns cause value.

func (GetLogRequestValidationError) Error

Error satisfies the builtin error interface

func (GetLogRequestValidationError) ErrorName

func (e GetLogRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetLogRequestValidationError) Field

Field function returns field value.

func (GetLogRequestValidationError) Key

Key function returns key value.

func (GetLogRequestValidationError) Reason

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

Cause function returns cause value.

func (ListLogReplyValidationError) Error

Error satisfies the builtin error interface

func (ListLogReplyValidationError) ErrorName

func (e ListLogReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListLogReplyValidationError) Field

Field function returns field value.

func (ListLogReplyValidationError) Key

Key function returns key value.

func (ListLogReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListLogReply_LogValidationError) Error

Error satisfies the builtin error interface

func (ListLogReply_LogValidationError) ErrorName

ErrorName returns error name.

func (ListLogReply_LogValidationError) Field

Field function returns field value.

func (ListLogReply_LogValidationError) Key

Key function returns key value.

func (ListLogReply_LogValidationError) Reason

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

Cause function returns cause value.

func (ListLogRequestValidationError) Error

Error satisfies the builtin error interface

func (ListLogRequestValidationError) ErrorName

func (e ListLogRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListLogRequestValidationError) Field

Field function returns field value.

func (ListLogRequestValidationError) Key

Key function returns key value.

func (ListLogRequestValidationError) Reason

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 (*LogHTTPClientImpl) GetLog

func (*LogHTTPClientImpl) ListLog

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

func (UnimplementedLogServer) ListLog

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

Cause function returns cause value.

func (UpdateLogReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateLogReplyValidationError) ErrorName

func (e UpdateLogReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateLogReplyValidationError) Field

Field function returns field value.

func (UpdateLogReplyValidationError) Key

Key function returns key value.

func (UpdateLogReplyValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateLogRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateLogRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateLogRequestValidationError) Field

Field function returns field value.

func (UpdateLogRequestValidationError) Key

Key function returns key value.

func (UpdateLogRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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