v1

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Worker_GetWorkerGroup_FullMethodName     = "/cron.api.server.cron.worker.v1.Worker/GetWorkerGroup"
	Worker_ListWorkerGroup_FullMethodName    = "/cron.api.server.cron.worker.v1.Worker/ListWorkerGroup"
	Worker_CreateWorkerGroup_FullMethodName  = "/cron.api.server.cron.worker.v1.Worker/CreateWorkerGroup"
	Worker_UpdateWorkerGroup_FullMethodName  = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerGroup"
	Worker_DeleteWorkerGroup_FullMethodName  = "/cron.api.server.cron.worker.v1.Worker/DeleteWorkerGroup"
	Worker_GetWorker_FullMethodName          = "/cron.api.server.cron.worker.v1.Worker/GetWorker"
	Worker_ListWorker_FullMethodName         = "/cron.api.server.cron.worker.v1.Worker/ListWorker"
	Worker_CreateWorker_FullMethodName       = "/cron.api.server.cron.worker.v1.Worker/CreateWorker"
	Worker_UpdateWorker_FullMethodName       = "/cron.api.server.cron.worker.v1.Worker/UpdateWorker"
	Worker_UpdateWorkerStatus_FullMethodName = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerStatus"
	Worker_DeleteWorker_FullMethodName       = "/cron.api.server.cron.worker.v1.Worker/DeleteWorker"
)
View Source
const OperationWorkerCreateWorker = "/cron.api.server.cron.worker.v1.Worker/CreateWorker"
View Source
const OperationWorkerCreateWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/CreateWorkerGroup"
View Source
const OperationWorkerDeleteWorker = "/cron.api.server.cron.worker.v1.Worker/DeleteWorker"
View Source
const OperationWorkerDeleteWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/DeleteWorkerGroup"
View Source
const OperationWorkerGetWorker = "/cron.api.server.cron.worker.v1.Worker/GetWorker"
View Source
const OperationWorkerGetWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/GetWorkerGroup"
View Source
const OperationWorkerListWorker = "/cron.api.server.cron.worker.v1.Worker/ListWorker"
View Source
const OperationWorkerListWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/ListWorkerGroup"
View Source
const OperationWorkerUpdateWorker = "/cron.api.server.cron.worker.v1.Worker/UpdateWorker"
View Source
const OperationWorkerUpdateWorkerGroup = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerGroup"
View Source
const OperationWorkerUpdateWorkerStatus = "/cron.api.server.cron.worker.v1.Worker/UpdateWorkerStatus"

Variables

View Source
var File_api_cron_server_worker_cron_worker_group_proto protoreflect.FileDescriptor
View Source
var File_api_cron_server_worker_cron_worker_proto protoreflect.FileDescriptor
View Source
var File_api_cron_server_worker_cron_worker_service_proto protoreflect.FileDescriptor
View Source
var Worker_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cron.api.server.cron.worker.v1.Worker",
	HandlerType: (*WorkerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetWorkerGroup",
			Handler:    _Worker_GetWorkerGroup_Handler,
		},
		{
			MethodName: "ListWorkerGroup",
			Handler:    _Worker_ListWorkerGroup_Handler,
		},
		{
			MethodName: "CreateWorkerGroup",
			Handler:    _Worker_CreateWorkerGroup_Handler,
		},
		{
			MethodName: "UpdateWorkerGroup",
			Handler:    _Worker_UpdateWorkerGroup_Handler,
		},
		{
			MethodName: "DeleteWorkerGroup",
			Handler:    _Worker_DeleteWorkerGroup_Handler,
		},
		{
			MethodName: "GetWorker",
			Handler:    _Worker_GetWorker_Handler,
		},
		{
			MethodName: "ListWorker",
			Handler:    _Worker_ListWorker_Handler,
		},
		{
			MethodName: "CreateWorker",
			Handler:    _Worker_CreateWorker_Handler,
		},
		{
			MethodName: "UpdateWorker",
			Handler:    _Worker_UpdateWorker_Handler,
		},
		{
			MethodName: "UpdateWorkerStatus",
			Handler:    _Worker_UpdateWorkerStatus_Handler,
		},
		{
			MethodName: "DeleteWorker",
			Handler:    _Worker_DeleteWorker_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/cron/server/worker/cron_worker_service.proto",
}

Worker_ServiceDesc is the grpc.ServiceDesc for Worker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterWorkerHTTPServer

func RegisterWorkerHTTPServer(s *http.Server, srv WorkerHTTPServer)

func RegisterWorkerServer

func RegisterWorkerServer(s grpc.ServiceRegistrar, srv WorkerServer)

Types

type CreateWorkerGroupReply

type CreateWorkerGroupReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWorkerGroupReply) Descriptor deprecated

func (*CreateWorkerGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkerGroupReply.ProtoReflect.Descriptor instead.

func (*CreateWorkerGroupReply) GetId

func (x *CreateWorkerGroupReply) GetId() uint32

func (*CreateWorkerGroupReply) ProtoMessage

func (*CreateWorkerGroupReply) ProtoMessage()

func (*CreateWorkerGroupReply) ProtoReflect

func (x *CreateWorkerGroupReply) ProtoReflect() protoreflect.Message

func (*CreateWorkerGroupReply) Reset

func (x *CreateWorkerGroupReply) Reset()

func (*CreateWorkerGroupReply) String

func (x *CreateWorkerGroupReply) String() string

func (*CreateWorkerGroupReply) Validate

func (m *CreateWorkerGroupReply) Validate() error

Validate checks the field values on CreateWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateWorkerGroupReply) ValidateAll

func (m *CreateWorkerGroupReply) ValidateAll() error

ValidateAll checks the field values on CreateWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWorkerGroupReplyMultiError, or nil if none found.

type CreateWorkerGroupReplyMultiError

type CreateWorkerGroupReplyMultiError []error

CreateWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by CreateWorkerGroupReply.ValidateAll() if the designated constraints aren't met.

func (CreateWorkerGroupReplyMultiError) AllErrors

func (m CreateWorkerGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateWorkerGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateWorkerGroupReplyValidationError

type CreateWorkerGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateWorkerGroupReplyValidationError is the validation error returned by CreateWorkerGroupReply.Validate if the designated constraints aren't met.

func (CreateWorkerGroupReplyValidationError) Cause

Cause function returns cause value.

func (CreateWorkerGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateWorkerGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateWorkerGroupReplyValidationError) Field

Field function returns field value.

func (CreateWorkerGroupReplyValidationError) Key

Key function returns key value.

func (CreateWorkerGroupReplyValidationError) Reason

Reason function returns reason value.

type CreateWorkerGroupRequest

type CreateWorkerGroupRequest struct {
	Name        string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWorkerGroupRequest) Descriptor deprecated

func (*CreateWorkerGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkerGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkerGroupRequest) GetDescription

func (x *CreateWorkerGroupRequest) GetDescription() string

func (*CreateWorkerGroupRequest) GetName

func (x *CreateWorkerGroupRequest) GetName() string

func (*CreateWorkerGroupRequest) ProtoMessage

func (*CreateWorkerGroupRequest) ProtoMessage()

func (*CreateWorkerGroupRequest) ProtoReflect

func (x *CreateWorkerGroupRequest) ProtoReflect() protoreflect.Message

func (*CreateWorkerGroupRequest) Reset

func (x *CreateWorkerGroupRequest) Reset()

func (*CreateWorkerGroupRequest) String

func (x *CreateWorkerGroupRequest) String() string

func (*CreateWorkerGroupRequest) Validate

func (m *CreateWorkerGroupRequest) Validate() error

Validate checks the field values on CreateWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateWorkerGroupRequest) ValidateAll

func (m *CreateWorkerGroupRequest) ValidateAll() error

ValidateAll checks the field values on CreateWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWorkerGroupRequestMultiError, or nil if none found.

type CreateWorkerGroupRequestMultiError

type CreateWorkerGroupRequestMultiError []error

CreateWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.

func (CreateWorkerGroupRequestMultiError) AllErrors

func (m CreateWorkerGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateWorkerGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateWorkerGroupRequestValidationError

type CreateWorkerGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateWorkerGroupRequestValidationError is the validation error returned by CreateWorkerGroupRequest.Validate if the designated constraints aren't met.

func (CreateWorkerGroupRequestValidationError) Cause

Cause function returns cause value.

func (CreateWorkerGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateWorkerGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateWorkerGroupRequestValidationError) Field

Field function returns field value.

func (CreateWorkerGroupRequestValidationError) Key

Key function returns key value.

func (CreateWorkerGroupRequestValidationError) Reason

Reason function returns reason value.

type CreateWorkerReply

type CreateWorkerReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWorkerReply) Descriptor deprecated

