mocksmtpclient

package
v0.0.0-...-b8b9e6a Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocksmtpclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSMTPClient

type MockSMTPClient struct {
	// contains filtered or unexported fields
}

MockSMTPClient is a mock of SMTPClient interface

func NewMockSMTPClient

func NewMockSMTPClient(ctrl *gomock.Controller) *MockSMTPClient

NewMockSMTPClient creates a new mock instance

func (*MockSMTPClient) Auth

func (m *MockSMTPClient) Auth(a smtp.Auth) error

Auth mocks base method

func (*MockSMTPClient) Close

func (m *MockSMTPClient) Close() error

Close mocks base method

func (*MockSMTPClient) Data

func (m *MockSMTPClient) Data() (io.WriteCloser, error)

Data mocks base method

func (*MockSMTPClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSMTPClient) Extension

func (m *MockSMTPClient) Extension(ext string) (bool, string)

Extension mocks base method

func (*MockSMTPClient) Hello

func (m *MockSMTPClient) Hello(localName string) error

Hello mocks base method

func (*MockSMTPClient) Mail

func (m *MockSMTPClient) Mail(from string) error

Mail mocks base method

func (*MockSMTPClient) Noop

func (m *MockSMTPClient) Noop() error

Noop mocks base method

func (*MockSMTPClient) Quit

func (m *MockSMTPClient) Quit() error

Quit mocks base method

func (*MockSMTPClient) Rcpt

func (m *MockSMTPClient) Rcpt(to string) error

Rcpt mocks base method

func (*MockSMTPClient) Reset

func (m *MockSMTPClient) Reset() error

Reset mocks base method

func (*MockSMTPClient) StartTLS

func (m *MockSMTPClient) StartTLS(config *tls.Config) error

StartTLS mocks base method

func (*MockSMTPClient) TLSConnectionState

func (m *MockSMTPClient) TLSConnectionState() (tls.ConnectionState, bool)

TLSConnectionState mocks base method

func (*MockSMTPClient) Verify

func (m *MockSMTPClient) Verify(addr string) error

Verify mocks base method

type MockSMTPClientMockRecorder

type MockSMTPClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockSMTPClientMockRecorder is the mock recorder for MockSMTPClient

func (*MockSMTPClientMockRecorder) Auth

func (mr *MockSMTPClientMockRecorder) Auth(a interface{}) *gomock.Call

Auth indicates an expected call of Auth

func (*MockSMTPClientMockRecorder) Close

func (mr *MockSMTPClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockSMTPClientMockRecorder) Data

Data indicates an expected call of Data

func (*MockSMTPClientMockRecorder) Extension

func (mr *MockSMTPClientMockRecorder) Extension(ext interface{}) *gomock.Call

Extension indicates an expected call of Extension

func (*MockSMTPClientMockRecorder) Hello

func (mr *MockSMTPClientMockRecorder) Hello(localName interface{}) *gomock.Call

Hello indicates an expected call of Hello

func (*MockSMTPClientMockRecorder) Mail

func (mr *MockSMTPClientMockRecorder) Mail(from interface{}) *gomock.Call

Mail indicates an expected call of Mail

func (*MockSMTPClientMockRecorder) Noop

Noop indicates an expected call of Noop

func (*MockSMTPClientMockRecorder) Quit

Quit indicates an expected call of Quit

func (*MockSMTPClientMockRecorder) Rcpt

func (mr *MockSMTPClientMockRecorder) Rcpt(to interface{}) *gomock.Call

Rcpt indicates an expected call of Rcpt

func (*MockSMTPClientMockRecorder) Reset

func (mr *MockSMTPClientMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset

func (*MockSMTPClientMockRecorder) StartTLS

func (mr *MockSMTPClientMockRecorder) StartTLS(config interface{}) *gomock.Call

StartTLS indicates an expected call of StartTLS

func (*MockSMTPClientMockRecorder) TLSConnectionState

func (mr *MockSMTPClientMockRecorder) TLSConnectionState() *gomock.Call

TLSConnectionState indicates an expected call of TLSConnectionState

func (*MockSMTPClientMockRecorder) Verify

func (mr *MockSMTPClientMockRecorder) Verify(addr interface{}) *gomock.Call

Verify indicates an expected call of Verify

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL