mocksymbolizer

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDebuginfodClient

type MockDebuginfodClient struct {
	mock.Mock
}

MockDebuginfodClient is an autogenerated mock type for the DebuginfodClient type

func NewMockDebuginfodClient

func NewMockDebuginfodClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDebuginfodClient

NewMockDebuginfodClient creates a new instance of MockDebuginfodClient. 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 (*MockDebuginfodClient) EXPECT

func (*MockDebuginfodClient) FetchDebuginfo

func (_m *MockDebuginfodClient) FetchDebuginfo(ctx context.Context, buildID string) (io.ReadCloser, error)

FetchDebuginfo provides a mock function with given fields: ctx, buildID

type MockDebuginfodClient_Expecter

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

func (*MockDebuginfodClient_Expecter) FetchDebuginfo

func (_e *MockDebuginfodClient_Expecter) FetchDebuginfo(ctx interface{}, buildID interface{}) *MockDebuginfodClient_FetchDebuginfo_Call

FetchDebuginfo is a helper method to define mock.On call

  • ctx context.Context
  • buildID string

type MockDebuginfodClient_FetchDebuginfo_Call

type MockDebuginfodClient_FetchDebuginfo_Call struct {
	*mock.Call
}

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

func (*MockDebuginfodClient_FetchDebuginfo_Call) Return

func (*MockDebuginfodClient_FetchDebuginfo_Call) Run

func (*MockDebuginfodClient_FetchDebuginfo_Call) RunAndReturn

Jump to

Keyboard shortcuts

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