mocks

package
v1.8.12 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFetcher

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

MockFetcher is a mock of Fetcher interface.

func NewMockFetcher

func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher

NewMockFetcher creates a new mock instance.

func (*MockFetcher) EXPECT

func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder

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

func (*MockFetcher) GetAttachment

func (m *MockFetcher) GetAttachment(arg0 context.Context, arg1 string) (io.ReadCloser, error)

GetAttachment mocks base method.

func (*MockFetcher) GetMessage

func (m *MockFetcher) GetMessage(arg0 context.Context, arg1 string) (*pmapi.Message, error)

GetMessage mocks base method.

func (*MockFetcher) KeyRingForAddressID

func (m *MockFetcher) KeyRingForAddressID(arg0 string) (*crypto.KeyRing, error)

KeyRingForAddressID mocks base method.

type MockFetcherMockRecorder

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

MockFetcherMockRecorder is the mock recorder for MockFetcher.

func (*MockFetcherMockRecorder) GetAttachment

func (mr *MockFetcherMockRecorder) GetAttachment(arg0, arg1 interface{}) *gomock.Call

GetAttachment indicates an expected call of GetAttachment.

func (*MockFetcherMockRecorder) GetMessage

func (mr *MockFetcherMockRecorder) GetMessage(arg0, arg1 interface{}) *gomock.Call

GetMessage indicates an expected call of GetMessage.

func (*MockFetcherMockRecorder) KeyRingForAddressID

func (mr *MockFetcherMockRecorder) KeyRingForAddressID(arg0 interface{}) *gomock.Call

KeyRingForAddressID indicates an expected call of KeyRingForAddressID.

Jump to

Keyboard shortcuts

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