Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Evaluator ¶
Evaluator is a mock implementation of evaluation.Evaluator for testing purposes.
func (*Evaluator) AddDataToContext ¶
func (m *Evaluator) AddDataToContext( ctx context.Context, d ...map[string]any, ) (context.Context, error)
AddDataToContext is a mock implementation of the AddDataToContext method.
type EvaluatorResponse ¶
EvaluatorResponse is a mock implementation of the cpu.EvaluatorResponse interface.
func (*EvaluatorResponse) GetExecTime ¶
func (m *EvaluatorResponse) GetExecTime() string
GetExecTime returns a mockable execution time.
func (*EvaluatorResponse) GetScriptExeID ¶
func (m *EvaluatorResponse) GetScriptExeID() string
GetScriptExeID returns a mockable script version.
func (*EvaluatorResponse) Inspect ¶
func (m *EvaluatorResponse) Inspect() string
Inspect returns a mockable string.
func (*EvaluatorResponse) Interface ¶
func (m *EvaluatorResponse) Interface() any
Interface returns a mockable value of "any" type, and must be type asserted to the correct type.
func (*EvaluatorResponse) Type ¶
func (m *EvaluatorResponse) Type() data.Types
Type returns a mockable Type.
Click to show internal directories.
Click to hide internal directories.