Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockFetcher
- func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder
- func (m *MockFetcher) GetAttachment(arg0 context.Context, arg1 string) (io.ReadCloser, error)
- func (m *MockFetcher) GetMessage(arg0 context.Context, arg1 string) (*pmapi.Message, error)
- func (m *MockFetcher) KeyRingForAddressID(arg0 string) (*crypto.KeyRing, error)
- type MockFetcherMockRecorder
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.