Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIMAPStateWrite
- func (m *MockIMAPStateWrite) AddFlagsToAllMailboxes(arg0 context.Context, arg1 ...string) error
- func (m *MockIMAPStateWrite) AddPermFlagsToAllMailboxes(arg0 context.Context, arg1 ...string) error
- func (m *MockIMAPStateWrite) CreateMailbox(arg0 context.Context, arg1 imap.Mailbox) error
- func (m *MockIMAPStateWrite) EXPECT() *MockIMAPStateWriteMockRecorder
- func (m *MockIMAPStateWrite) GetMailboxCount(arg0 context.Context) (int, error)
- func (m *MockIMAPStateWrite) GetMailboxesWithoutAttrib(arg0 context.Context) ([]imap.MailboxNoAttrib, error)
- func (m *MockIMAPStateWrite) GetSettings(arg0 context.Context) (string, bool, error)
- func (m *MockIMAPStateWrite) PatchMailboxHierarchyWithoutTransforms(arg0 context.Context, arg1 imap.MailboxID, arg2 []string) error
- func (m *MockIMAPStateWrite) StoreSettings(arg0 context.Context, arg1 string) error
- func (m *MockIMAPStateWrite) UpdateMessageFlags(arg0 context.Context, arg1 imap.MessageID, arg2 imap.FlagSet) error
- type MockIMAPStateWriteMockRecorder
- func (mr *MockIMAPStateWriteMockRecorder) AddFlagsToAllMailboxes(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) AddPermFlagsToAllMailboxes(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) CreateMailbox(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) GetMailboxCount(arg0 interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) GetMailboxesWithoutAttrib(arg0 interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) GetSettings(arg0 interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) PatchMailboxHierarchyWithoutTransforms(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) StoreSettings(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIMAPStateWriteMockRecorder) UpdateMessageFlags(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIMAPStateWrite ¶
type MockIMAPStateWrite struct {
// contains filtered or unexported fields
}
MockIMAPStateWrite is a mock of IMAPStateWrite interface.
func NewMockIMAPStateWrite ¶
func NewMockIMAPStateWrite(ctrl *gomock.Controller) *MockIMAPStateWrite
NewMockIMAPStateWrite creates a new mock instance.
func (*MockIMAPStateWrite) AddFlagsToAllMailboxes ¶ added in v3.7.1
func (m *MockIMAPStateWrite) AddFlagsToAllMailboxes(arg0 context.Context, arg1 ...string) error
AddFlagsToAllMailboxes mocks base method.
func (*MockIMAPStateWrite) AddPermFlagsToAllMailboxes ¶ added in v3.7.1
func (m *MockIMAPStateWrite) AddPermFlagsToAllMailboxes(arg0 context.Context, arg1 ...string) error
AddPermFlagsToAllMailboxes mocks base method.
func (*MockIMAPStateWrite) CreateMailbox ¶
CreateMailbox mocks base method.
func (*MockIMAPStateWrite) EXPECT ¶
func (m *MockIMAPStateWrite) EXPECT() *MockIMAPStateWriteMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIMAPStateWrite) GetMailboxCount ¶
func (m *MockIMAPStateWrite) GetMailboxCount(arg0 context.Context) (int, error)
GetMailboxCount mocks base method.
func (*MockIMAPStateWrite) GetMailboxesWithoutAttrib ¶
func (m *MockIMAPStateWrite) GetMailboxesWithoutAttrib(arg0 context.Context) ([]imap.MailboxNoAttrib, error)
GetMailboxesWithoutAttrib mocks base method.
func (*MockIMAPStateWrite) GetSettings ¶
GetSettings mocks base method.
func (*MockIMAPStateWrite) PatchMailboxHierarchyWithoutTransforms ¶
func (m *MockIMAPStateWrite) PatchMailboxHierarchyWithoutTransforms(arg0 context.Context, arg1 imap.MailboxID, arg2 []string) error
PatchMailboxHierarchyWithoutTransforms mocks base method.
func (*MockIMAPStateWrite) StoreSettings ¶
func (m *MockIMAPStateWrite) StoreSettings(arg0 context.Context, arg1 string) error
StoreSettings mocks base method.
func (*MockIMAPStateWrite) UpdateMessageFlags ¶
func (m *MockIMAPStateWrite) UpdateMessageFlags(arg0 context.Context, arg1 imap.MessageID, arg2 imap.FlagSet) error
UpdateMessageFlags mocks base method.
type MockIMAPStateWriteMockRecorder ¶
type MockIMAPStateWriteMockRecorder struct {
// contains filtered or unexported fields
}
MockIMAPStateWriteMockRecorder is the mock recorder for MockIMAPStateWrite.
func (*MockIMAPStateWriteMockRecorder) AddFlagsToAllMailboxes ¶ added in v3.7.1
func (mr *MockIMAPStateWriteMockRecorder) AddFlagsToAllMailboxes(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AddFlagsToAllMailboxes indicates an expected call of AddFlagsToAllMailboxes.
func (*MockIMAPStateWriteMockRecorder) AddPermFlagsToAllMailboxes ¶ added in v3.7.1
func (mr *MockIMAPStateWriteMockRecorder) AddPermFlagsToAllMailboxes(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AddPermFlagsToAllMailboxes indicates an expected call of AddPermFlagsToAllMailboxes.
func (*MockIMAPStateWriteMockRecorder) CreateMailbox ¶
func (mr *MockIMAPStateWriteMockRecorder) CreateMailbox(arg0, arg1 interface{}) *gomock.Call
CreateMailbox indicates an expected call of CreateMailbox.
func (*MockIMAPStateWriteMockRecorder) GetMailboxCount ¶
func (mr *MockIMAPStateWriteMockRecorder) GetMailboxCount(arg0 interface{}) *gomock.Call
GetMailboxCount indicates an expected call of GetMailboxCount.
func (*MockIMAPStateWriteMockRecorder) GetMailboxesWithoutAttrib ¶
func (mr *MockIMAPStateWriteMockRecorder) GetMailboxesWithoutAttrib(arg0 interface{}) *gomock.Call
GetMailboxesWithoutAttrib indicates an expected call of GetMailboxesWithoutAttrib.
func (*MockIMAPStateWriteMockRecorder) GetSettings ¶
func (mr *MockIMAPStateWriteMockRecorder) GetSettings(arg0 interface{}) *gomock.Call
GetSettings indicates an expected call of GetSettings.
func (*MockIMAPStateWriteMockRecorder) PatchMailboxHierarchyWithoutTransforms ¶
func (mr *MockIMAPStateWriteMockRecorder) PatchMailboxHierarchyWithoutTransforms(arg0, arg1, arg2 interface{}) *gomock.Call
PatchMailboxHierarchyWithoutTransforms indicates an expected call of PatchMailboxHierarchyWithoutTransforms.
func (*MockIMAPStateWriteMockRecorder) StoreSettings ¶
func (mr *MockIMAPStateWriteMockRecorder) StoreSettings(arg0, arg1 interface{}) *gomock.Call
StoreSettings indicates an expected call of StoreSettings.
func (*MockIMAPStateWriteMockRecorder) UpdateMessageFlags ¶
func (mr *MockIMAPStateWriteMockRecorder) UpdateMessageFlags(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateMessageFlags indicates an expected call of UpdateMessageFlags.