Documentation ¶
Overview ¶
Package mock_remote is a generated GoMock package.
Index ¶
- type MockConnector
- func (m *MockConnector) Close() error
- func (m *MockConnector) CreateLabel(arg0 context.Context, arg1 []string, arg2 bool) (imap.Mailbox, error)
- func (m *MockConnector) CreateMessage(arg0 context.Context, arg1 string, arg2 []byte, arg3 imap.FlagSet, ...) (imap.Message, error)
- func (m *MockConnector) DeleteLabel(arg0 context.Context, arg1 string) error
- func (m *MockConnector) EXPECT() *MockConnectorMockRecorder
- func (m *MockConnector) GetLabel(arg0 context.Context, arg1 string) (imap.Mailbox, error)
- func (m *MockConnector) GetMessage(arg0 context.Context, arg1 string) (imap.Message, []string, error)
- func (m *MockConnector) GetUpdates() <-chan imap.Update
- func (m *MockConnector) LabelMessages(arg0 context.Context, arg1 []string, arg2 string) error
- func (m *MockConnector) MarkMessagesFlagged(arg0 context.Context, arg1 []string, arg2 bool) error
- func (m *MockConnector) MarkMessagesSeen(arg0 context.Context, arg1 []string, arg2 bool) error
- func (m *MockConnector) Pause()
- func (m *MockConnector) Resume()
- func (m *MockConnector) UnlabelMessages(arg0 context.Context, arg1 []string, arg2 string) error
- func (m *MockConnector) UpdateLabel(arg0 context.Context, arg1 string, arg2 []string) error
- func (m *MockConnector) ValidateCreate(arg0 []string) (bool, imap.FlagSet, imap.FlagSet, imap.FlagSet, error)
- func (m *MockConnector) ValidateDelete(arg0 []string) error
- func (m *MockConnector) ValidateUpdate(arg0, arg1 []string) error
- type MockConnectorMockRecorder
- func (mr *MockConnectorMockRecorder) Close() *gomock.Call
- func (mr *MockConnectorMockRecorder) CreateLabel(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) CreateMessage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) DeleteLabel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) GetLabel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) GetMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) GetUpdates() *gomock.Call
- func (mr *MockConnectorMockRecorder) LabelMessages(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) MarkMessagesFlagged(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) MarkMessagesSeen(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) Pause() *gomock.Call
- func (mr *MockConnectorMockRecorder) Resume() *gomock.Call
- func (mr *MockConnectorMockRecorder) UnlabelMessages(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) UpdateLabel(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) ValidateCreate(arg0 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) ValidateDelete(arg0 interface{}) *gomock.Call
- func (mr *MockConnectorMockRecorder) ValidateUpdate(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnector ¶
type MockConnector struct {
// contains filtered or unexported fields
}
MockConnector is a mock of Connector interface.
func NewMockConnector ¶
func NewMockConnector(ctrl *gomock.Controller) *MockConnector
NewMockConnector creates a new mock instance.
func (*MockConnector) CreateLabel ¶
func (m *MockConnector) CreateLabel(arg0 context.Context, arg1 []string, arg2 bool) (imap.Mailbox, error)
CreateLabel mocks base method.
func (*MockConnector) CreateMessage ¶
func (m *MockConnector) CreateMessage(arg0 context.Context, arg1 string, arg2 []byte, arg3 imap.FlagSet, arg4 time.Time) (imap.Message, error)
CreateMessage mocks base method.
func (*MockConnector) DeleteLabel ¶
func (m *MockConnector) DeleteLabel(arg0 context.Context, arg1 string) error
DeleteLabel mocks base method.
func (*MockConnector) EXPECT ¶
func (m *MockConnector) EXPECT() *MockConnectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnector) GetMessage ¶
func (m *MockConnector) GetMessage(arg0 context.Context, arg1 string) (imap.Message, []string, error)
GetMessage mocks base method.
func (*MockConnector) GetUpdates ¶
func (m *MockConnector) GetUpdates() <-chan imap.Update
GetUpdates mocks base method.
func (*MockConnector) LabelMessages ¶
LabelMessages mocks base method.
func (*MockConnector) MarkMessagesFlagged ¶
MarkMessagesFlagged mocks base method.
func (*MockConnector) MarkMessagesSeen ¶
MarkMessagesSeen mocks base method.
func (*MockConnector) UnlabelMessages ¶
UnlabelMessages mocks base method.
func (*MockConnector) UpdateLabel ¶
UpdateLabel mocks base method.
func (*MockConnector) ValidateCreate ¶
func (m *MockConnector) ValidateCreate(arg0 []string) (bool, imap.FlagSet, imap.FlagSet, imap.FlagSet, error)
ValidateCreate mocks base method.
func (*MockConnector) ValidateDelete ¶
func (m *MockConnector) ValidateDelete(arg0 []string) error
ValidateDelete mocks base method.
func (*MockConnector) ValidateUpdate ¶
func (m *MockConnector) ValidateUpdate(arg0, arg1 []string) error
ValidateUpdate mocks base method.
type MockConnectorMockRecorder ¶
type MockConnectorMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectorMockRecorder is the mock recorder for MockConnector.
func (*MockConnectorMockRecorder) Close ¶
func (mr *MockConnectorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockConnectorMockRecorder) CreateLabel ¶
func (mr *MockConnectorMockRecorder) CreateLabel(arg0, arg1, arg2 interface{}) *gomock.Call
CreateLabel indicates an expected call of CreateLabel.
func (*MockConnectorMockRecorder) CreateMessage ¶
func (mr *MockConnectorMockRecorder) CreateMessage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateMessage indicates an expected call of CreateMessage.
func (*MockConnectorMockRecorder) DeleteLabel ¶
func (mr *MockConnectorMockRecorder) DeleteLabel(arg0, arg1 interface{}) *gomock.Call
DeleteLabel indicates an expected call of DeleteLabel.
func (*MockConnectorMockRecorder) GetLabel ¶
func (mr *MockConnectorMockRecorder) GetLabel(arg0, arg1 interface{}) *gomock.Call
GetLabel indicates an expected call of GetLabel.
func (*MockConnectorMockRecorder) GetMessage ¶
func (mr *MockConnectorMockRecorder) GetMessage(arg0, arg1 interface{}) *gomock.Call
GetMessage indicates an expected call of GetMessage.
func (*MockConnectorMockRecorder) GetUpdates ¶
func (mr *MockConnectorMockRecorder) GetUpdates() *gomock.Call
GetUpdates indicates an expected call of GetUpdates.
func (*MockConnectorMockRecorder) LabelMessages ¶
func (mr *MockConnectorMockRecorder) LabelMessages(arg0, arg1, arg2 interface{}) *gomock.Call
LabelMessages indicates an expected call of LabelMessages.
func (*MockConnectorMockRecorder) MarkMessagesFlagged ¶
func (mr *MockConnectorMockRecorder) MarkMessagesFlagged(arg0, arg1, arg2 interface{}) *gomock.Call
MarkMessagesFlagged indicates an expected call of MarkMessagesFlagged.
func (*MockConnectorMockRecorder) MarkMessagesSeen ¶
func (mr *MockConnectorMockRecorder) MarkMessagesSeen(arg0, arg1, arg2 interface{}) *gomock.Call
MarkMessagesSeen indicates an expected call of MarkMessagesSeen.
func (*MockConnectorMockRecorder) Pause ¶
func (mr *MockConnectorMockRecorder) Pause() *gomock.Call
Pause indicates an expected call of Pause.
func (*MockConnectorMockRecorder) Resume ¶
func (mr *MockConnectorMockRecorder) Resume() *gomock.Call
Resume indicates an expected call of Resume.
func (*MockConnectorMockRecorder) UnlabelMessages ¶
func (mr *MockConnectorMockRecorder) UnlabelMessages(arg0, arg1, arg2 interface{}) *gomock.Call
UnlabelMessages indicates an expected call of UnlabelMessages.
func (*MockConnectorMockRecorder) UpdateLabel ¶
func (mr *MockConnectorMockRecorder) UpdateLabel(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateLabel indicates an expected call of UpdateLabel.
func (*MockConnectorMockRecorder) ValidateCreate ¶
func (mr *MockConnectorMockRecorder) ValidateCreate(arg0 interface{}) *gomock.Call
ValidateCreate indicates an expected call of ValidateCreate.
func (*MockConnectorMockRecorder) ValidateDelete ¶
func (mr *MockConnectorMockRecorder) ValidateDelete(arg0 interface{}) *gomock.Call
ValidateDelete indicates an expected call of ValidateDelete.
func (*MockConnectorMockRecorder) ValidateUpdate ¶
func (mr *MockConnectorMockRecorder) ValidateUpdate(arg0, arg1 interface{}) *gomock.Call
ValidateUpdate indicates an expected call of ValidateUpdate.