mocktools

package
v0.3.18 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocktools is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCallback

type MockCallback struct {
	// contains filtered or unexported fields
}

MockCallback is a mock of Callback interface.

func NewMockCallback

func NewMockCallback(ctrl *gomock.Controller) *MockCallback

NewMockCallback creates a new mock instance.

func (*MockCallback) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCallback) OnToolEnd

func (m *MockCallback) OnToolEnd(arg0 context.Context, arg1 tools.ITool, arg2, arg3 string)

OnToolEnd mocks base method.

func (*MockCallback) OnToolError

func (m *MockCallback) OnToolError(arg0 context.Context, arg1 tools.ITool, arg2 string, arg3 error)

OnToolError mocks base method.

func (*MockCallback) OnToolStart

func (m *MockCallback) OnToolStart(arg0 context.Context, arg1 tools.ITool, arg2 string)

OnToolStart mocks base method.

type MockCallbackMockRecorder

type MockCallbackMockRecorder struct {
	// contains filtered or unexported fields
}

MockCallbackMockRecorder is the mock recorder for MockCallback.

func (*MockCallbackMockRecorder) OnToolEnd

func (mr *MockCallbackMockRecorder) OnToolEnd(arg0, arg1, arg2, arg3 any) *gomock.Call

OnToolEnd indicates an expected call of OnToolEnd.

func (*MockCallbackMockRecorder) OnToolError

func (mr *MockCallbackMockRecorder) OnToolError(arg0, arg1, arg2, arg3 any) *gomock.Call

OnToolError indicates an expected call of OnToolError.

func (*MockCallbackMockRecorder) OnToolStart

func (mr *MockCallbackMockRecorder) OnToolStart(arg0, arg1, arg2 any) *gomock.Call

OnToolStart indicates an expected call of OnToolStart.

type MockITool

type MockITool struct {
	// contains filtered or unexported fields
}

MockITool is a mock of ITool interface.

func NewMockITool

func NewMockITool(ctrl *gomock.Controller) *MockITool

NewMockITool creates a new mock instance.

func (*MockITool) Call

func (m *MockITool) Call(arg0 context.Context, arg1 string) (string, error)

Call mocks base method.

func (*MockITool) Description

func (m *MockITool) Description() string

Description mocks base method.

func (*MockITool) EXPECT

func (m *MockITool) EXPECT() *MockIToolMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockITool) Name

func (m *MockITool) Name() string

Name mocks base method.

func (*MockITool) Parameters

func (m *MockITool) Parameters() any

Parameters mocks base method.

type MockIToolMockRecorder

type MockIToolMockRecorder struct {
	// contains filtered or unexported fields
}

MockIToolMockRecorder is the mock recorder for MockITool.

func (*MockIToolMockRecorder) Call

func (mr *MockIToolMockRecorder) Call(arg0, arg1 any) *gomock.Call

Call indicates an expected call of Call.

func (*MockIToolMockRecorder) Description

func (mr *MockIToolMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockIToolMockRecorder) Name

func (mr *MockIToolMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockIToolMockRecorder) Parameters

func (mr *MockIToolMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

type MockTool

type MockTool[I any, O any] struct {
	// contains filtered or unexported fields
}

MockTool is a mock of Tool interface.

func NewMockTool

func NewMockTool[I any, O any](ctrl *gomock.Controller) *MockTool[I, O]

NewMockTool creates a new mock instance.

func (*MockTool[I, O]) Call

func (m *MockTool[I, O]) Call(arg0 context.Context, arg1 string) (string, error)

Call mocks base method.

func (*MockTool[I, O]) Description

func (m *MockTool[I, O]) Description() string

Description mocks base method.

func (*MockTool[I, O]) EXPECT

func (m *MockTool[I, O]) EXPECT() *MockToolMockRecorder[I, O]

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTool[I, O]) Name

func (m *MockTool[I, O]) Name() string

Name mocks base method.

func (*MockTool[I, O]) Parameters

func (m *MockTool[I, O]) Parameters() any

Parameters mocks base method.

func (*MockTool[I, O]) Run

func (m *MockTool[I, O]) Run(arg0 context.Context, arg1 *I) (*O, error)

Run mocks base method.

type MockToolMockRecorder

type MockToolMockRecorder[I any, O any] struct {
	// contains filtered or unexported fields
}

MockToolMockRecorder is the mock recorder for MockTool.

func (*MockToolMockRecorder[I, O]) Call

func (mr *MockToolMockRecorder[I, O]) Call(arg0, arg1 any) *gomock.Call

Call indicates an expected call of Call.

func (*MockToolMockRecorder[I, O]) Description

func (mr *MockToolMockRecorder[I, O]) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockToolMockRecorder[I, O]) Name

func (mr *MockToolMockRecorder[I, O]) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockToolMockRecorder[I, O]) Parameters

func (mr *MockToolMockRecorder[I, O]) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*MockToolMockRecorder[I, O]) Run

func (mr *MockToolMockRecorder[I, O]) Run(arg0, arg1 any) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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