mocks

package
v2.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

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