mockqueryfrontend

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockQueryBackend

type MockQueryBackend struct {
	mock.Mock
}

MockQueryBackend is an autogenerated mock type for the QueryBackend type

func NewMockQueryBackend

func NewMockQueryBackend(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockQueryBackend

NewMockQueryBackend creates a new instance of MockQueryBackend. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockQueryBackend) EXPECT

func (*MockQueryBackend) Invoke

Invoke provides a mock function with given fields: ctx, req

type MockQueryBackend_Expecter

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

func (*MockQueryBackend_Expecter) Invoke

func (_e *MockQueryBackend_Expecter) Invoke(ctx interface{}, req interface{}) *MockQueryBackend_Invoke_Call

Invoke is a helper method to define mock.On call

  • ctx context.Context
  • req *queryv1.InvokeRequest

type MockQueryBackend_Invoke_Call

type MockQueryBackend_Invoke_Call struct {
	*mock.Call
}

MockQueryBackend_Invoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Invoke'

func (*MockQueryBackend_Invoke_Call) Return

func (*MockQueryBackend_Invoke_Call) Run

func (*MockQueryBackend_Invoke_Call) RunAndReturn

type MockSymbolizer

type MockSymbolizer struct {
	mock.Mock
}

MockSymbolizer is an autogenerated mock type for the Symbolizer type

func NewMockSymbolizer

func NewMockSymbolizer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSymbolizer

NewMockSymbolizer creates a new instance of MockSymbolizer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockSymbolizer) EXPECT

func (*MockSymbolizer) SymbolizePprof

func (_m *MockSymbolizer) SymbolizePprof(ctx context.Context, profile *googlev1.Profile) error

SymbolizePprof provides a mock function with given fields: ctx, profile

type MockSymbolizer_Expecter

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

func (*MockSymbolizer_Expecter) SymbolizePprof

func (_e *MockSymbolizer_Expecter) SymbolizePprof(ctx interface{}, profile interface{}) *MockSymbolizer_SymbolizePprof_Call

SymbolizePprof is a helper method to define mock.On call

  • ctx context.Context
  • profile *googlev1.Profile

type MockSymbolizer_SymbolizePprof_Call

type MockSymbolizer_SymbolizePprof_Call struct {
	*mock.Call
}

MockSymbolizer_SymbolizePprof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SymbolizePprof'

func (*MockSymbolizer_SymbolizePprof_Call) Return

func (*MockSymbolizer_SymbolizePprof_Call) Run

func (*MockSymbolizer_SymbolizePprof_Call) RunAndReturn

Jump to

Keyboard shortcuts

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