func (*CreateWorkerReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkerReply.ProtoReflect.Descriptor instead.

func (*CreateWorkerReply) GetId

func (x *CreateWorkerReply) GetId() uint32

func (*CreateWorkerReply) ProtoMessage

func (*CreateWorkerReply) ProtoMessage()

func (*CreateWorkerReply) ProtoReflect

func (x *CreateWorkerReply) ProtoReflect() protoreflect.Message

func (*CreateWorkerReply) Reset

func (x *CreateWorkerReply) Reset()

func (*CreateWorkerReply) String

func (x *CreateWorkerReply) String() string

func (*CreateWorkerReply) Validate

func (m *CreateWorkerReply) Validate() error

Validate checks the field values on CreateWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateWorkerReply) ValidateAll

func (m *CreateWorkerReply) ValidateAll() error

ValidateAll checks the field values on CreateWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWorkerReplyMultiError, or nil if none found.

type CreateWorkerReplyMultiError

type CreateWorkerReplyMultiError []error

CreateWorkerReplyMultiError is an error wrapping multiple validation errors returned by CreateWorkerReply.ValidateAll() if the designated constraints aren't met.

func (CreateWorkerReplyMultiError) AllErrors

func (m CreateWorkerReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateWorkerReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateWorkerReplyValidationError

type CreateWorkerReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateWorkerReplyValidationError is the validation error returned by CreateWorkerReply.Validate if the designated constraints aren't met.

func (CreateWorkerReplyValidationError) Cause

Cause function returns cause value.

func (CreateWorkerReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateWorkerReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateWorkerReplyValidationError) Field

Field function returns field value.

func (CreateWorkerReplyValidationError) Key

Key function returns key value.

func (CreateWorkerReplyValidationError) Reason

Reason function returns reason value.

type CreateWorkerRequest

type CreateWorkerRequest struct {
	Name        string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Ip          string  `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	GroupId     *uint32 `protobuf:"varint,3,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"`
	Status      *bool   `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateWorkerRequest) Descriptor deprecated

func (*CreateWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkerRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkerRequest) GetDescription

func (x *CreateWorkerRequest) GetDescription() string

func (*CreateWorkerRequest) GetGroupId

func (x *CreateWorkerRequest) GetGroupId() uint32

func (*CreateWorkerRequest) GetIp

func (x *CreateWorkerRequest) GetIp() string

func (*CreateWorkerRequest) GetName

func (x *CreateWorkerRequest) GetName() string

func (*CreateWorkerRequest) GetStatus

func (x *CreateWorkerRequest) GetStatus() bool

func (*CreateWorkerRequest) ProtoMessage

func (*CreateWorkerRequest) ProtoMessage()

func (*CreateWorkerRequest) ProtoReflect

func (x *CreateWorkerRequest) ProtoReflect() protoreflect.Message

func (*CreateWorkerRequest) Reset

func (x *CreateWorkerRequest) Reset()

func (*CreateWorkerRequest) String

func (x *CreateWorkerRequest) String() string

func (*CreateWorkerRequest) Validate

func (m *CreateWorkerRequest) Validate() error

Validate checks the field values on CreateWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateWorkerRequest) ValidateAll

func (m *CreateWorkerRequest) ValidateAll() error

ValidateAll checks the field values on CreateWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWorkerRequestMultiError, or nil if none found.

type CreateWorkerRequestMultiError

type CreateWorkerRequestMultiError []error

CreateWorkerRequestMultiError is an error wrapping multiple validation errors returned by CreateWorkerRequest.ValidateAll() if the designated constraints aren't met.

func (CreateWorkerRequestMultiError) AllErrors

func (m CreateWorkerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateWorkerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateWorkerRequestValidationError

type CreateWorkerRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateWorkerRequestValidationError is the validation error returned by CreateWorkerRequest.Validate if the designated constraints aren't met.

func (CreateWorkerRequestValidationError) Cause

Cause function returns cause value.

func (CreateWorkerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateWorkerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateWorkerRequestValidationError) Field

Field function returns field value.

func (CreateWorkerRequestValidationError) Key

Key function returns key value.

func (CreateWorkerRequestValidationError) Reason

Reason function returns reason value.

type DeleteWorkerGroupReply

type DeleteWorkerGroupReply struct {
	// contains filtered or unexported fields
}

func (*DeleteWorkerGroupReply) Descriptor deprecated

func (*DeleteWorkerGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkerGroupReply.ProtoReflect.Descriptor instead.

func (*DeleteWorkerGroupReply) ProtoMessage

func (*DeleteWorkerGroupReply) ProtoMessage()

func (*DeleteWorkerGroupReply) ProtoReflect

func (x *DeleteWorkerGroupReply) ProtoReflect() protoreflect.Message

func (*DeleteWorkerGroupReply) Reset

func (x *DeleteWorkerGroupReply) Reset()

func (*DeleteWorkerGroupReply) String

func (x *DeleteWorkerGroupReply) String() string

func (*DeleteWorkerGroupReply) Validate

func (m *DeleteWorkerGroupReply) Validate() error

Validate checks the field values on DeleteWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteWorkerGroupReply) ValidateAll

func (m *DeleteWorkerGroupReply) ValidateAll() error

ValidateAll checks the field values on DeleteWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteWorkerGroupReplyMultiError, or nil if none found.

type DeleteWorkerGroupReplyMultiError

type DeleteWorkerGroupReplyMultiError []error

DeleteWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by DeleteWorkerGroupReply.ValidateAll() if the designated constraints aren't met.

func (DeleteWorkerGroupReplyMultiError) AllErrors

func (m DeleteWorkerGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteWorkerGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteWorkerGroupReplyValidationError

type DeleteWorkerGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteWorkerGroupReplyValidationError is the validation error returned by DeleteWorkerGroupReply.Validate if the designated constraints aren't met.

func (DeleteWorkerGroupReplyValidationError) Cause

Cause function returns cause value.

func (DeleteWorkerGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteWorkerGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteWorkerGroupReplyValidationError) Field

Field function returns field value.

func (DeleteWorkerGroupReplyValidationError) Key

Key function returns key value.

func (DeleteWorkerGroupReplyValidationError) Reason

Reason function returns reason value.

type DeleteWorkerGroupRequest

type DeleteWorkerGroupRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteWorkerGroupRequest) Descriptor deprecated

func (*DeleteWorkerGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkerGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkerGroupRequest) GetId

func (x *DeleteWorkerGroupRequest) GetId() uint32

func (*DeleteWorkerGroupRequest) ProtoMessage

func (*DeleteWorkerGroupRequest) ProtoMessage()

func (*DeleteWorkerGroupRequest) ProtoReflect

func (x *DeleteWorkerGroupRequest) ProtoReflect() protoreflect.Message

func (*DeleteWorkerGroupRequest) Reset

func (x *DeleteWorkerGroupRequest) Reset()

func (*DeleteWorkerGroupRequest) String

func (x *DeleteWorkerGroupRequest) String() string

func (*DeleteWorkerGroupRequest) Validate

func (m *DeleteWorkerGroupRequest) Validate() error

Validate checks the field values on DeleteWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteWorkerGroupRequest) ValidateAll

func (m *DeleteWorkerGroupRequest) ValidateAll() error

ValidateAll checks the field values on DeleteWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteWorkerGroupRequestMultiError, or nil if none found.

type DeleteWorkerGroupRequestMultiError

type DeleteWorkerGroupRequestMultiError []error

DeleteWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteWorkerGroupRequestMultiError) AllErrors

