evalmock

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package evalmock is a generated GoMock package.

Index

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

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

func (m *MockIEvaluator) ResolveAllValues(reqID string, context *structpb.Struct) []eval.AnyValue

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.

func (*MockIEvaluator) SetState

func (m *MockIEvaluator) SetState(payload sync.DataSync) (map[string]interface{}, bool, error)

SetState 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.

Jump to

Keyboard shortcuts

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