mocksymbolizer

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 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 MockDebugInfoStore

type MockDebugInfoStore struct {
	mock.Mock
}

MockDebugInfoStore is an autogenerated mock type for the DebugInfoStore type

func NewMockDebugInfoStore

func NewMockDebugInfoStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDebugInfoStore

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

func (*MockDebugInfoStore) Get

func (_m *MockDebugInfoStore) Get(ctx context.Context, buildID string) (io.ReadCloser, error)

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

func (*MockDebugInfoStore) Put

func (_m *MockDebugInfoStore) Put(ctx context.Context, buildID string, reader io.Reader) error

Put provides a mock function with given fields: ctx, buildID, reader

type MockDebugInfoStore_Expecter

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

func (*MockDebugInfoStore_Expecter) Get

func (_e *MockDebugInfoStore_Expecter) Get(ctx interface{}, buildID interface{}) *MockDebugInfoStore_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • buildID string

func (*MockDebugInfoStore_Expecter) Put

func (_e *MockDebugInfoStore_Expecter) Put(ctx interface{}, buildID interface{}, reader interface{}) *MockDebugInfoStore_Put_Call

Put is a helper method to define mock.On call

  • ctx context.Context
  • buildID string
  • reader io.Reader

type MockDebugInfoStore_Get_Call

type MockDebugInfoStore_Get_Call struct {
	*mock.Call
}

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

func (*MockDebugInfoStore_Get_Call) Return

func (*MockDebugInfoStore_Get_Call) Run

func (*MockDebugInfoStore_Get_Call) RunAndReturn

type MockDebugInfoStore_Put_Call

type MockDebugInfoStore_Put_Call struct {
	*mock.Call
}

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

func (*MockDebugInfoStore_Put_Call) Return

func (*MockDebugInfoStore_Put_Call) Run

func (_c *MockDebugInfoStore_Put_Call) Run(run func(ctx context.Context, buildID string, reader io.Reader)) *MockDebugInfoStore_Put_Call

func (*MockDebugInfoStore_Put_Call) RunAndReturn

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