func (m DeleteWorkerGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteWorkerGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteWorkerGroupRequestValidationError

type DeleteWorkerGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteWorkerGroupRequestValidationError is the validation error returned by DeleteWorkerGroupRequest.Validate if the designated constraints aren't met.

func (DeleteWorkerGroupRequestValidationError) Cause

Cause function returns cause value.

func (DeleteWorkerGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteWorkerGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteWorkerGroupRequestValidationError) Field

Field function returns field value.

func (DeleteWorkerGroupRequestValidationError) Key

Key function returns key value.

func (DeleteWorkerGroupRequestValidationError) Reason

Reason function returns reason value.

type DeleteWorkerReply

type DeleteWorkerReply struct {
	// contains filtered or unexported fields
}

func (*DeleteWorkerReply) Descriptor deprecated

func (*DeleteWorkerReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkerReply.ProtoReflect.Descriptor instead.

func (*DeleteWorkerReply) ProtoMessage

func (*DeleteWorkerReply) ProtoMessage()

func (*DeleteWorkerReply) ProtoReflect

func (x *DeleteWorkerReply) ProtoReflect() protoreflect.Message

func (*DeleteWorkerReply) Reset

func (x *DeleteWorkerReply) Reset()

func (*DeleteWorkerReply) String

func (x *DeleteWorkerReply) String() string

func (*DeleteWorkerReply) Validate

func (m *DeleteWorkerReply) Validate() error

Validate checks the field values on DeleteWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteWorkerReply) ValidateAll

func (m *DeleteWorkerReply) ValidateAll() error

ValidateAll checks the field values on DeleteWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteWorkerReplyMultiError, or nil if none found.

type DeleteWorkerReplyMultiError

type DeleteWorkerReplyMultiError []error

DeleteWorkerReplyMultiError is an error wrapping multiple validation errors returned by DeleteWorkerReply.ValidateAll() if the designated constraints aren't met.

func (DeleteWorkerReplyMultiError) AllErrors

func (m DeleteWorkerReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteWorkerReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteWorkerReplyValidationError

type DeleteWorkerReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteWorkerReplyValidationError is the validation error returned by DeleteWorkerReply.Validate if the designated constraints aren't met.

func (DeleteWorkerReplyValidationError) Cause

Cause function returns cause value.

func (DeleteWorkerReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteWorkerReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteWorkerReplyValidationError) Field

Field function returns field value.

func (DeleteWorkerReplyValidationError) Key

Key function returns key value.

func (DeleteWorkerReplyValidationError) Reason

Reason function returns reason value.

type DeleteWorkerRequest

type DeleteWorkerRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteWorkerRequest) Descriptor deprecated

func (*DeleteWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkerRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkerRequest) GetId

func (x *DeleteWorkerRequest) GetId() uint32

func (*DeleteWorkerRequest) ProtoMessage

func (*DeleteWorkerRequest) ProtoMessage()

func (*DeleteWorkerRequest) ProtoReflect

func (x *DeleteWorkerRequest) ProtoReflect() protoreflect.Message

func (*DeleteWorkerRequest) Reset

func (x *DeleteWorkerRequest) Reset()

func (*DeleteWorkerRequest) String

func (x *DeleteWorkerRequest) String() string

func (*DeleteWorkerRequest) Validate

func (m *DeleteWorkerRequest) Validate() error

Validate checks the field values on DeleteWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteWorkerRequest) ValidateAll

func (m *DeleteWorkerRequest) ValidateAll() error

ValidateAll checks the field values on DeleteWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteWorkerRequestMultiError, or nil if none found.

type DeleteWorkerRequestMultiError

type DeleteWorkerRequestMultiError []error

DeleteWorkerRequestMultiError is an error wrapping multiple validation errors returned by DeleteWorkerRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteWorkerRequestMultiError) AllErrors

func (m DeleteWorkerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteWorkerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteWorkerRequestValidationError

type DeleteWorkerRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteWorkerRequestValidationError is the validation error returned by DeleteWorkerRequest.Validate if the designated constraints aren't met.

func (DeleteWorkerRequestValidationError) Cause

Cause function returns cause value.

func (DeleteWorkerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteWorkerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteWorkerRequestValidationError) Field

Field function returns field value.

func (DeleteWorkerRequestValidationError) Key

Key function returns key value.

func (DeleteWorkerRequestValidationError) Reason

Reason function returns reason value.

type GetWorkerGroupReply

type GetWorkerGroupReply struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkerGroupReply) Descriptor deprecated

func (*GetWorkerGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkerGroupReply.ProtoReflect.Descriptor instead.

func (*GetWorkerGroupReply) GetCreatedAt

func (x *GetWorkerGroupReply) GetCreatedAt() uint32

func (*GetWorkerGroupReply) GetDescription

func (x *GetWorkerGroupReply) GetDescription() string

func (*GetWorkerGroupReply) GetId

func (x *GetWorkerGroupReply) GetId() uint32

func (*GetWorkerGroupReply) GetName

func (x *GetWorkerGroupReply) GetName() string

func (*GetWorkerGroupReply) GetUpdatedAt

func (x *GetWorkerGroupReply) GetUpdatedAt() uint32

func (*GetWorkerGroupReply) ProtoMessage

func (*GetWorkerGroupReply) ProtoMessage()

func (*GetWorkerGroupReply) ProtoReflect

func (x *GetWorkerGroupReply) ProtoReflect() protoreflect.Message

func (*GetWorkerGroupReply) Reset

func (x *GetWorkerGroupReply) Reset()

func (*GetWorkerGroupReply) String

func (x *GetWorkerGroupReply) String() string

func (*GetWorkerGroupReply) Validate

func (m *GetWorkerGroupReply) Validate() error

Validate checks the field values on GetWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWorkerGroupReply) ValidateAll

func (m *GetWorkerGroupReply) ValidateAll() error

ValidateAll checks the field values on GetWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWorkerGroupReplyMultiError, or nil if none found.

type GetWorkerGroupReplyMultiError

type GetWorkerGroupReplyMultiError []error

GetWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by GetWorkerGroupReply.ValidateAll() if the designated constraints aren't met.

func (GetWorkerGroupReplyMultiError) AllErrors

