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 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"
)
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, }, }, 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 LoadClient ¶
type LoadClient interface { // 校验规则 Evaluate(ctx context.Context, in *EvaluateRequest, opts ...grpc.CallOption) (*EvaluateReply, 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) // 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)
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.