smtpserverfakes

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDkimChecker added in v0.1.6

type FakeDkimChecker struct {
	GetStatusStub func([]byte) (dkim.Status, error)

	ValidateAlignmentStub func([]byte, string) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeDkimChecker) GetStatus added in v0.1.6

func (fake *FakeDkimChecker) GetStatus(arg1 []byte) (dkim.Status, error)

func (*FakeDkimChecker) GetStatusArgsForCall added in v0.1.6

func (fake *FakeDkimChecker) GetStatusArgsForCall(i int) []byte

func (*FakeDkimChecker) GetStatusCallCount added in v0.1.6

func (fake *FakeDkimChecker) GetStatusCallCount() int

func (*FakeDkimChecker) GetStatusCalls added in v0.1.6

func (fake *FakeDkimChecker) GetStatusCalls(stub func([]byte) (dkim.Status, error))

func (*FakeDkimChecker) GetStatusReturns added in v0.1.6

func (fake *FakeDkimChecker) GetStatusReturns(result1 dkim.Status, result2 error)

func (*FakeDkimChecker) GetStatusReturnsOnCall added in v0.1.6

func (fake *FakeDkimChecker) GetStatusReturnsOnCall(i int, result1 dkim.Status, result2 error)

func (*FakeDkimChecker) Invocations added in v0.1.6

func (fake *FakeDkimChecker) Invocations() map[string][][]interface{}

func (*FakeDkimChecker) ValidateAlignment added in v0.1.6

func (fake *FakeDkimChecker) ValidateAlignment(arg1 []byte, arg2 string) (bool, error)

func (*FakeDkimChecker) ValidateAlignmentArgsForCall added in v0.1.6

func (fake *FakeDkimChecker) ValidateAlignmentArgsForCall(i int) ([]byte, string)

func (*FakeDkimChecker) ValidateAlignmentCallCount added in v0.1.6

func (fake *FakeDkimChecker) ValidateAlignmentCallCount() int

func (*FakeDkimChecker) ValidateAlignmentCalls added in v0.1.6

func (fake *FakeDkimChecker) ValidateAlignmentCalls(stub func([]byte, string) (bool, error))

func (*FakeDkimChecker) ValidateAlignmentReturns added in v0.1.6

func (fake *FakeDkimChecker) ValidateAlignmentReturns(result1 bool, result2 error)

func (*FakeDkimChecker) ValidateAlignmentReturnsOnCall added in v0.1.6

func (fake *FakeDkimChecker) ValidateAlignmentReturnsOnCall(i int, result1 bool, result2 error)

type FakeEmailSender added in v0.1.12

type FakeEmailSender struct {
	SendMailStub func(*letterbox.ForwardingMessage) error
	// contains filtered or unexported fields
}

func (*FakeEmailSender) Invocations added in v0.1.12

func (fake *FakeEmailSender) Invocations() map[string][][]interface{}

func (*FakeEmailSender) SendMail added in v0.1.12

func (fake *FakeEmailSender) SendMail(arg1 *letterbox.ForwardingMessage) error

func (*FakeEmailSender) SendMailArgsForCall added in v0.1.12

func (fake *FakeEmailSender) SendMailArgsForCall(i int) *letterbox.ForwardingMessage

func (*FakeEmailSender) SendMailCallCount added in v0.1.12

func (fake *FakeEmailSender) SendMailCallCount() int

func (*FakeEmailSender) SendMailCalls added in v0.1.12

func (fake *FakeEmailSender) SendMailCalls(stub func(*letterbox.ForwardingMessage) error)

func (*FakeEmailSender) SendMailReturns added in v0.1.12

func (fake *FakeEmailSender) SendMailReturns(result1 error)

func (*FakeEmailSender) SendMailReturnsOnCall added in v0.1.12

func (fake *FakeEmailSender) SendMailReturnsOnCall(i int, result1 error)

type FakeSpfChecker added in v0.1.6

type FakeSpfChecker struct {
	GetStatusStub func(net.IP, string, string) (spf.Status, error)

	ValidateAlignmentStub func(string, string) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeSpfChecker) GetStatus added in v0.1.6

func (fake *FakeSpfChecker) GetStatus(arg1 net.IP, arg2 string, arg3 string) (spf.Status, error)

func (*FakeSpfChecker) GetStatusArgsForCall added in v0.1.6

func (fake *FakeSpfChecker) GetStatusArgsForCall(i int) (net.IP, string, string)

func (*FakeSpfChecker) GetStatusCallCount added in v0.1.6

func (fake *FakeSpfChecker) GetStatusCallCount() int

func (*FakeSpfChecker) GetStatusCalls added in v0.1.6

func (fake *FakeSpfChecker) GetStatusCalls(stub func(net.IP, string, string) (spf.Status, error))

func (*FakeSpfChecker) GetStatusReturns added in v0.1.6

func (fake *FakeSpfChecker) GetStatusReturns(result1 spf.Status, result2 error)

func (*FakeSpfChecker) GetStatusReturnsOnCall added in v0.1.6

func (fake *FakeSpfChecker) GetStatusReturnsOnCall(i int, result1 spf.Status, result2 error)

func (*FakeSpfChecker) Invocations added in v0.1.6

func (fake *FakeSpfChecker) Invocations() map[string][][]interface{}

func (*FakeSpfChecker) ValidateAlignment added in v0.1.6

func (fake *FakeSpfChecker) ValidateAlignment(arg1 string, arg2 string) (bool, error)

func (*FakeSpfChecker) ValidateAlignmentArgsForCall added in v0.1.6

func (fake *FakeSpfChecker) ValidateAlignmentArgsForCall(i int) (string, string)

func (*FakeSpfChecker) ValidateAlignmentCallCount added in v0.1.6

func (fake *FakeSpfChecker) ValidateAlignmentCallCount() int

func (*FakeSpfChecker) ValidateAlignmentCalls added in v0.1.6

func (fake *FakeSpfChecker) ValidateAlignmentCalls(stub func(string, string) (bool, error))

func (*FakeSpfChecker) ValidateAlignmentReturns added in v0.1.6

func (fake *FakeSpfChecker) ValidateAlignmentReturns(result1 bool, result2 error)

func (*FakeSpfChecker) ValidateAlignmentReturnsOnCall added in v0.1.6

func (fake *FakeSpfChecker) ValidateAlignmentReturnsOnCall(i int, result1 bool, result2 error)

Jump to

Keyboard shortcuts

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