Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterLoadServer(s grpc.ServiceRegistrar, srv LoadServer)
- type EvaluateReply
- func (*EvaluateReply) Descriptor() ([]byte, []int)deprecated
- func (*EvaluateReply) ProtoMessage()
- func (x *EvaluateReply) ProtoReflect() protoreflect.Message
- func (x *EvaluateReply) Reset()
- func (x *EvaluateReply) String() string
- func (m *EvaluateReply) Validate() error
- func (m *EvaluateReply) ValidateAll() error
- type EvaluateReplyMultiError
- type EvaluateReplyValidationError
- func (e EvaluateReplyValidationError) Cause() error
- func (e EvaluateReplyValidationError) Error() string
- func (e EvaluateReplyValidationError) ErrorName() string
- func (e EvaluateReplyValidationError) Field() string
- func (e EvaluateReplyValidationError) Key() bool
- func (e EvaluateReplyValidationError) Reason() string
- type EvaluateRequest
- func (*EvaluateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateRequest) GetGroupList() []*api.GroupSimple
- func (*EvaluateRequest) ProtoMessage()
- func (x *EvaluateRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluateRequest) Reset()
- func (x *EvaluateRequest) String() string
- func (m *EvaluateRequest) Validate() error
- func (m *EvaluateRequest) ValidateAll() error
- type EvaluateRequestMultiError
- type EvaluateRequestValidationError
- func (e EvaluateRequestValidationError) Cause() error
- func (e EvaluateRequestValidationError) Error() string
- func (e EvaluateRequestValidationError) ErrorName() string
- func (e EvaluateRequestValidationError) Field() string
- func (e EvaluateRequestValidationError) Key() bool
- func (e EvaluateRequestValidationError) Reason() string
- type EvaluateV2Reply
- func (*EvaluateV2Reply) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateV2Reply) GetCode() int32
- func (x *EvaluateV2Reply) GetMessage() string
- func (*EvaluateV2Reply) ProtoMessage()
- func (x *EvaluateV2Reply) ProtoReflect() protoreflect.Message
- func (x *EvaluateV2Reply) Reset()
- func (x *EvaluateV2Reply) String() string
- func (m *EvaluateV2Reply) Validate() error
- func (m *EvaluateV2Reply) ValidateAll() error
- type EvaluateV2ReplyMultiError
- type EvaluateV2ReplyValidationError
- func (e EvaluateV2ReplyValidationError) Cause() error
- func (e EvaluateV2ReplyValidationError) Error() string
- func (e EvaluateV2ReplyValidationError) ErrorName() string
- func (e EvaluateV2ReplyValidationError) Field() string
- func (e EvaluateV2ReplyValidationError) Key() bool
- func (e EvaluateV2ReplyValidationError) Reason() string
- type EvaluateV2Request
- func (*EvaluateV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateV2Request) GetGroupList() []*api.EvaluateGroup
- func (*EvaluateV2Request) ProtoMessage()
- func (x *EvaluateV2Request) ProtoReflect() protoreflect.Message
- func (x *EvaluateV2Request) Reset()
- func (x *EvaluateV2Request) String() string
- func (m *EvaluateV2Request) Validate() error
- func (m *EvaluateV2Request) ValidateAll() error
- type EvaluateV2RequestMultiError
- type EvaluateV2RequestValidationError
- func (e EvaluateV2RequestValidationError) Cause() error
- func (e EvaluateV2RequestValidationError) Error() string
- func (e EvaluateV2RequestValidationError) ErrorName() string
- func (e EvaluateV2RequestValidationError) Field() string
- func (e EvaluateV2RequestValidationError) Key() bool
- func (e EvaluateV2RequestValidationError) Reason() string
- type LoadClient
- type LoadServer
- type StrategyGroupAllReply
- func (*StrategyGroupAllReply) Descriptor() ([]byte, []int)deprecated
- func (x *StrategyGroupAllReply) GetGroupList() []*api.GroupSimple
- func (*StrategyGroupAllReply) ProtoMessage()
- func (x *StrategyGroupAllReply) ProtoReflect() protoreflect.Message
- func (x *StrategyGroupAllReply) Reset()
- func (x *StrategyGroupAllReply) String() string
- func (m *StrategyGroupAllReply) Validate() error
- func (m *StrategyGroupAllReply) ValidateAll() error
- type StrategyGroupAllReplyMultiError
- type StrategyGroupAllReplyValidationError
- func (e StrategyGroupAllReplyValidationError) Cause() error
- func (e StrategyGroupAllReplyValidationError) Error() string
- func (e StrategyGroupAllReplyValidationError) ErrorName() string
- func (e StrategyGroupAllReplyValidationError) Field() string
- func (e StrategyGroupAllReplyValidationError) Key() bool
- func (e StrategyGroupAllReplyValidationError) Reason() string
- type StrategyGroupAllRequest
- func (*StrategyGroupAllRequest) Descriptor() ([]byte, []int)deprecated
- func (*StrategyGroupAllRequest) ProtoMessage()
- func (x *StrategyGroupAllRequest) ProtoReflect() protoreflect.Message
- func (x *StrategyGroupAllRequest) Reset()
- func (x *StrategyGroupAllRequest) String() string
- func (m *StrategyGroupAllRequest) Validate() error
- func (m *StrategyGroupAllRequest) ValidateAll() error
- type StrategyGroupAllRequestMultiError
- type StrategyGroupAllRequestValidationError
- func (e StrategyGroupAllRequestValidationError) Cause() error
- func (e StrategyGroupAllRequestValidationError) Error() string
- func (e StrategyGroupAllRequestValidationError) ErrorName() string
- func (e StrategyGroupAllRequestValidationError) Field() string
- func (e StrategyGroupAllRequestValidationError) Key() bool
- func (e StrategyGroupAllRequestValidationError) Reason() string
- type StrategyGroupDiffReply
- func (*StrategyGroupDiffReply) Descriptor() ([]byte, []int)deprecated
- func (x *StrategyGroupDiffReply) GetAppendItems() []*api.GroupSimple
- func (x *StrategyGroupDiffReply) GetDeleteItems() []*api.GroupSimple
- func (x *StrategyGroupDiffReply) GetUpdateItems() []*api.GroupSimple
- func (*StrategyGroupDiffReply) ProtoMessage()
- func (x *StrategyGroupDiffReply) ProtoReflect() protoreflect.Message
- func (x *StrategyGroupDiffReply) Reset()
- func (x *StrategyGroupDiffReply) String() string
- func (m *StrategyGroupDiffReply) Validate() error
- func (m *StrategyGroupDiffReply) ValidateAll() error
- type StrategyGroupDiffReplyMultiError
- type StrategyGroupDiffReplyValidationError
- func (e StrategyGroupDiffReplyValidationError) Cause() error
- func (e StrategyGroupDiffReplyValidationError) Error() string
- func (e StrategyGroupDiffReplyValidationError) ErrorName() string
- func (e StrategyGroupDiffReplyValidationError) Field() string
- func (e StrategyGroupDiffReplyValidationError) Key() bool
- func (e StrategyGroupDiffReplyValidationError) Reason() string
- type StrategyGroupDiffRequest
- func (*StrategyGroupDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (*StrategyGroupDiffRequest) ProtoMessage()
- func (x *StrategyGroupDiffRequest) ProtoReflect() protoreflect.Message
- func (x *StrategyGroupDiffRequest) Reset()
- func (x *StrategyGroupDiffRequest) String() string
- func (m *StrategyGroupDiffRequest) Validate() error
- func (m *StrategyGroupDiffRequest) ValidateAll() error
- type StrategyGroupDiffRequestMultiError
- type StrategyGroupDiffRequestValidationError
- func (e StrategyGroupDiffRequestValidationError) Cause() error
- func (e StrategyGroupDiffRequestValidationError) Error() string
- func (e StrategyGroupDiffRequestValidationError) ErrorName() string
- func (e StrategyGroupDiffRequestValidationError) Field() string
- func (e StrategyGroupDiffRequestValidationError) Key() bool
- func (e StrategyGroupDiffRequestValidationError) Reason() string
- type UnimplementedLoadServer
- type UnsafeLoadServer
Constants ¶
const ( Load_Evaluate_FullMethodName = "/api.agent.Load/Evaluate" Load_EvaluateV2_FullMethodName = "/api.agent.Load/EvaluateV2" )
Variables ¶
var File_agent_load_proto protoreflect.FileDescriptor
var Load_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.agent.Load", HandlerType: (*LoadServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Evaluate", Handler: _Load_Evaluate_Handler, }, { MethodName: "EvaluateV2", Handler: _Load_EvaluateV2_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "agent/load.proto", }
Load_ServiceDesc is the grpc.ServiceDesc for Load service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLoadServer ¶
func RegisterLoadServer(s grpc.ServiceRegistrar, srv LoadServer)
Types ¶
type EvaluateReply ¶
type EvaluateReply struct {
// contains filtered or unexported fields
}
func (*EvaluateReply) Descriptor
deprecated
func (*EvaluateReply) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateReply.ProtoReflect.Descriptor instead.
func (*EvaluateReply) ProtoMessage ¶
func (*EvaluateReply) ProtoMessage()
func (*EvaluateReply) ProtoReflect ¶
func (x *EvaluateReply) ProtoReflect() protoreflect.Message
func (*EvaluateReply) Reset ¶
func (x *EvaluateReply) Reset()
func (*EvaluateReply) String ¶
func (x *EvaluateReply) String() string
func (*EvaluateReply) Validate ¶
func (m *EvaluateReply) Validate() error
Validate checks the field values on EvaluateReply 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 (*EvaluateReply) ValidateAll ¶
func (m *EvaluateReply) ValidateAll() error
ValidateAll checks the field values on EvaluateReply 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 EvaluateReplyMultiError, or nil if none found.
type EvaluateReplyMultiError ¶
type EvaluateReplyMultiError []error
EvaluateReplyMultiError is an error wrapping multiple validation errors returned by EvaluateReply.ValidateAll() if the designated constraints aren't met.
func (EvaluateReplyMultiError) AllErrors ¶
func (m EvaluateReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EvaluateReplyMultiError) Error ¶
func (m EvaluateReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EvaluateReplyValidationError ¶
type EvaluateReplyValidationError struct {
// contains filtered or unexported fields
}
EvaluateReplyValidationError is the validation error returned by EvaluateReply.Validate if the designated constraints aren't met.
func (EvaluateReplyValidationError) Cause ¶
func (e EvaluateReplyValidationError) Cause() error
Cause function returns cause value.
func (EvaluateReplyValidationError) Error ¶
func (e EvaluateReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EvaluateReplyValidationError) ErrorName ¶
func (e EvaluateReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EvaluateReplyValidationError) Field ¶
func (e EvaluateReplyValidationError) Field() string
Field function returns field value.
func (EvaluateReplyValidationError) Key ¶
func (e EvaluateReplyValidationError) Key() bool
Key function returns key value.
func (EvaluateReplyValidationError) Reason ¶
func (e EvaluateReplyValidationError) Reason() string
Reason function returns reason value.
type EvaluateRequest ¶
type EvaluateRequest struct { GroupList []*api.GroupSimple `protobuf:"bytes,1,rep,name=groupList,proto3" json:"groupList,omitempty"` // contains filtered or unexported fields }
func (*EvaluateRequest) Descriptor
deprecated
func (*EvaluateRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateRequest.ProtoReflect.Descriptor instead.
func (*EvaluateRequest) GetGroupList ¶
func (x *EvaluateRequest) GetGroupList() []*api.GroupSimple
func (*EvaluateRequest) ProtoMessage ¶
func (*EvaluateRequest) ProtoMessage()
func (*EvaluateRequest) ProtoReflect ¶
func (x *EvaluateRequest) ProtoReflect() protoreflect.Message
func (*EvaluateRequest) Reset ¶
func (x *EvaluateRequest) Reset()
func (*EvaluateRequest) String ¶
func (x *EvaluateRequest) String() string
func (*EvaluateRequest) Validate ¶
func (m *EvaluateRequest) Validate() error
Validate checks the field values on EvaluateRequest 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 (*EvaluateRequest) ValidateAll ¶
func (m *EvaluateRequest) ValidateAll() error
ValidateAll checks the field values on EvaluateRequest 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 EvaluateRequestMultiError, or nil if none found.
type EvaluateRequestMultiError ¶
type EvaluateRequestMultiError []error
EvaluateRequestMultiError is an error wrapping multiple validation errors returned by EvaluateRequest.ValidateAll() if the designated constraints aren't met.
func (EvaluateRequestMultiError) AllErrors ¶
func (m EvaluateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EvaluateRequestMultiError) Error ¶
func (m EvaluateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EvaluateRequestValidationError ¶
type EvaluateRequestValidationError struct {
// contains filtered or unexported fields
}
EvaluateRequestValidationError is the validation error returned by EvaluateRequest.Validate if the designated constraints aren't met.
func (EvaluateRequestValidationError) Cause ¶
func (e EvaluateRequestValidationError) Cause() error
Cause function returns cause value.
func (EvaluateRequestValidationError) Error ¶
func (e EvaluateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EvaluateRequestValidationError) ErrorName ¶
func (e EvaluateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EvaluateRequestValidationError) Field ¶
func (e EvaluateRequestValidationError) Field() string
Field function returns field value.
func (EvaluateRequestValidationError) Key ¶
func (e EvaluateRequestValidationError) Key() bool
Key function returns key value.
func (EvaluateRequestValidationError) Reason ¶
func (e EvaluateRequestValidationError) Reason() string
Reason function returns reason value.
type EvaluateV2Reply ¶ added in v0.0.16
type EvaluateV2Reply struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*EvaluateV2Reply) Descriptor
deprecated
added in
v0.0.16
func (*EvaluateV2Reply) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateV2Reply.ProtoReflect.Descriptor instead.
func (*EvaluateV2Reply) GetCode ¶ added in v0.0.16
func (x *EvaluateV2Reply) GetCode() int32
func (*EvaluateV2Reply) GetMessage ¶ added in v0.0.16
func (x *EvaluateV2Reply) GetMessage() string
func (*EvaluateV2Reply) ProtoMessage ¶ added in v0.0.16
func (*EvaluateV2Reply) ProtoMessage()
func (*EvaluateV2Reply) ProtoReflect ¶ added in v0.0.16
func (x *EvaluateV2Reply) ProtoReflect() protoreflect.Message
func (*EvaluateV2Reply) Reset ¶ added in v0.0.16
func (x *EvaluateV2Reply) Reset()
func (*EvaluateV2Reply) String ¶ added in v0.0.16
func (x *EvaluateV2Reply) String() string
func (*EvaluateV2Reply) Validate ¶ added in v0.0.16
func (m *EvaluateV2Reply) Validate() error
Validate checks the field values on EvaluateV2Reply 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 (*EvaluateV2Reply) ValidateAll ¶ added in v0.0.16
func (m *EvaluateV2Reply) ValidateAll() error
ValidateAll checks the field values on EvaluateV2Reply 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 EvaluateV2ReplyMultiError, or nil if none found.
type EvaluateV2ReplyMultiError ¶ added in v0.0.16
type EvaluateV2ReplyMultiError []error
EvaluateV2ReplyMultiError is an error wrapping multiple validation errors returned by EvaluateV2Reply.ValidateAll() if the designated constraints aren't met.
func (EvaluateV2ReplyMultiError) AllErrors ¶ added in v0.0.16
func (m EvaluateV2ReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EvaluateV2ReplyMultiError) Error ¶ added in v0.0.16
func (m EvaluateV2ReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EvaluateV2ReplyValidationError ¶ added in v0.0.16
type EvaluateV2ReplyValidationError struct {
// contains filtered or unexported fields
}
EvaluateV2ReplyValidationError is the validation error returned by EvaluateV2Reply.Validate if the designated constraints aren't met.
func (EvaluateV2ReplyValidationError) Cause ¶ added in v0.0.16
func (e EvaluateV2ReplyValidationError) Cause() error
Cause function returns cause value.
func (EvaluateV2ReplyValidationError) Error ¶ added in v0.0.16
func (e EvaluateV2ReplyValidationError) Error() string
Error satisfies the builtin error interface
func (EvaluateV2ReplyValidationError) ErrorName ¶ added in v0.0.16
func (e EvaluateV2ReplyValidationError) ErrorName() string
ErrorName returns error name.
func (EvaluateV2ReplyValidationError) Field ¶ added in v0.0.16
func (e EvaluateV2ReplyValidationError) Field() string
Field function returns field value.
func (EvaluateV2ReplyValidationError) Key ¶ added in v0.0.16
func (e EvaluateV2ReplyValidationError) Key() bool
Key function returns key value.
func (EvaluateV2ReplyValidationError) Reason ¶ added in v0.0.16
func (e EvaluateV2ReplyValidationError) Reason() string
Reason function returns reason value.
type EvaluateV2Request ¶ added in v0.0.16
type EvaluateV2Request struct { GroupList []*api.EvaluateGroup `protobuf:"bytes,1,rep,name=groupList,proto3" json:"groupList,omitempty"` // contains filtered or unexported fields }
func (*EvaluateV2Request) Descriptor
deprecated
added in
v0.0.16
func (*EvaluateV2Request) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateV2Request.ProtoReflect.Descriptor instead.
func (*EvaluateV2Request) GetGroupList ¶ added in v0.0.16
func (x *EvaluateV2Request) GetGroupList() []*api.EvaluateGroup
func (*EvaluateV2Request) ProtoMessage ¶ added in v0.0.16
func (*EvaluateV2Request) ProtoMessage()
func (*EvaluateV2Request) ProtoReflect ¶ added in v0.0.16
func (x *EvaluateV2Request) ProtoReflect() protoreflect.Message
func (*EvaluateV2Request) Reset ¶ added in v0.0.16
func (x *EvaluateV2Request) Reset()
func (*EvaluateV2Request) String ¶ added in v0.0.16
func (x *EvaluateV2Request) String() string
func (*EvaluateV2Request) Validate ¶ added in v0.0.16
func (m *EvaluateV2Request) Validate() error
Validate checks the field values on EvaluateV2Request 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 (*EvaluateV2Request) ValidateAll ¶ added in v0.0.16
func (m *EvaluateV2Request) ValidateAll() error
ValidateAll checks the field values on EvaluateV2Request 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 EvaluateV2RequestMultiError, or nil if none found.
type EvaluateV2RequestMultiError ¶ added in v0.0.16
type EvaluateV2RequestMultiError []error
EvaluateV2RequestMultiError is an error wrapping multiple validation errors returned by EvaluateV2Request.ValidateAll() if the designated constraints aren't met.
func (EvaluateV2RequestMultiError) AllErrors ¶ added in v0.0.16
func (m EvaluateV2RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EvaluateV2RequestMultiError) Error ¶ added in v0.0.16
func (m EvaluateV2RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EvaluateV2RequestValidationError ¶ added in v0.0.16
type EvaluateV2RequestValidationError struct {
// contains filtered or unexported fields
}
EvaluateV2RequestValidationError is the validation error returned by EvaluateV2Request.Validate if the designated constraints aren't met.
func (EvaluateV2RequestValidationError) Cause ¶ added in v0.0.16
func (e EvaluateV2RequestValidationError) Cause() error
Cause function returns cause value.
func (EvaluateV2RequestValidationError) Error ¶ added in v0.0.16
func (e EvaluateV2RequestValidationError) Error() string
Error satisfies the builtin error interface
func (EvaluateV2RequestValidationError) ErrorName ¶ added in v0.0.16
func (e EvaluateV2RequestValidationError) ErrorName() string
ErrorName returns error name.
func (EvaluateV2RequestValidationError) Field ¶ added in v0.0.16
func (e EvaluateV2RequestValidationError) Field() string
Field function returns field value.
func (EvaluateV2RequestValidationError) Key ¶ added in v0.0.16
func (e EvaluateV2RequestValidationError) Key() bool
Key function returns key value.
func (EvaluateV2RequestValidationError) Reason ¶ added in v0.0.16
func (e EvaluateV2RequestValidationError) Reason() string
Reason function returns reason value.
type LoadClient ¶
type LoadClient interface { // 校验规则 Evaluate(ctx context.Context, in *EvaluateRequest, opts ...grpc.CallOption) (*EvaluateReply, error) // 校验规则 EvaluateV2(ctx context.Context, in *EvaluateV2Request, opts ...grpc.CallOption) (*EvaluateV2Reply, error) }
LoadClient is the client API for Load 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 NewLoadClient ¶
func NewLoadClient(cc grpc.ClientConnInterface) LoadClient
type LoadServer ¶
type LoadServer interface { // 校验规则 Evaluate(context.Context, *EvaluateRequest) (*EvaluateReply, error) // 校验规则 EvaluateV2(context.Context, *EvaluateV2Request) (*EvaluateV2Reply, error) // contains filtered or unexported methods }
LoadServer is the server API for Load service. All implementations must embed UnimplementedLoadServer for forward compatibility
type StrategyGroupAllReply ¶
type StrategyGroupAllReply struct { GroupList []*api.GroupSimple `protobuf:"bytes,1,rep,name=groupList,proto3" json:"groupList,omitempty"` // contains filtered or unexported fields }
func (*StrategyGroupAllReply) Descriptor
deprecated
func (*StrategyGroupAllReply) Descriptor() ([]byte, []int)
Deprecated: Use StrategyGroupAllReply.ProtoReflect.Descriptor instead.
func (*StrategyGroupAllReply) GetGroupList ¶
func (x *StrategyGroupAllReply) GetGroupList() []*api.GroupSimple
func (*StrategyGroupAllReply) ProtoMessage ¶
func (*StrategyGroupAllReply) ProtoMessage()
func (*StrategyGroupAllReply) ProtoReflect ¶
func (x *StrategyGroupAllReply) ProtoReflect() protoreflect.Message
func (*StrategyGroupAllReply) Reset ¶
func (x *StrategyGroupAllReply) Reset()
func (*StrategyGroupAllReply) String ¶
func (x *StrategyGroupAllReply) String() string
func (*StrategyGroupAllReply) Validate ¶
func (m *StrategyGroupAllReply) Validate() error
Validate checks the field values on StrategyGroupAllReply 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 (*StrategyGroupAllReply) ValidateAll ¶
func (m *StrategyGroupAllReply) ValidateAll() error
ValidateAll checks the field values on StrategyGroupAllReply 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 StrategyGroupAllReplyMultiError, or nil if none found.
type StrategyGroupAllReplyMultiError ¶
type StrategyGroupAllReplyMultiError []error
StrategyGroupAllReplyMultiError is an error wrapping multiple validation errors returned by StrategyGroupAllReply.ValidateAll() if the designated constraints aren't met.
func (StrategyGroupAllReplyMultiError) AllErrors ¶
func (m StrategyGroupAllReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StrategyGroupAllReplyMultiError) Error ¶
func (m StrategyGroupAllReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StrategyGroupAllReplyValidationError ¶
type StrategyGroupAllReplyValidationError struct {
// contains filtered or unexported fields
}
StrategyGroupAllReplyValidationError is the validation error returned by StrategyGroupAllReply.Validate if the designated constraints aren't met.
func (StrategyGroupAllReplyValidationError) Cause ¶
func (e StrategyGroupAllReplyValidationError) Cause() error
Cause function returns cause value.
func (StrategyGroupAllReplyValidationError) Error ¶
func (e StrategyGroupAllReplyValidationError) Error() string
Error satisfies the builtin error interface
func (StrategyGroupAllReplyValidationError) ErrorName ¶
func (e StrategyGroupAllReplyValidationError) ErrorName() string
ErrorName returns error name.
func (StrategyGroupAllReplyValidationError) Field ¶
func (e StrategyGroupAllReplyValidationError) Field() string
Field function returns field value.
func (StrategyGroupAllReplyValidationError) Key ¶
func (e StrategyGroupAllReplyValidationError) Key() bool
Key function returns key value.
func (StrategyGroupAllReplyValidationError) Reason ¶
func (e StrategyGroupAllReplyValidationError) Reason() string
Reason function returns reason value.
type StrategyGroupAllRequest ¶
type StrategyGroupAllRequest struct {
// contains filtered or unexported fields
}
func (*StrategyGroupAllRequest) Descriptor
deprecated
func (*StrategyGroupAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use StrategyGroupAllRequest.ProtoReflect.Descriptor instead.
func (*StrategyGroupAllRequest) ProtoMessage ¶
func (*StrategyGroupAllRequest) ProtoMessage()
func (*StrategyGroupAllRequest) ProtoReflect ¶
func (x *StrategyGroupAllRequest) ProtoReflect() protoreflect.Message
func (*StrategyGroupAllRequest) Reset ¶
func (x *StrategyGroupAllRequest) Reset()
func (*StrategyGroupAllRequest) String ¶
func (x *StrategyGroupAllRequest) String() string
func (*StrategyGroupAllRequest) Validate ¶
func (m *StrategyGroupAllRequest) Validate() error
Validate checks the field values on StrategyGroupAllRequest 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 (*StrategyGroupAllRequest) ValidateAll ¶
func (m *StrategyGroupAllRequest) ValidateAll() error
ValidateAll checks the field values on StrategyGroupAllRequest 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 StrategyGroupAllRequestMultiError, or nil if none found.
type StrategyGroupAllRequestMultiError ¶
type StrategyGroupAllRequestMultiError []error
StrategyGroupAllRequestMultiError is an error wrapping multiple validation errors returned by StrategyGroupAllRequest.ValidateAll() if the designated constraints aren't met.
func (StrategyGroupAllRequestMultiError) AllErrors ¶
func (m StrategyGroupAllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StrategyGroupAllRequestMultiError) Error ¶
func (m StrategyGroupAllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StrategyGroupAllRequestValidationError ¶
type StrategyGroupAllRequestValidationError struct {
// contains filtered or unexported fields
}
StrategyGroupAllRequestValidationError is the validation error returned by StrategyGroupAllRequest.Validate if the designated constraints aren't met.
func (StrategyGroupAllRequestValidationError) Cause ¶
func (e StrategyGroupAllRequestValidationError) Cause() error
Cause function returns cause value.
func (StrategyGroupAllRequestValidationError) Error ¶
func (e StrategyGroupAllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StrategyGroupAllRequestValidationError) ErrorName ¶
func (e StrategyGroupAllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StrategyGroupAllRequestValidationError) Field ¶
func (e StrategyGroupAllRequestValidationError) Field() string
Field function returns field value.
func (StrategyGroupAllRequestValidationError) Key ¶
func (e StrategyGroupAllRequestValidationError) Key() bool
Key function returns key value.
func (StrategyGroupAllRequestValidationError) Reason ¶
func (e StrategyGroupAllRequestValidationError) Reason() string
Reason function returns reason value.
type StrategyGroupDiffReply ¶
type StrategyGroupDiffReply struct { AppendItems []*api.GroupSimple `protobuf:"bytes,1,rep,name=appendItems,proto3" json:"appendItems,omitempty"` DeleteItems []*api.GroupSimple `protobuf:"bytes,2,rep,name=deleteItems,proto3" json:"deleteItems,omitempty"` UpdateItems []*api.GroupSimple `protobuf:"bytes,3,rep,name=updateItems,proto3" json:"updateItems,omitempty"` // contains filtered or unexported fields }
func (*StrategyGroupDiffReply) Descriptor
deprecated
func (*StrategyGroupDiffReply) Descriptor() ([]byte, []int)
Deprecated: Use StrategyGroupDiffReply.ProtoReflect.Descriptor instead.
func (*StrategyGroupDiffReply) GetAppendItems ¶
func (x *StrategyGroupDiffReply) GetAppendItems() []*api.GroupSimple
func (*StrategyGroupDiffReply) GetDeleteItems ¶
func (x *StrategyGroupDiffReply) GetDeleteItems() []*api.GroupSimple
func (*StrategyGroupDiffReply) GetUpdateItems ¶
func (x *StrategyGroupDiffReply) GetUpdateItems() []*api.GroupSimple
func (*StrategyGroupDiffReply) ProtoMessage ¶
func (*StrategyGroupDiffReply) ProtoMessage()
func (*StrategyGroupDiffReply) ProtoReflect ¶
func (x *StrategyGroupDiffReply) ProtoReflect() protoreflect.Message
func (*StrategyGroupDiffReply) Reset ¶
func (x *StrategyGroupDiffReply) Reset()
func (*StrategyGroupDiffReply) String ¶
func (x *StrategyGroupDiffReply) String() string
func (*StrategyGroupDiffReply) Validate ¶
func (m *StrategyGroupDiffReply) Validate() error
Validate checks the field values on StrategyGroupDiffReply 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 (*StrategyGroupDiffReply) ValidateAll ¶
func (m *StrategyGroupDiffReply) ValidateAll() error
ValidateAll checks the field values on StrategyGroupDiffReply 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 StrategyGroupDiffReplyMultiError, or nil if none found.
type StrategyGroupDiffReplyMultiError ¶
type StrategyGroupDiffReplyMultiError []error
StrategyGroupDiffReplyMultiError is an error wrapping multiple validation errors returned by StrategyGroupDiffReply.ValidateAll() if the designated constraints aren't met.
func (StrategyGroupDiffReplyMultiError) AllErrors ¶
func (m StrategyGroupDiffReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StrategyGroupDiffReplyMultiError) Error ¶
func (m StrategyGroupDiffReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StrategyGroupDiffReplyValidationError ¶
type StrategyGroupDiffReplyValidationError struct {
// contains filtered or unexported fields
}
StrategyGroupDiffReplyValidationError is the validation error returned by StrategyGroupDiffReply.Validate if the designated constraints aren't met.
func (StrategyGroupDiffReplyValidationError) Cause ¶
func (e StrategyGroupDiffReplyValidationError) Cause() error
Cause function returns cause value.
func (StrategyGroupDiffReplyValidationError) Error ¶
func (e StrategyGroupDiffReplyValidationError) Error() string
Error satisfies the builtin error interface
func (StrategyGroupDiffReplyValidationError) ErrorName ¶
func (e StrategyGroupDiffReplyValidationError) ErrorName() string
ErrorName returns error name.
func (StrategyGroupDiffReplyValidationError) Field ¶
func (e StrategyGroupDiffReplyValidationError) Field() string
Field function returns field value.
func (StrategyGroupDiffReplyValidationError) Key ¶
func (e StrategyGroupDiffReplyValidationError) Key() bool
Key function returns key value.
func (StrategyGroupDiffReplyValidationError) Reason ¶
func (e StrategyGroupDiffReplyValidationError) Reason() string
Reason function returns reason value.
type StrategyGroupDiffRequest ¶
type StrategyGroupDiffRequest struct {
// contains filtered or unexported fields
}
func (*StrategyGroupDiffRequest) Descriptor
deprecated
func (*StrategyGroupDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use StrategyGroupDiffRequest.ProtoReflect.Descriptor instead.
func (*StrategyGroupDiffRequest) ProtoMessage ¶
func (*StrategyGroupDiffRequest) ProtoMessage()
func (*StrategyGroupDiffRequest) ProtoReflect ¶
func (x *StrategyGroupDiffRequest) ProtoReflect() protoreflect.Message
func (*StrategyGroupDiffRequest) Reset ¶
func (x *StrategyGroupDiffRequest) Reset()
func (*StrategyGroupDiffRequest) String ¶
func (x *StrategyGroupDiffRequest) String() string
func (*StrategyGroupDiffRequest) Validate ¶
func (m *StrategyGroupDiffRequest) Validate() error
Validate checks the field values on StrategyGroupDiffRequest 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 (*StrategyGroupDiffRequest) ValidateAll ¶
func (m *StrategyGroupDiffRequest) ValidateAll() error
ValidateAll checks the field values on StrategyGroupDiffRequest 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 StrategyGroupDiffRequestMultiError, or nil if none found.
type StrategyGroupDiffRequestMultiError ¶
type StrategyGroupDiffRequestMultiError []error
StrategyGroupDiffRequestMultiError is an error wrapping multiple validation errors returned by StrategyGroupDiffRequest.ValidateAll() if the designated constraints aren't met.
func (StrategyGroupDiffRequestMultiError) AllErrors ¶
func (m StrategyGroupDiffRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StrategyGroupDiffRequestMultiError) Error ¶
func (m StrategyGroupDiffRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StrategyGroupDiffRequestValidationError ¶
type StrategyGroupDiffRequestValidationError struct {
// contains filtered or unexported fields
}
StrategyGroupDiffRequestValidationError is the validation error returned by StrategyGroupDiffRequest.Validate if the designated constraints aren't met.
func (StrategyGroupDiffRequestValidationError) Cause ¶
func (e StrategyGroupDiffRequestValidationError) Cause() error
Cause function returns cause value.
func (StrategyGroupDiffRequestValidationError) Error ¶
func (e StrategyGroupDiffRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StrategyGroupDiffRequestValidationError) ErrorName ¶
func (e StrategyGroupDiffRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StrategyGroupDiffRequestValidationError) Field ¶
func (e StrategyGroupDiffRequestValidationError) Field() string
Field function returns field value.
func (StrategyGroupDiffRequestValidationError) Key ¶
func (e StrategyGroupDiffRequestValidationError) Key() bool
Key function returns key value.
func (StrategyGroupDiffRequestValidationError) Reason ¶
func (e StrategyGroupDiffRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedLoadServer ¶
type UnimplementedLoadServer struct { }
UnimplementedLoadServer must be embedded to have forward compatible implementations.
func (UnimplementedLoadServer) Evaluate ¶
func (UnimplementedLoadServer) Evaluate(context.Context, *EvaluateRequest) (*EvaluateReply, error)
func (UnimplementedLoadServer) EvaluateV2 ¶ added in v0.0.16
func (UnimplementedLoadServer) EvaluateV2(context.Context, *EvaluateV2Request) (*EvaluateV2Reply, error)
type UnsafeLoadServer ¶
type UnsafeLoadServer interface {
// contains filtered or unexported methods
}
UnsafeLoadServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoadServer will result in compilation errors.