Documentation ¶
Overview ¶
Package evalmock is a generated GoMock package.
Index ¶
- type MockIEvaluator
- func (m *MockIEvaluator) EXPECT() *MockIEvaluatorMockRecorder
- func (m *MockIEvaluator) GetState() (string, error)
- func (m *MockIEvaluator) ResolveAllValues(reqID string, context *structpb.Struct) []eval.AnyValue
- func (m *MockIEvaluator) ResolveBooleanValue(reqID, flagKey string, context *structpb.Struct) (bool, string, string, error)
- func (m *MockIEvaluator) ResolveFloatValue(reqID, flagKey string, context *structpb.Struct) (float64, string, string, error)
- func (m *MockIEvaluator) ResolveIntValue(reqID, flagKey string, context *structpb.Struct) (int64, string, string, error)
- func (m *MockIEvaluator) ResolveObjectValue(reqID, flagKey string, context *structpb.Struct) (map[string]any, string, string, error)
- func (m *MockIEvaluator) ResolveStringValue(reqID, flagKey string, context *structpb.Struct) (string, string, string, error)
- func (m *MockIEvaluator) SetState(payload sync.DataSync) (map[string]interface{}, bool, error)
- type MockIEvaluatorMockRecorder
- func (mr *MockIEvaluatorMockRecorder) GetState() *gomock.Call
- func (mr *MockIEvaluatorMockRecorder) ResolveAllValues(reqID, context interface{}) *gomock.Call
- func (mr *MockIEvaluatorMockRecorder) ResolveBooleanValue(reqID, flagKey, context interface{}) *gomock.Call
- func (mr *MockIEvaluatorMockRecorder) ResolveFloatValue(reqID, flagKey, context interface{}) *gomock.Call
- func (mr *MockIEvaluatorMockRecorder) ResolveIntValue(reqID, flagKey, context interface{}) *gomock.Call
- func (mr *MockIEvaluatorMockRecorder) ResolveObjectValue(reqID, flagKey, context interface{}) *gomock.Call
- func (mr *MockIEvaluatorMockRecorder) ResolveStringValue(reqID, flagKey, context interface{}) *gomock.Call
- func (mr *MockIEvaluatorMockRecorder) SetState(payload interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIEvaluator ¶
type MockIEvaluator struct {
// contains filtered or unexported fields
}
MockIEvaluator is a mock of IEvaluator interface.
func NewMockIEvaluator ¶
func NewMockIEvaluator(ctrl *gomock.Controller) *MockIEvaluator
NewMockIEvaluator creates a new mock instance.
func (*MockIEvaluator) EXPECT ¶
func (m *MockIEvaluator) EXPECT() *MockIEvaluatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIEvaluator) GetState ¶
func (m *MockIEvaluator) GetState() (string, error)
GetState mocks base method.
func (*MockIEvaluator) ResolveAllValues ¶ added in v0.3.1
ResolveAllValues mocks base method.
func (*MockIEvaluator) ResolveBooleanValue ¶
func (m *MockIEvaluator) ResolveBooleanValue(reqID, flagKey string, context *structpb.Struct) (bool, string, string, error)
ResolveBooleanValue mocks base method.
func (*MockIEvaluator) ResolveFloatValue ¶
func (m *MockIEvaluator) ResolveFloatValue(reqID, flagKey string, context *structpb.Struct) (float64, string, string, error)
ResolveFloatValue mocks base method.
func (*MockIEvaluator) ResolveIntValue ¶
func (m *MockIEvaluator) ResolveIntValue(reqID, flagKey string, context *structpb.Struct) (int64, string, string, error)
ResolveIntValue mocks base method.
func (*MockIEvaluator) ResolveObjectValue ¶
func (m *MockIEvaluator) ResolveObjectValue(reqID, flagKey string, context *structpb.Struct) (map[string]any, string, string, error)
ResolveObjectValue mocks base method.
func (*MockIEvaluator) ResolveStringValue ¶
func (m *MockIEvaluator) ResolveStringValue(reqID, flagKey string, context *structpb.Struct) (string, string, string, error)
ResolveStringValue mocks base method.
type MockIEvaluatorMockRecorder ¶
type MockIEvaluatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIEvaluatorMockRecorder is the mock recorder for MockIEvaluator.
func (*MockIEvaluatorMockRecorder) GetState ¶
func (mr *MockIEvaluatorMockRecorder) GetState() *gomock.Call
GetState indicates an expected call of GetState.
func (*MockIEvaluatorMockRecorder) ResolveAllValues ¶ added in v0.3.1
func (mr *MockIEvaluatorMockRecorder) ResolveAllValues(reqID, context interface{}) *gomock.Call
ResolveAllValues indicates an expected call of ResolveAllValues.
func (*MockIEvaluatorMockRecorder) ResolveBooleanValue ¶
func (mr *MockIEvaluatorMockRecorder) ResolveBooleanValue(reqID, flagKey, context interface{}) *gomock.Call
ResolveBooleanValue indicates an expected call of ResolveBooleanValue.
func (*MockIEvaluatorMockRecorder) ResolveFloatValue ¶
func (mr *MockIEvaluatorMockRecorder) ResolveFloatValue(reqID, flagKey, context interface{}) *gomock.Call
ResolveFloatValue indicates an expected call of ResolveFloatValue.
func (*MockIEvaluatorMockRecorder) ResolveIntValue ¶
func (mr *MockIEvaluatorMockRecorder) ResolveIntValue(reqID, flagKey, context interface{}) *gomock.Call
ResolveIntValue indicates an expected call of ResolveIntValue.
func (*MockIEvaluatorMockRecorder) ResolveObjectValue ¶
func (mr *MockIEvaluatorMockRecorder) ResolveObjectValue(reqID, flagKey, context interface{}) *gomock.Call
ResolveObjectValue indicates an expected call of ResolveObjectValue.
func (*MockIEvaluatorMockRecorder) ResolveStringValue ¶
func (mr *MockIEvaluatorMockRecorder) ResolveStringValue(reqID, flagKey, context interface{}) *gomock.Call
ResolveStringValue indicates an expected call of ResolveStringValue.
func (*MockIEvaluatorMockRecorder) SetState ¶
func (mr *MockIEvaluatorMockRecorder) SetState(payload interface{}) *gomock.Call
SetState indicates an expected call of SetState.