func (m GetWorkerGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetWorkerGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetWorkerGroupReplyValidationError

type GetWorkerGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

GetWorkerGroupReplyValidationError is the validation error returned by GetWorkerGroupReply.Validate if the designated constraints aren't met.

func (GetWorkerGroupReplyValidationError) Cause

Cause function returns cause value.

func (GetWorkerGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (GetWorkerGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (GetWorkerGroupReplyValidationError) Field

Field function returns field value.

func (GetWorkerGroupReplyValidationError) Key

Key function returns key value.

func (GetWorkerGroupReplyValidationError) Reason

Reason function returns reason value.

type GetWorkerGroupRequest

type GetWorkerGroupRequest struct {
	Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkerGroupRequest) Descriptor deprecated

func (*GetWorkerGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkerGroupRequest.ProtoReflect.Descriptor instead.

func (*GetWorkerGroupRequest) GetId

func (x *GetWorkerGroupRequest) GetId() uint32

func (*GetWorkerGroupRequest) ProtoMessage

func (*GetWorkerGroupRequest) ProtoMessage()

func (*GetWorkerGroupRequest) ProtoReflect

func (x *GetWorkerGroupRequest) ProtoReflect() protoreflect.Message

func (*GetWorkerGroupRequest) Reset

func (x *GetWorkerGroupRequest) Reset()

func (*GetWorkerGroupRequest) String

func (x *GetWorkerGroupRequest) String() string

func (*GetWorkerGroupRequest) Validate

func (m *GetWorkerGroupRequest) Validate() error

Validate checks the field values on GetWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWorkerGroupRequest) ValidateAll

func (m *GetWorkerGroupRequest) ValidateAll() error

ValidateAll checks the field values on GetWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWorkerGroupRequestMultiError, or nil if none found.

type GetWorkerGroupRequestMultiError

type GetWorkerGroupRequestMultiError []error

GetWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by GetWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.

func (GetWorkerGroupRequestMultiError) AllErrors

func (m GetWorkerGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetWorkerGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetWorkerGroupRequestValidationError

type GetWorkerGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

GetWorkerGroupRequestValidationError is the validation error returned by GetWorkerGroupRequest.Validate if the designated constraints aren't met.

func (GetWorkerGroupRequestValidationError) Cause

Cause function returns cause value.

func (GetWorkerGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (GetWorkerGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (GetWorkerGroupRequestValidationError) Field

Field function returns field value.

func (GetWorkerGroupRequestValidationError) Key

Key function returns key value.

func (GetWorkerGroupRequestValidationError) Reason

Reason function returns reason value.

type GetWorkerReply

type GetWorkerReply struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ip          string  `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	GroupId     *uint32 `protobuf:"varint,4,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"`
	Status      *bool   `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkerReply) Descriptor deprecated

func (*GetWorkerReply) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkerReply.ProtoReflect.Descriptor instead.

func (*GetWorkerReply) GetCreatedAt

func (x *GetWorkerReply) GetCreatedAt() uint32

func (*GetWorkerReply) GetDescription

func (x *GetWorkerReply) GetDescription() string

func (*GetWorkerReply) GetGroupId

func (x *GetWorkerReply) GetGroupId() uint32

func (*GetWorkerReply) GetId

func (x *GetWorkerReply) GetId() uint32

func (*GetWorkerReply) GetIp

func (x *GetWorkerReply) GetIp() string

func (*GetWorkerReply) GetName

func (x *GetWorkerReply) GetName() string

func (*GetWorkerReply) GetStatus

func (x *GetWorkerReply) GetStatus() bool

func (*GetWorkerReply) GetUpdatedAt

func (x *GetWorkerReply) GetUpdatedAt() uint32

func (*GetWorkerReply) ProtoMessage

func (*GetWorkerReply) ProtoMessage()

func (*GetWorkerReply) ProtoReflect

func (x *GetWorkerReply) ProtoReflect() protoreflect.Message

func (*GetWorkerReply) Reset

func (x *GetWorkerReply) Reset()

func (*GetWorkerReply) String

func (x *GetWorkerReply) String() string

func (*GetWorkerReply) Validate

func (m *GetWorkerReply) Validate() error

Validate checks the field values on GetWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWorkerReply) ValidateAll

func (m *GetWorkerReply) ValidateAll() error

ValidateAll checks the field values on GetWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWorkerReplyMultiError, or nil if none found.

type GetWorkerReplyMultiError

type GetWorkerReplyMultiError []error

GetWorkerReplyMultiError is an error wrapping multiple validation errors returned by GetWorkerReply.ValidateAll() if the designated constraints aren't met.

func (GetWorkerReplyMultiError) AllErrors

func (m GetWorkerReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetWorkerReplyMultiError) Error

func (m GetWorkerReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetWorkerReplyValidationError

type GetWorkerReplyValidationError struct {
	// contains filtered or unexported fields
}

GetWorkerReplyValidationError is the validation error returned by GetWorkerReply.Validate if the designated constraints aren't met.

func (GetWorkerReplyValidationError) Cause

Cause function returns cause value.

func (GetWorkerReplyValidationError) Error

Error satisfies the builtin error interface

func (GetWorkerReplyValidationError) ErrorName

func (e GetWorkerReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetWorkerReplyValidationError) Field

Field function returns field value.

func (GetWorkerReplyValidationError) Key

Key function returns key value.

func (GetWorkerReplyValidationError) Reason

Reason function returns reason value.

type GetWorkerRequest

type GetWorkerRequest struct {
	Id *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Ip *string `protobuf:"bytes,2,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkerRequest) Descriptor deprecated

func (*GetWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkerRequest.ProtoReflect.Descriptor instead.

func (*GetWorkerRequest) GetId

func (x *GetWorkerRequest) GetId() uint32

func (*GetWorkerRequest) GetIp

func (x *GetWorkerRequest) GetIp() string

func (*GetWorkerRequest) ProtoMessage

func (*GetWorkerRequest) ProtoMessage()

func (*GetWorkerRequest) ProtoReflect

func (x *GetWorkerRequest) ProtoReflect() protoreflect.Message

func (*GetWorkerRequest) Reset

func (x *GetWorkerRequest) Reset()

func (*GetWorkerRequest) String

func (x *GetWorkerRequest) String() string

func (*GetWorkerRequest) Validate

func (m *GetWorkerRequest) Validate() error

Validate checks the field values on GetWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetWorkerRequest) ValidateAll

func (m *GetWorkerRequest) ValidateAll() error

ValidateAll checks the field values on GetWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetWorkerRequestMultiError, or nil if none found.

type GetWorkerRequestMultiError

type GetWorkerRequestMultiError []error

GetWorkerRequestMultiError is an error wrapping multiple validation errors returned by GetWorkerRequest.ValidateAll() if the designated constraints aren't met.

func (GetWorkerRequestMultiError) AllErrors

func (m GetWorkerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetWorkerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetWorkerRequestValidationError

type GetWorkerRequestValidationError struct {
	// contains filtered or unexported fields
}

GetWorkerRequestValidationError is the validation error returned by GetWorkerRequest.Validate if the designated constraints aren't met.

func (GetWorkerRequestValidationError) Cause

Cause function returns cause value.

func (GetWorkerRequestValidationError) Error

Error satisfies the builtin error interface

func (GetWorkerRequestValidationError) ErrorName

ErrorName returns error name.

func (GetWorkerRequestValidationError) Field

Field function returns field value.

func (GetWorkerRequestValidationError) Key

Key function returns key value.

func (GetWorkerRequestValidationError) Reason

Reason function returns reason value.

type ListWorkerGroupReply

type ListWorkerGroupReply struct {
	Total uint32                              `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListWorkerGroupReply_WorkerGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkerGroupReply) Descriptor deprecated

func (*ListWorkerGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerGroupReply.ProtoReflect.Descriptor instead.

func (*ListWorkerGroupReply) GetList

func (*ListWorkerGroupReply) GetTotal

func (x *ListWorkerGroupReply) GetTotal() uint32

func (*ListWorkerGroupReply) ProtoMessage

func (*ListWorkerGroupReply) ProtoMessage()

func (*ListWorkerGroupReply) ProtoReflect

func (x *ListWorkerGroupReply) ProtoReflect() protoreflect.Message

func (*ListWorkerGroupReply) Reset

func (x *ListWorkerGroupReply) Reset()

func (*ListWorkerGroupReply) String

func (x *ListWorkerGroupReply) String() string

func (*ListWorkerGroupReply) Validate

func (m *ListWorkerGroupReply) Validate() error

Validate checks the field values on ListWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWorkerGroupReply) ValidateAll

func (m *ListWorkerGroupReply) ValidateAll() error

ValidateAll checks the field values on ListWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWorkerGroupReplyMultiError, or nil if none found.

type ListWorkerGroupReplyMultiError

type ListWorkerGroupReplyMultiError []error

ListWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by ListWorkerGroupReply.ValidateAll() if the designated constraints aren't met.

func (ListWorkerGroupReplyMultiError) AllErrors

func (m ListWorkerGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWorkerGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWorkerGroupReplyValidationError

type ListWorkerGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

ListWorkerGroupReplyValidationError is the validation error returned by ListWorkerGroupReply.Validate if the designated constraints aren't met.

func (ListWorkerGroupReplyValidationError) Cause

Cause function returns cause value.

func (ListWorkerGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (ListWorkerGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (ListWorkerGroupReplyValidationError) Field

Field function returns field value.

func (ListWorkerGroupReplyValidationError) Key

Key function returns key value.

func (ListWorkerGroupReplyValidationError) Reason

Reason function returns reason value.

type ListWorkerGroupReply_WorkerGroup

type ListWorkerGroupReply_WorkerGroup struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkerGroupReply_WorkerGroup) Descriptor deprecated

func (*ListWorkerGroupReply_WorkerGroup) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerGroupReply_WorkerGroup.ProtoReflect.Descriptor instead.

func (*ListWorkerGroupReply_WorkerGroup) GetCreatedAt

func (x *ListWorkerGroupReply_WorkerGroup) GetCreatedAt() uint32

func (*ListWorkerGroupReply_WorkerGroup) GetDescription

func (x *ListWorkerGroupReply_WorkerGroup) GetDescription() string

func (*ListWorkerGroupReply_WorkerGroup) GetId

func (*ListWorkerGroupReply_WorkerGroup) GetName

func (*ListWorkerGroupReply_WorkerGroup) GetUpdatedAt

func (x *ListWorkerGroupReply_WorkerGroup) GetUpdatedAt() uint32

func (*ListWorkerGroupReply_WorkerGroup) ProtoMessage

func (*ListWorkerGroupReply_WorkerGroup) ProtoMessage()

func (*ListWorkerGroupReply_WorkerGroup) ProtoReflect

func (*ListWorkerGroupReply_WorkerGroup) Reset

func (*ListWorkerGroupReply_WorkerGroup) String

func (*ListWorkerGroupReply_WorkerGroup) Validate

Validate checks the field values on ListWorkerGroupReply_WorkerGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWorkerGroupReply_WorkerGroup) ValidateAll

func (m *ListWorkerGroupReply_WorkerGroup) ValidateAll() error

ValidateAll checks the field values on ListWorkerGroupReply_WorkerGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWorkerGroupReply_WorkerGroupMultiError, or nil if none found.

type ListWorkerGroupReply_WorkerGroupMultiError

type ListWorkerGroupReply_WorkerGroupMultiError []error

ListWorkerGroupReply_WorkerGroupMultiError is an error wrapping multiple validation errors returned by ListWorkerGroupReply_WorkerGroup.ValidateAll() if the designated constraints aren't met.

func (ListWorkerGroupReply_WorkerGroupMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListWorkerGroupReply_WorkerGroupMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWorkerGroupReply_WorkerGroupValidationError

type ListWorkerGroupReply_WorkerGroupValidationError struct {
	// contains filtered or unexported fields
}

ListWorkerGroupReply_WorkerGroupValidationError is the validation error returned by ListWorkerGroupReply_WorkerGroup.Validate if the designated constraints aren't met.

func (ListWorkerGroupReply_WorkerGroupValidationError) Cause

Cause function returns cause value.

func (ListWorkerGroupReply_WorkerGroupValidationError) Error

Error satisfies the builtin error interface

func (ListWorkerGroupReply_WorkerGroupValidationError) ErrorName

ErrorName returns error name.

func (ListWorkerGroupReply_WorkerGroupValidationError) Field

Field function returns field value.

func (ListWorkerGroupReply_WorkerGroupValidationError) Key

Key function returns key value.

func (ListWorkerGroupReply_WorkerGroupValidationError) Reason

Reason function returns reason value.

type ListWorkerGroupRequest

type ListWorkerGroupRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order    *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy  *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	Name     *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkerGroupRequest) Descriptor deprecated

func (*ListWorkerGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerGroupRequest.ProtoReflect.Descriptor instead.

func (*ListWorkerGroupRequest) GetName

func (x *ListWorkerGroupRequest) GetName() string

func (*ListWorkerGroupRequest) GetOrder

func (x *ListWorkerGroupRequest) GetOrder() string

func (*ListWorkerGroupRequest) GetOrderBy

func (x *ListWorkerGroupRequest) GetOrderBy() string

func (*ListWorkerGroupRequest) GetPage

func (x *ListWorkerGroupRequest) GetPage() uint32

func (*ListWorkerGroupRequest) GetPageSize

func (x *ListWorkerGroupRequest) GetPageSize() uint32

func (*ListWorkerGroupRequest) ProtoMessage

func (*ListWorkerGroupRequest) ProtoMessage()

func (*ListWorkerGroupRequest) ProtoReflect

func (x *ListWorkerGroupRequest) ProtoReflect() protoreflect.Message

func (*ListWorkerGroupRequest) Reset

func (x *ListWorkerGroupRequest) Reset()

func (*ListWorkerGroupRequest) String

func (x *ListWorkerGroupRequest) String() string

func (*ListWorkerGroupRequest) Validate

func (m *ListWorkerGroupRequest) Validate() error

Validate checks the field values on ListWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWorkerGroupRequest) ValidateAll

func (m *ListWorkerGroupRequest) ValidateAll() error

ValidateAll checks the field values on ListWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWorkerGroupRequestMultiError, or nil if none found.

type ListWorkerGroupRequestMultiError

type ListWorkerGroupRequestMultiError []error

ListWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by ListWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.

func (ListWorkerGroupRequestMultiError) AllErrors

func (m ListWorkerGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWorkerGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWorkerGroupRequestValidationError

type ListWorkerGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

ListWorkerGroupRequestValidationError is the validation error returned by ListWorkerGroupRequest.Validate if the designated constraints aren't met.

func (ListWorkerGroupRequestValidationError) Cause

Cause function returns cause value.

func (ListWorkerGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (ListWorkerGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (ListWorkerGroupRequestValidationError) Field

Field function returns field value.

func (ListWorkerGroupRequestValidationError) Key

Key function returns key value.

func (ListWorkerGroupRequestValidationError) Reason

Reason function returns reason value.

type ListWorkerReply

type ListWorkerReply struct {
	Total uint32                    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListWorkerReply_Worker `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkerReply) Descriptor deprecated

func (*ListWorkerReply) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerReply.ProtoReflect.Descriptor instead.

func (*ListWorkerReply) GetList

func (x *ListWorkerReply) GetList() []*ListWorkerReply_Worker

func (*ListWorkerReply) GetTotal

func (x *ListWorkerReply) GetTotal() uint32

func (*ListWorkerReply) ProtoMessage

func (*ListWorkerReply) ProtoMessage()

func (*ListWorkerReply) ProtoReflect

func (x *ListWorkerReply) ProtoReflect() protoreflect.Message

func (*ListWorkerReply) Reset

func (x *ListWorkerReply) Reset()

func (*ListWorkerReply) String

func (x *ListWorkerReply) String() string

func (*ListWorkerReply) Validate

func (m *ListWorkerReply) Validate() error

Validate checks the field values on ListWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWorkerReply) ValidateAll

func (m *ListWorkerReply) ValidateAll() error

ValidateAll checks the field values on ListWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWorkerReplyMultiError, or nil if none found.

type ListWorkerReplyMultiError

type ListWorkerReplyMultiError []error

ListWorkerReplyMultiError is an error wrapping multiple validation errors returned by ListWorkerReply.ValidateAll() if the designated constraints aren't met.

func (ListWorkerReplyMultiError) AllErrors

func (m ListWorkerReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWorkerReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWorkerReplyValidationError

type ListWorkerReplyValidationError struct {
	// contains filtered or unexported fields
}

ListWorkerReplyValidationError is the validation error returned by ListWorkerReply.Validate if the designated constraints aren't met.

func (ListWorkerReplyValidationError) Cause

Cause function returns cause value.

func (ListWorkerReplyValidationError) Error

Error satisfies the builtin error interface

func (ListWorkerReplyValidationError) ErrorName

func (e ListWorkerReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListWorkerReplyValidationError) Field

Field function returns field value.

func (ListWorkerReplyValidationError) Key

Key function returns key value.

func (ListWorkerReplyValidationError) Reason

Reason function returns reason value.

type ListWorkerReply_Group

type ListWorkerReply_Group struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkerReply_Group) Descriptor deprecated

func (*ListWorkerReply_Group) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerReply_Group.ProtoReflect.Descriptor instead.

func (*ListWorkerReply_Group) GetName

func (x *ListWorkerReply_Group) GetName() string

func (*ListWorkerReply_Group) ProtoMessage

func (*ListWorkerReply_Group) ProtoMessage()

func (*ListWorkerReply_Group) ProtoReflect

func (x *ListWorkerReply_Group) ProtoReflect() protoreflect.Message

func (*ListWorkerReply_Group) Reset

func (x *ListWorkerReply_Group) Reset()

func (*ListWorkerReply_Group) String

func (x *ListWorkerReply_Group) String() string

func (*ListWorkerReply_Group) Validate

func (m *ListWorkerReply_Group) Validate() error

Validate checks the field values on ListWorkerReply_Group with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWorkerReply_Group) ValidateAll

func (m *ListWorkerReply_Group) ValidateAll() error

ValidateAll checks the field values on ListWorkerReply_Group with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWorkerReply_GroupMultiError, or nil if none found.

type ListWorkerReply_GroupMultiError

type ListWorkerReply_GroupMultiError []error

ListWorkerReply_GroupMultiError is an error wrapping multiple validation errors returned by ListWorkerReply_Group.ValidateAll() if the designated constraints aren't met.

func (ListWorkerReply_GroupMultiError) AllErrors

func (m ListWorkerReply_GroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWorkerReply_GroupMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWorkerReply_GroupValidationError

type ListWorkerReply_GroupValidationError struct {
	// contains filtered or unexported fields
}

ListWorkerReply_GroupValidationError is the validation error returned by ListWorkerReply_Group.Validate if the designated constraints aren't met.

func (ListWorkerReply_GroupValidationError) Cause

Cause function returns cause value.

func (ListWorkerReply_GroupValidationError) Error

Error satisfies the builtin error interface

func (ListWorkerReply_GroupValidationError) ErrorName

ErrorName returns error name.

func (ListWorkerReply_GroupValidationError) Field

Field function returns field value.

func (ListWorkerReply_GroupValidationError) Key

Key function returns key value.

func (ListWorkerReply_GroupValidationError) Reason

Reason function returns reason value.

type ListWorkerReply_Worker

type ListWorkerReply_Worker struct {
	Id          uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ip          string                 `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	GroupId     *uint32                `protobuf:"varint,4,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"`
	Status      *bool                  `protobuf:"varint,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string                `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedAt   uint32                 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32                 `protobuf:"varint,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Group       *ListWorkerReply_Group `protobuf:"bytes,9,opt,name=group,proto3,oneof" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkerReply_Worker) Descriptor deprecated

func (*ListWorkerReply_Worker) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerReply_Worker.ProtoReflect.Descriptor instead.

func (*ListWorkerReply_Worker) GetCreatedAt

func (x *ListWorkerReply_Worker) GetCreatedAt() uint32

func (*ListWorkerReply_Worker) GetDescription

func (x *ListWorkerReply_Worker) GetDescription() string

func (*ListWorkerReply_Worker) GetGroup

func (*ListWorkerReply_Worker) GetGroupId

func (x *ListWorkerReply_Worker) GetGroupId() uint32

func (*ListWorkerReply_Worker) GetId

func (x *ListWorkerReply_Worker) GetId() uint32

func (*ListWorkerReply_Worker) GetIp

func (x *ListWorkerReply_Worker) GetIp() string

func (*ListWorkerReply_Worker) GetName

func (x *ListWorkerReply_Worker) GetName() string

func (*ListWorkerReply_Worker) GetStatus

func (x *ListWorkerReply_Worker) GetStatus() bool

func (*ListWorkerReply_Worker) GetUpdatedAt

func (x *ListWorkerReply_Worker) GetUpdatedAt() uint32

func (*ListWorkerReply_Worker) ProtoMessage

func (*ListWorkerReply_Worker) ProtoMessage()

func (*ListWorkerReply_Worker) ProtoReflect

func (x *ListWorkerReply_Worker) ProtoReflect() protoreflect.Message

func (*ListWorkerReply_Worker) Reset

func (x *ListWorkerReply_Worker) Reset()

func (*ListWorkerReply_Worker) String

func (x *ListWorkerReply_Worker) String() string

func (*ListWorkerReply_Worker) Validate

func (m *ListWorkerReply_Worker) Validate() error

Validate checks the field values on ListWorkerReply_Worker with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWorkerReply_Worker) ValidateAll

func (m *ListWorkerReply_Worker) ValidateAll() error

ValidateAll checks the field values on ListWorkerReply_Worker with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWorkerReply_WorkerMultiError, or nil if none found.

type ListWorkerReply_WorkerMultiError

type ListWorkerReply_WorkerMultiError []error

ListWorkerReply_WorkerMultiError is an error wrapping multiple validation errors returned by ListWorkerReply_Worker.ValidateAll() if the designated constraints aren't met.

func (ListWorkerReply_WorkerMultiError) AllErrors

func (m ListWorkerReply_WorkerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWorkerReply_WorkerMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWorkerReply_WorkerValidationError

type ListWorkerReply_WorkerValidationError struct {
	// contains filtered or unexported fields
}

ListWorkerReply_WorkerValidationError is the validation error returned by ListWorkerReply_Worker.Validate if the designated constraints aren't met.

func (ListWorkerReply_WorkerValidationError) Cause

Cause function returns cause value.

func (ListWorkerReply_WorkerValidationError) Error

Error satisfies the builtin error interface

func (ListWorkerReply_WorkerValidationError) ErrorName

ErrorName returns error name.

func (ListWorkerReply_WorkerValidationError) Field

Field function returns field value.

func (ListWorkerReply_WorkerValidationError) Key

Key function returns key value.

func (ListWorkerReply_WorkerValidationError) Reason

Reason function returns reason value.

type ListWorkerRequest

type ListWorkerRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order    *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy  *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	Name     *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Ip       *string `protobuf:"bytes,6,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	GroupId  *uint32 `protobuf:"varint,7,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"`
	Status   *bool   `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkerRequest) Descriptor deprecated

func (*ListWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerRequest.ProtoReflect.Descriptor instead.

func (*ListWorkerRequest) GetGroupId

func (x *ListWorkerRequest) GetGroupId() uint32

func (*ListWorkerRequest) GetIp

func (x *ListWorkerRequest) GetIp() string

func (*ListWorkerRequest) GetName

func (x *ListWorkerRequest) GetName() string

func (*ListWorkerRequest) GetOrder

func (x *ListWorkerRequest) GetOrder() string

func (*ListWorkerRequest) GetOrderBy

func (x *ListWorkerRequest) GetOrderBy() string

func (*ListWorkerRequest) GetPage

func (x *ListWorkerRequest) GetPage() uint32

func (*ListWorkerRequest) GetPageSize

func (x *ListWorkerRequest) GetPageSize() uint32

func (*ListWorkerRequest) GetStatus

func (x *ListWorkerRequest) GetStatus() bool

func (*ListWorkerRequest) ProtoMessage

func (*ListWorkerRequest) ProtoMessage()

func (*ListWorkerRequest) ProtoReflect

func (x *ListWorkerRequest) ProtoReflect() protoreflect.Message

func (*ListWorkerRequest) Reset

func (x *ListWorkerRequest) Reset()

func (*ListWorkerRequest) String

func (x *ListWorkerRequest) String() string

func (*ListWorkerRequest) Validate

func (m *ListWorkerRequest) Validate() error

Validate checks the field values on ListWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListWorkerRequest) ValidateAll

func (m *ListWorkerRequest) ValidateAll() error

ValidateAll checks the field values on ListWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListWorkerRequestMultiError, or nil if none found.

type ListWorkerRequestMultiError

type ListWorkerRequestMultiError []error

ListWorkerRequestMultiError is an error wrapping multiple validation errors returned by ListWorkerRequest.ValidateAll() if the designated constraints aren't met.

func (ListWorkerRequestMultiError) AllErrors

func (m ListWorkerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListWorkerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListWorkerRequestValidationError

type ListWorkerRequestValidationError struct {
	// contains filtered or unexported fields
}

ListWorkerRequestValidationError is the validation error returned by ListWorkerRequest.Validate if the designated constraints aren't met.

func (ListWorkerRequestValidationError) Cause

Cause function returns cause value.

func (ListWorkerRequestValidationError) Error

Error satisfies the builtin error interface

func (ListWorkerRequestValidationError) ErrorName

ErrorName returns error name.

func (ListWorkerRequestValidationError) Field

Field function returns field value.

func (ListWorkerRequestValidationError) Key

Key function returns key value.

func (ListWorkerRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedWorkerServer

type UnimplementedWorkerServer struct {
}

UnimplementedWorkerServer must be embedded to have forward compatible implementations.

func (UnimplementedWorkerServer) CreateWorker

func (UnimplementedWorkerServer) CreateWorkerGroup

func (UnimplementedWorkerServer) DeleteWorker

func (UnimplementedWorkerServer) DeleteWorkerGroup

func (UnimplementedWorkerServer) GetWorker

func (UnimplementedWorkerServer) GetWorkerGroup

func (UnimplementedWorkerServer) ListWorker

func (UnimplementedWorkerServer) ListWorkerGroup

func (UnimplementedWorkerServer) UpdateWorker

func (UnimplementedWorkerServer) UpdateWorkerGroup

func (UnimplementedWorkerServer) UpdateWorkerStatus

type UnsafeWorkerServer

type UnsafeWorkerServer interface {
	// contains filtered or unexported methods
}

UnsafeWorkerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkerServer will result in compilation errors.

type UpdateWorkerGroupReply

type UpdateWorkerGroupReply struct {
	// contains filtered or unexported fields
}

func (*UpdateWorkerGroupReply) Descriptor deprecated

func (*UpdateWorkerGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkerGroupReply.ProtoReflect.Descriptor instead.

func (*UpdateWorkerGroupReply) ProtoMessage

func (*UpdateWorkerGroupReply) ProtoMessage()

func (*UpdateWorkerGroupReply) ProtoReflect

func (x *UpdateWorkerGroupReply) ProtoReflect() protoreflect.Message

func (*UpdateWorkerGroupReply) Reset

func (x *UpdateWorkerGroupReply) Reset()

func (*UpdateWorkerGroupReply) String

func (x *UpdateWorkerGroupReply) String() string

func (*UpdateWorkerGroupReply) Validate

func (m *UpdateWorkerGroupReply) Validate() error

Validate checks the field values on UpdateWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWorkerGroupReply) ValidateAll

func (m *UpdateWorkerGroupReply) ValidateAll() error

ValidateAll checks the field values on UpdateWorkerGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWorkerGroupReplyMultiError, or nil if none found.

type UpdateWorkerGroupReplyMultiError

type UpdateWorkerGroupReplyMultiError []error

UpdateWorkerGroupReplyMultiError is an error wrapping multiple validation errors returned by UpdateWorkerGroupReply.ValidateAll() if the designated constraints aren't met.

func (UpdateWorkerGroupReplyMultiError) AllErrors

func (m UpdateWorkerGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateWorkerGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateWorkerGroupReplyValidationError

type UpdateWorkerGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateWorkerGroupReplyValidationError is the validation error returned by UpdateWorkerGroupReply.Validate if the designated constraints aren't met.

func (UpdateWorkerGroupReplyValidationError) Cause

Cause function returns cause value.

func (UpdateWorkerGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateWorkerGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateWorkerGroupReplyValidationError) Field

Field function returns field value.

func (UpdateWorkerGroupReplyValidationError) Key

Key function returns key value.

func (UpdateWorkerGroupReplyValidationError) Reason

Reason function returns reason value.

type UpdateWorkerGroupRequest

type UpdateWorkerGroupRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWorkerGroupRequest) Descriptor deprecated

func (*UpdateWorkerGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkerGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkerGroupRequest) GetDescription

func (x *UpdateWorkerGroupRequest) GetDescription() string

func (*UpdateWorkerGroupRequest) GetId

func (x *UpdateWorkerGroupRequest) GetId() uint32

func (*UpdateWorkerGroupRequest) GetName

func (x *UpdateWorkerGroupRequest) GetName() string

func (*UpdateWorkerGroupRequest) ProtoMessage

func (*UpdateWorkerGroupRequest) ProtoMessage()

func (*UpdateWorkerGroupRequest) ProtoReflect

func (x *UpdateWorkerGroupRequest) ProtoReflect() protoreflect.Message

func (*UpdateWorkerGroupRequest) Reset

func (x *UpdateWorkerGroupRequest) Reset()

func (*UpdateWorkerGroupRequest) String

func (x *UpdateWorkerGroupRequest) String() string

func (*UpdateWorkerGroupRequest) Validate

func (m *UpdateWorkerGroupRequest) Validate() error

Validate checks the field values on UpdateWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWorkerGroupRequest) ValidateAll

func (m *UpdateWorkerGroupRequest) ValidateAll() error

ValidateAll checks the field values on UpdateWorkerGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWorkerGroupRequestMultiError, or nil if none found.

type UpdateWorkerGroupRequestMultiError

type UpdateWorkerGroupRequestMultiError []error

UpdateWorkerGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateWorkerGroupRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateWorkerGroupRequestMultiError) AllErrors

func (m UpdateWorkerGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateWorkerGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateWorkerGroupRequestValidationError

type UpdateWorkerGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateWorkerGroupRequestValidationError is the validation error returned by UpdateWorkerGroupRequest.Validate if the designated constraints aren't met.

func (UpdateWorkerGroupRequestValidationError) Cause

Cause function returns cause value.

func (UpdateWorkerGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateWorkerGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateWorkerGroupRequestValidationError) Field

Field function returns field value.

func (UpdateWorkerGroupRequestValidationError) Key

Key function returns key value.

func (UpdateWorkerGroupRequestValidationError) Reason

Reason function returns reason value.

type UpdateWorkerReply

type UpdateWorkerReply struct {
	// contains filtered or unexported fields
}

func (*UpdateWorkerReply) Descriptor deprecated

func (*UpdateWorkerReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkerReply.ProtoReflect.Descriptor instead.

func (*UpdateWorkerReply) ProtoMessage

func (*UpdateWorkerReply) ProtoMessage()

func (*UpdateWorkerReply) ProtoReflect

func (x *UpdateWorkerReply) ProtoReflect() protoreflect.Message

func (*UpdateWorkerReply) Reset

func (x *UpdateWorkerReply) Reset()

func (*UpdateWorkerReply) String

func (x *UpdateWorkerReply) String() string

func (*UpdateWorkerReply) Validate

func (m *UpdateWorkerReply) Validate() error

Validate checks the field values on UpdateWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWorkerReply) ValidateAll

func (m *UpdateWorkerReply) ValidateAll() error

ValidateAll checks the field values on UpdateWorkerReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWorkerReplyMultiError, or nil if none found.

type UpdateWorkerReplyMultiError

type UpdateWorkerReplyMultiError []error

UpdateWorkerReplyMultiError is an error wrapping multiple validation errors returned by UpdateWorkerReply.ValidateAll() if the designated constraints aren't met.

func (UpdateWorkerReplyMultiError) AllErrors

func (m UpdateWorkerReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateWorkerReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateWorkerReplyValidationError

type UpdateWorkerReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateWorkerReplyValidationError is the validation error returned by UpdateWorkerReply.Validate if the designated constraints aren't met.

func (UpdateWorkerReplyValidationError) Cause

Cause function returns cause value.

func (UpdateWorkerReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateWorkerReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateWorkerReplyValidationError) Field

Field function returns field value.

func (UpdateWorkerReplyValidationError) Key

Key function returns key value.

func (UpdateWorkerReplyValidationError) Reason

Reason function returns reason value.

type UpdateWorkerRequest

type UpdateWorkerRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Ip          string  `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	GroupId     *uint32 `protobuf:"varint,4,opt,name=groupId,proto3,oneof" json:"groupId,omitempty"`
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWorkerRequest) Descriptor deprecated

func (*UpdateWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkerRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkerRequest) GetDescription

func (x *UpdateWorkerRequest) GetDescription() string

func (*UpdateWorkerRequest) GetGroupId

func (x *UpdateWorkerRequest) GetGroupId() uint32

func (*UpdateWorkerRequest) GetId

func (x *UpdateWorkerRequest) GetId() uint32

func (*UpdateWorkerRequest) GetIp

func (x *UpdateWorkerRequest) GetIp() string

func (*UpdateWorkerRequest) GetName

func (x *UpdateWorkerRequest) GetName() string

func (*UpdateWorkerRequest) ProtoMessage

func (*UpdateWorkerRequest) ProtoMessage()

func (*UpdateWorkerRequest) ProtoReflect

func (x *UpdateWorkerRequest) ProtoReflect() protoreflect.Message

func (*UpdateWorkerRequest) Reset

func (x *UpdateWorkerRequest) Reset()

func (*UpdateWorkerRequest) String

func (x *UpdateWorkerRequest) String() string

func (*UpdateWorkerRequest) Validate

func (m *UpdateWorkerRequest) Validate() error

Validate checks the field values on UpdateWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWorkerRequest) ValidateAll

func (m *UpdateWorkerRequest) ValidateAll() error

ValidateAll checks the field values on UpdateWorkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWorkerRequestMultiError, or nil if none found.

type UpdateWorkerRequestMultiError

type UpdateWorkerRequestMultiError []error

UpdateWorkerRequestMultiError is an error wrapping multiple validation errors returned by UpdateWorkerRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateWorkerRequestMultiError) AllErrors

func (m UpdateWorkerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateWorkerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateWorkerRequestValidationError

type UpdateWorkerRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateWorkerRequestValidationError is the validation error returned by UpdateWorkerRequest.Validate if the designated constraints aren't met.

func (UpdateWorkerRequestValidationError) Cause

Cause function returns cause value.

func (UpdateWorkerRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateWorkerRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateWorkerRequestValidationError) Field

Field function returns field value.

func (UpdateWorkerRequestValidationError) Key

Key function returns key value.

func (UpdateWorkerRequestValidationError) Reason

Reason function returns reason value.

type UpdateWorkerStatusReply

type UpdateWorkerStatusReply struct {
	// contains filtered or unexported fields
}

func (*UpdateWorkerStatusReply) Descriptor deprecated

func (*UpdateWorkerStatusReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkerStatusReply.ProtoReflect.Descriptor instead.

func (*UpdateWorkerStatusReply) ProtoMessage

func (*UpdateWorkerStatusReply) ProtoMessage()

func (*UpdateWorkerStatusReply) ProtoReflect

func (x *UpdateWorkerStatusReply) ProtoReflect() protoreflect.Message

func (*UpdateWorkerStatusReply) Reset

func (x *UpdateWorkerStatusReply) Reset()

func (*UpdateWorkerStatusReply) String

func (x *UpdateWorkerStatusReply) String() string

func (*UpdateWorkerStatusReply) Validate

func (m *UpdateWorkerStatusReply) Validate() error

Validate checks the field values on UpdateWorkerStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWorkerStatusReply) ValidateAll

func (m *UpdateWorkerStatusReply) ValidateAll() error

ValidateAll checks the field values on UpdateWorkerStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWorkerStatusReplyMultiError, or nil if none found.

type UpdateWorkerStatusReplyMultiError

type UpdateWorkerStatusReplyMultiError []error

UpdateWorkerStatusReplyMultiError is an error wrapping multiple validation errors returned by UpdateWorkerStatusReply.ValidateAll() if the designated constraints aren't met.

func (UpdateWorkerStatusReplyMultiError) AllErrors

func (m UpdateWorkerStatusReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateWorkerStatusReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateWorkerStatusReplyValidationError

type UpdateWorkerStatusReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateWorkerStatusReplyValidationError is the validation error returned by UpdateWorkerStatusReply.Validate if the designated constraints aren't met.

func (UpdateWorkerStatusReplyValidationError) Cause

Cause function returns cause value.

func (UpdateWorkerStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateWorkerStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateWorkerStatusReplyValidationError) Field

Field function returns field value.

func (UpdateWorkerStatusReplyValidationError) Key

Key function returns key value.

func (UpdateWorkerStatusReplyValidationError) Reason

Reason function returns reason value.

type UpdateWorkerStatusRequest

type UpdateWorkerStatusRequest struct {
	Id     uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status bool   `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateWorkerStatusRequest) Descriptor deprecated

func (*UpdateWorkerStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkerStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkerStatusRequest) GetId

func (x *UpdateWorkerStatusRequest) GetId() uint32

func (*UpdateWorkerStatusRequest) GetStatus

func (x *UpdateWorkerStatusRequest) GetStatus() bool

func (*UpdateWorkerStatusRequest) ProtoMessage

func (*UpdateWorkerStatusRequest) ProtoMessage()

func (*UpdateWorkerStatusRequest) ProtoReflect

func (*UpdateWorkerStatusRequest) Reset

func (x *UpdateWorkerStatusRequest) Reset()

func (*UpdateWorkerStatusRequest) String

func (x *UpdateWorkerStatusRequest) String() string

func (*UpdateWorkerStatusRequest) Validate

func (m *UpdateWorkerStatusRequest) Validate() error

Validate checks the field values on UpdateWorkerStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateWorkerStatusRequest) ValidateAll

func (m *UpdateWorkerStatusRequest) ValidateAll() error

ValidateAll checks the field values on UpdateWorkerStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWorkerStatusRequestMultiError, or nil if none found.

type UpdateWorkerStatusRequestMultiError

type UpdateWorkerStatusRequestMultiError []error

UpdateWorkerStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateWorkerStatusRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateWorkerStatusRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateWorkerStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateWorkerStatusRequestValidationError

type UpdateWorkerStatusRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateWorkerStatusRequestValidationError is the validation error returned by UpdateWorkerStatusRequest.Validate if the designated constraints aren't met.

func (UpdateWorkerStatusRequestValidationError) Cause

Cause function returns cause value.

func (UpdateWorkerStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateWorkerStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateWorkerStatusRequestValidationError) Field

Field function returns field value.

func (UpdateWorkerStatusRequestValidationError) Key

Key function returns key value.

func (UpdateWorkerStatusRequestValidationError) Reason

Reason function returns reason value.

type WorkerClient

type WorkerClient interface {
	// GetWorkerGroup 获取指定的节点分组
	GetWorkerGroup(ctx context.Context, in *GetWorkerGroupRequest, opts ...grpc.CallOption) (*GetWorkerGroupReply, error)
	// ListWorkerGroup 获取节点分组列表
	ListWorkerGroup(ctx context.Context, in *ListWorkerGroupRequest, opts ...grpc.CallOption) (*ListWorkerGroupReply, error)
	// CreateWorkerGroup 创建节点分组
	CreateWorkerGroup(ctx context.Context, in *CreateWorkerGroupRequest, opts ...grpc.CallOption) (*CreateWorkerGroupReply, error)
	// UpdateWorkerGroup 更新节点分组
	UpdateWorkerGroup(ctx context.Context, in *UpdateWorkerGroupRequest, opts ...grpc.CallOption) (*UpdateWorkerGroupReply, error)
	// DeleteWorkerGroup 删除节点分组
	DeleteWorkerGroup(ctx context.Context, in *DeleteWorkerGroupRequest, opts ...grpc.CallOption) (*DeleteWorkerGroupReply, error)
	// GetWorker 获取指定的节点信息
	GetWorker(ctx context.Context, in *GetWorkerRequest, opts ...grpc.CallOption) (*GetWorkerReply, error)
	// ListWorker 获取节点信息列表
	ListWorker(ctx context.Context, in *ListWorkerRequest, opts ...grpc.CallOption) (*ListWorkerReply, error)
	// CreateWorker 创建节点信息
	CreateWorker(ctx context.Context, in *CreateWorkerRequest, opts ...grpc.CallOption) (*CreateWorkerReply, error)
	// UpdateWorker 更新节点信息
	UpdateWorker(ctx context.Context, in *UpdateWorkerRequest, opts ...grpc.CallOption) (*UpdateWorkerReply, error)
	// UpdateWorkerStatus 更新节点信息状态
	UpdateWorkerStatus(ctx context.Context, in *UpdateWorkerStatusRequest, opts ...grpc.CallOption) (*UpdateWorkerStatusReply, error)
	// DeleteWorker 删除节点信息
	DeleteWorker(ctx context.Context, in *DeleteWorkerRequest, opts ...grpc.CallOption) (*DeleteWorkerReply, error)
}

WorkerClient is the client API for Worker service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewWorkerClient

func NewWorkerClient(cc grpc.ClientConnInterface) WorkerClient

type WorkerHTTPClient

type WorkerHTTPClient interface {
	CreateWorker(ctx context.Context, req *CreateWorkerRequest, opts ...http.CallOption) (rsp *CreateWorkerReply, err error)
	CreateWorkerGroup(ctx context.Context, req *CreateWorkerGroupRequest, opts ...http.CallOption) (rsp *CreateWorkerGroupReply, err error)
	DeleteWorker(ctx context.Context, req *DeleteWorkerRequest, opts ...http.CallOption) (rsp *DeleteWorkerReply, err error)
	DeleteWorkerGroup(ctx context.Context, req *DeleteWorkerGroupRequest, opts ...http.CallOption) (rsp *DeleteWorkerGroupReply, err error)
	GetWorker(ctx context.Context, req *GetWorkerRequest, opts ...http.CallOption) (rsp *GetWorkerReply, err error)
	GetWorkerGroup(ctx context.Context, req *GetWorkerGroupRequest, opts ...http.CallOption) (rsp *GetWorkerGroupReply, err error)
	ListWorker(ctx context.Context, req *ListWorkerRequest, opts ...http.CallOption) (rsp *ListWorkerReply, err error)
	ListWorkerGroup(ctx context.Context, req *ListWorkerGroupRequest, opts ...http.CallOption) (rsp *ListWorkerGroupReply, err error)
	UpdateWorker(ctx context.Context, req *UpdateWorkerRequest, opts ...http.CallOption) (rsp *UpdateWorkerReply, err error)
	UpdateWorkerGroup(ctx context.Context, req *UpdateWorkerGroupRequest, opts ...http.CallOption) (rsp *UpdateWorkerGroupReply, err error)
	UpdateWorkerStatus(ctx context.Context, req *UpdateWorkerStatusRequest, opts ...http.CallOption) (rsp *UpdateWorkerStatusReply, err error)
}

func NewWorkerHTTPClient

func NewWorkerHTTPClient(client *http.Client) WorkerHTTPClient

type WorkerHTTPClientImpl

type WorkerHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*WorkerHTTPClientImpl) CreateWorker

func (*WorkerHTTPClientImpl) CreateWorkerGroup

func (*WorkerHTTPClientImpl) DeleteWorker

func (*WorkerHTTPClientImpl) DeleteWorkerGroup

func (*WorkerHTTPClientImpl) GetWorker

func (*WorkerHTTPClientImpl) GetWorkerGroup

func (*WorkerHTTPClientImpl) ListWorker

func (*WorkerHTTPClientImpl) ListWorkerGroup

func (*WorkerHTTPClientImpl) UpdateWorker

func (*WorkerHTTPClientImpl) UpdateWorkerGroup

func (*WorkerHTTPClientImpl) UpdateWorkerStatus

type WorkerHTTPServer

type WorkerHTTPServer interface {
	// CreateWorker CreateWorker 创建节点信息
	CreateWorker(context.Context, *CreateWorkerRequest) (*CreateWorkerReply, error)
	// CreateWorkerGroup CreateWorkerGroup 创建节点分组
	CreateWorkerGroup(context.Context, *CreateWorkerGroupRequest) (*CreateWorkerGroupReply, error)
	// DeleteWorker DeleteWorker 删除节点信息
	DeleteWorker(context.Context, *DeleteWorkerRequest) (*DeleteWorkerReply, error)
	// DeleteWorkerGroup DeleteWorkerGroup 删除节点分组
	DeleteWorkerGroup(context.Context, *DeleteWorkerGroupRequest) (*DeleteWorkerGroupReply, error)
	// GetWorker GetWorker 获取指定的节点信息
	GetWorker(context.Context, *GetWorkerRequest) (*GetWorkerReply, error)
	// GetWorkerGroup GetWorkerGroup 获取指定的节点分组
	GetWorkerGroup(context.Context, *GetWorkerGroupRequest) (*GetWorkerGroupReply, error)
	// ListWorker ListWorker 获取节点信息列表
	ListWorker(context.Context, *ListWorkerRequest) (*ListWorkerReply, error)
	// ListWorkerGroup ListWorkerGroup 获取节点分组列表
	ListWorkerGroup(context.Context, *ListWorkerGroupRequest) (*ListWorkerGroupReply, error)
	// UpdateWorker UpdateWorker 更新节点信息
	UpdateWorker(context.Context, *UpdateWorkerRequest) (*UpdateWorkerReply, error)
	// UpdateWorkerGroup UpdateWorkerGroup 更新节点分组
	UpdateWorkerGroup(context.Context, *UpdateWorkerGroupRequest) (*UpdateWorkerGroupReply, error)
	// UpdateWorkerStatus UpdateWorkerStatus 更新节点信息状态
	UpdateWorkerStatus(context.Context, *UpdateWorkerStatusRequest) (*UpdateWorkerStatusReply, error)
}

type WorkerServer

type WorkerServer interface {
	// GetWorkerGroup 获取指定的节点分组
	GetWorkerGroup(context.Context, *GetWorkerGroupRequest) (*GetWorkerGroupReply, error)
	// ListWorkerGroup 获取节点分组列表
	ListWorkerGroup(context.Context, *ListWorkerGroupRequest) (*ListWorkerGroupReply, error)
	// CreateWorkerGroup 创建节点分组
	CreateWorkerGroup(context.Context, *CreateWorkerGroupRequest) (*CreateWorkerGroupReply, error)
	// UpdateWorkerGroup 更新节点分组
	UpdateWorkerGroup(context.Context, *UpdateWorkerGroupRequest) (*UpdateWorkerGroupReply, error)
	// DeleteWorkerGroup 删除节点分组
	DeleteWorkerGroup(context.Context, *DeleteWorkerGroupRequest) (*DeleteWorkerGroupReply, error)
	// GetWorker 获取指定的节点信息
	GetWorker(context.Context, *GetWorkerRequest) (*GetWorkerReply, error)
	// ListWorker 获取节点信息列表
	ListWorker(context.Context, *ListWorkerRequest) (*ListWorkerReply, error)
	// CreateWorker 创建节点信息
	CreateWorker(context.Context, *CreateWorkerRequest) (*CreateWorkerReply, error)
	// UpdateWorker 更新节点信息
	UpdateWorker(context.Context, *UpdateWorkerRequest) (*UpdateWorkerReply, error)
	// UpdateWorkerStatus 更新节点信息状态
	UpdateWorkerStatus(context.Context, *UpdateWorkerStatusRequest) (*UpdateWorkerStatusReply, error)
	// DeleteWorker 删除节点信息
	DeleteWorker(context.Context, *DeleteWorkerRequest) (*DeleteWorkerReply, error)
	// contains filtered or unexported methods
}

WorkerServer is the server API for Worker service. All implementations must embed UnimplementedWorkerServer for forward compatibility

Jump to

Keyboard shortcuts

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