evalmock

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 3 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) ResolveBooleanValue

func (m *MockIEvaluator) ResolveBooleanValue(flagKey string, context *structpb.Struct) (bool, string, string, error)

ResolveBooleanValue mocks base method.

func (*MockIEvaluator) ResolveFloatValue

func (m *MockIEvaluator) ResolveFloatValue(flagKey string, context *structpb.Struct) (float64, string, string, error)

ResolveFloatValue mocks base method.

func (*MockIEvaluator) ResolveIntValue

func (m *MockIEvaluator) ResolveIntValue(flagKey string, context *structpb.Struct) (int64, string, string, error)

ResolveIntValue mocks base method.

func (*MockIEvaluator) ResolveObjectValue

func (m *MockIEvaluator) ResolveObjectValue(flagKey string, context *structpb.Struct) (map[string]any, string, string, error)

ResolveObjectValue mocks base method.

func (*MockIEvaluator) ResolveStringValue

func (m *MockIEvaluator) ResolveStringValue(flagKey string, context *structpb.Struct) (string, string, string, error)

ResolveStringValue mocks base method.

func (*MockIEvaluator) SetState

func (m *MockIEvaluator) SetState(source, state string) 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) ResolveBooleanValue

func (mr *MockIEvaluatorMockRecorder) ResolveBooleanValue(flagKey, context interface{}) *gomock.Call

ResolveBooleanValue indicates an expected call of ResolveBooleanValue.

func (*MockIEvaluatorMockRecorder) ResolveFloatValue

func (mr *MockIEvaluatorMockRecorder) ResolveFloatValue(flagKey, context interface{}) *gomock.Call

ResolveFloatValue indicates an expected call of ResolveFloatValue.

func (*MockIEvaluatorMockRecorder) ResolveIntValue

func (mr *MockIEvaluatorMockRecorder) ResolveIntValue(flagKey, context interface{}) *gomock.Call

ResolveIntValue indicates an expected call of ResolveIntValue.

func (*MockIEvaluatorMockRecorder) ResolveObjectValue

func (mr *MockIEvaluatorMockRecorder) ResolveObjectValue(flagKey, context interface{}) *gomock.Call

ResolveObjectValue indicates an expected call of ResolveObjectValue.

func (*MockIEvaluatorMockRecorder) ResolveStringValue

func (mr *MockIEvaluatorMockRecorder) ResolveStringValue(flagKey, context interface{}) *gomock.Call

ResolveStringValue indicates an expected call of ResolveStringValue.

func (*MockIEvaluatorMockRecorder) SetState

func (mr *MockIEvaluatorMockRecorder) SetState(source, state 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