Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIMAPClientProvider
- func (m *MockIMAPClientProvider) Authenticate(arg0 sasl.Client) error
- func (m *MockIMAPClientProvider) Capability() (map[string]bool, error)
- func (m *MockIMAPClientProvider) EXPECT() *MockIMAPClientProviderMockRecorder
- func (m *MockIMAPClientProvider) Fetch(arg0 *imap.SeqSet, arg1 []imap.FetchItem, arg2 chan *imap.Message) error
- func (m *MockIMAPClientProvider) List(arg0, arg1 string, arg2 chan *imap.MailboxInfo) error
- func (m *MockIMAPClientProvider) Login(arg0, arg1 string) error
- func (m *MockIMAPClientProvider) Select(arg0 string, arg1 bool) (*imap.MailboxStatus, error)
- func (m *MockIMAPClientProvider) State() imap.ConnState
- func (m *MockIMAPClientProvider) Support(arg0 string) (bool, error)
- func (m *MockIMAPClientProvider) SupportAuth(arg0 string) (bool, error)
- func (m *MockIMAPClientProvider) UidFetch(arg0 *imap.SeqSet, arg1 []imap.FetchItem, arg2 chan *imap.Message) error
- type MockIMAPClientProviderMockRecorder
- func (mr *MockIMAPClientProviderMockRecorder) Authenticate(arg0 interface{}) *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) Capability() *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) Fetch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) Select(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) State() *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) Support(arg0 interface{}) *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) SupportAuth(arg0 interface{}) *gomock.Call
- func (mr *MockIMAPClientProviderMockRecorder) UidFetch(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockPanicHandler
- type MockPanicHandlerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIMAPClientProvider ¶
type MockIMAPClientProvider struct {
// contains filtered or unexported fields
}
MockIMAPClientProvider is a mock of IMAPClientProvider interface.
func NewMockIMAPClientProvider ¶
func NewMockIMAPClientProvider(ctrl *gomock.Controller) *MockIMAPClientProvider
NewMockIMAPClientProvider creates a new mock instance.
func (*MockIMAPClientProvider) Authenticate ¶
func (m *MockIMAPClientProvider) Authenticate(arg0 sasl.Client) error
Authenticate mocks base method.
func (*MockIMAPClientProvider) Capability ¶
func (m *MockIMAPClientProvider) Capability() (map[string]bool, error)
Capability mocks base method.
func (*MockIMAPClientProvider) EXPECT ¶
func (m *MockIMAPClientProvider) EXPECT() *MockIMAPClientProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIMAPClientProvider) Fetch ¶
func (m *MockIMAPClientProvider) Fetch(arg0 *imap.SeqSet, arg1 []imap.FetchItem, arg2 chan *imap.Message) error
Fetch mocks base method.
func (*MockIMAPClientProvider) List ¶
func (m *MockIMAPClientProvider) List(arg0, arg1 string, arg2 chan *imap.MailboxInfo) error
List mocks base method.
func (*MockIMAPClientProvider) Login ¶
func (m *MockIMAPClientProvider) Login(arg0, arg1 string) error
Login mocks base method.
func (*MockIMAPClientProvider) Select ¶
func (m *MockIMAPClientProvider) Select(arg0 string, arg1 bool) (*imap.MailboxStatus, error)
Select mocks base method.
func (*MockIMAPClientProvider) State ¶
func (m *MockIMAPClientProvider) State() imap.ConnState
State mocks base method.
func (*MockIMAPClientProvider) Support ¶
func (m *MockIMAPClientProvider) Support(arg0 string) (bool, error)
Support mocks base method.
func (*MockIMAPClientProvider) SupportAuth ¶
func (m *MockIMAPClientProvider) SupportAuth(arg0 string) (bool, error)
SupportAuth mocks base method.
type MockIMAPClientProviderMockRecorder ¶
type MockIMAPClientProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockIMAPClientProviderMockRecorder is the mock recorder for MockIMAPClientProvider.
func (*MockIMAPClientProviderMockRecorder) Authenticate ¶
func (mr *MockIMAPClientProviderMockRecorder) Authenticate(arg0 interface{}) *gomock.Call
Authenticate indicates an expected call of Authenticate.
func (*MockIMAPClientProviderMockRecorder) Capability ¶
func (mr *MockIMAPClientProviderMockRecorder) Capability() *gomock.Call
Capability indicates an expected call of Capability.
func (*MockIMAPClientProviderMockRecorder) Fetch ¶
func (mr *MockIMAPClientProviderMockRecorder) Fetch(arg0, arg1, arg2 interface{}) *gomock.Call
Fetch indicates an expected call of Fetch.
func (*MockIMAPClientProviderMockRecorder) List ¶
func (mr *MockIMAPClientProviderMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockIMAPClientProviderMockRecorder) Login ¶
func (mr *MockIMAPClientProviderMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockIMAPClientProviderMockRecorder) Select ¶
func (mr *MockIMAPClientProviderMockRecorder) Select(arg0, arg1 interface{}) *gomock.Call
Select indicates an expected call of Select.
func (*MockIMAPClientProviderMockRecorder) State ¶
func (mr *MockIMAPClientProviderMockRecorder) State() *gomock.Call
State indicates an expected call of State.
func (*MockIMAPClientProviderMockRecorder) Support ¶
func (mr *MockIMAPClientProviderMockRecorder) Support(arg0 interface{}) *gomock.Call
Support indicates an expected call of Support.
func (*MockIMAPClientProviderMockRecorder) SupportAuth ¶
func (mr *MockIMAPClientProviderMockRecorder) SupportAuth(arg0 interface{}) *gomock.Call
SupportAuth indicates an expected call of SupportAuth.
func (*MockIMAPClientProviderMockRecorder) UidFetch ¶
func (mr *MockIMAPClientProviderMockRecorder) UidFetch(arg0, arg1, arg2 interface{}) *gomock.Call
UidFetch indicates an expected call of UidFetch.
type MockPanicHandler ¶
type MockPanicHandler struct {
// contains filtered or unexported fields
}
MockPanicHandler is a mock of PanicHandler interface.
func NewMockPanicHandler ¶
func NewMockPanicHandler(ctrl *gomock.Controller) *MockPanicHandler
NewMockPanicHandler creates a new mock instance.
func (*MockPanicHandler) EXPECT ¶
func (m *MockPanicHandler) EXPECT() *MockPanicHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPanicHandler) HandlePanic ¶
func (m *MockPanicHandler) HandlePanic()
HandlePanic mocks base method.
type MockPanicHandlerMockRecorder ¶
type MockPanicHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockPanicHandlerMockRecorder is the mock recorder for MockPanicHandler.
func (*MockPanicHandlerMockRecorder) HandlePanic ¶
func (mr *MockPanicHandlerMockRecorder) HandlePanic() *gomock.Call
HandlePanic indicates an expected call of HandlePanic.