mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) CreateAddonInstance

func (_m *IClient) CreateAddonInstance(ctx context.Context, params *mailmanager.CreateAddonInstanceInput, optFns ...func(*mailmanager.Options)) (*mailmanager.CreateAddonInstanceOutput, error)

CreateAddonInstance provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateAddonSubscription

func (_m *IClient) CreateAddonSubscription(ctx context.Context, params *mailmanager.CreateAddonSubscriptionInput, optFns ...func(*mailmanager.Options)) (*mailmanager.CreateAddonSubscriptionOutput, error)

CreateAddonSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateArchive

func (_m *IClient) CreateArchive(ctx context.Context, params *mailmanager.CreateArchiveInput, optFns ...func(*mailmanager.Options)) (*mailmanager.CreateArchiveOutput, error)

CreateArchive provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateIngressPoint

func (_m *IClient) CreateIngressPoint(ctx context.Context, params *mailmanager.CreateIngressPointInput, optFns ...func(*mailmanager.Options)) (*mailmanager.CreateIngressPointOutput, error)

CreateIngressPoint provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateRelay

func (_m *IClient) CreateRelay(ctx context.Context, params *mailmanager.CreateRelayInput, optFns ...func(*mailmanager.Options)) (*mailmanager.CreateRelayOutput, error)

CreateRelay provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateRuleSet

func (_m *IClient) CreateRuleSet(ctx context.Context, params *mailmanager.CreateRuleSetInput, optFns ...func(*mailmanager.Options)) (*mailmanager.CreateRuleSetOutput, error)

CreateRuleSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateTrafficPolicy

func (_m *IClient) CreateTrafficPolicy(ctx context.Context, params *mailmanager.CreateTrafficPolicyInput, optFns ...func(*mailmanager.Options)) (*mailmanager.CreateTrafficPolicyOutput, error)

CreateTrafficPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAddonInstance

func (_m *IClient) DeleteAddonInstance(ctx context.Context, params *mailmanager.DeleteAddonInstanceInput, optFns ...func(*mailmanager.Options)) (*mailmanager.DeleteAddonInstanceOutput, error)

DeleteAddonInstance provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteAddonSubscription

func (_m *IClient) DeleteAddonSubscription(ctx context.Context, params *mailmanager.DeleteAddonSubscriptionInput, optFns ...func(*mailmanager.Options)) (*mailmanager.DeleteAddonSubscriptionOutput, error)

DeleteAddonSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteArchive

func (_m *IClient) DeleteArchive(ctx context.Context, params *mailmanager.DeleteArchiveInput, optFns ...func(*mailmanager.Options)) (*mailmanager.DeleteArchiveOutput, error)

DeleteArchive provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteIngressPoint

func (_m *IClient) DeleteIngressPoint(ctx context.Context, params *mailmanager.DeleteIngressPointInput, optFns ...func(*mailmanager.Options)) (*mailmanager.DeleteIngressPointOutput, error)

DeleteIngressPoint provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteRelay

func (_m *IClient) DeleteRelay(ctx context.Context, params *mailmanager.DeleteRelayInput, optFns ...func(*mailmanager.Options)) (*mailmanager.DeleteRelayOutput, error)

DeleteRelay provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteRuleSet

func (_m *IClient) DeleteRuleSet(ctx context.Context, params *mailmanager.DeleteRuleSetInput, optFns ...func(*mailmanager.Options)) (*mailmanager.DeleteRuleSetOutput, error)

DeleteRuleSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteTrafficPolicy

func (_m *IClient) DeleteTrafficPolicy(ctx context.Context, params *mailmanager.DeleteTrafficPolicyInput, optFns ...func(*mailmanager.Options)) (*mailmanager.DeleteTrafficPolicyOutput, error)

DeleteTrafficPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetAddonInstance

func (_m *IClient) GetAddonInstance(ctx context.Context, params *mailmanager.GetAddonInstanceInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetAddonInstanceOutput, error)

GetAddonInstance provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetAddonSubscription

func (_m *IClient) GetAddonSubscription(ctx context.Context, params *mailmanager.GetAddonSubscriptionInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetAddonSubscriptionOutput, error)

GetAddonSubscription provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetArchive

func (_m *IClient) GetArchive(ctx context.Context, params *mailmanager.GetArchiveInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetArchiveOutput, error)

GetArchive provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetArchiveExport

func (_m *IClient) GetArchiveExport(ctx context.Context, params *mailmanager.GetArchiveExportInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetArchiveExportOutput, error)

GetArchiveExport provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetArchiveMessage

func (_m *IClient) GetArchiveMessage(ctx context.Context, params *mailmanager.GetArchiveMessageInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetArchiveMessageOutput, error)

GetArchiveMessage provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetArchiveMessageContent

GetArchiveMessageContent provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetArchiveSearch

func (_m *IClient) GetArchiveSearch(ctx context.Context, params *mailmanager.GetArchiveSearchInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetArchiveSearchOutput, error)

GetArchiveSearch provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetArchiveSearchResults

func (_m *IClient) GetArchiveSearchResults(ctx context.Context, params *mailmanager.GetArchiveSearchResultsInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetArchiveSearchResultsOutput, error)

GetArchiveSearchResults provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetIngressPoint

func (_m *IClient) GetIngressPoint(ctx context.Context, params *mailmanager.GetIngressPointInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetIngressPointOutput, error)

GetIngressPoint provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetRelay

func (_m *IClient) GetRelay(ctx context.Context, params *mailmanager.GetRelayInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetRelayOutput, error)

GetRelay provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetRuleSet

func (_m *IClient) GetRuleSet(ctx context.Context, params *mailmanager.GetRuleSetInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetRuleSetOutput, error)

GetRuleSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetTrafficPolicy

func (_m *IClient) GetTrafficPolicy(ctx context.Context, params *mailmanager.GetTrafficPolicyInput, optFns ...func(*mailmanager.Options)) (*mailmanager.GetTrafficPolicyOutput, error)

GetTrafficPolicy provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAddonInstances

func (_m *IClient) ListAddonInstances(ctx context.Context, params *mailmanager.ListAddonInstancesInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListAddonInstancesOutput, error)

ListAddonInstances provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListAddonSubscriptions

func (_m *IClient) ListAddonSubscriptions(ctx context.Context, params *mailmanager.ListAddonSubscriptionsInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListAddonSubscriptionsOutput, error)

ListAddonSubscriptions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListArchiveExports

func (_m *IClient) ListArchiveExports(ctx context.Context, params *mailmanager.ListArchiveExportsInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListArchiveExportsOutput, error)

ListArchiveExports provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListArchiveSearches

func (_m *IClient) ListArchiveSearches(ctx context.Context, params *mailmanager.ListArchiveSearchesInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListArchiveSearchesOutput, error)

ListArchiveSearches provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListArchives

func (_m *IClient) ListArchives(ctx context.Context, params *mailmanager.ListArchivesInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListArchivesOutput, error)

ListArchives provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListIngressPoints

func (_m *IClient) ListIngressPoints(ctx context.Context, params *mailmanager.ListIngressPointsInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListIngressPointsOutput, error)

ListIngressPoints provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListRelays

func (_m *IClient) ListRelays(ctx context.Context, params *mailmanager.ListRelaysInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListRelaysOutput, error)

ListRelays provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListRuleSets

func (_m *IClient) ListRuleSets(ctx context.Context, params *mailmanager.ListRuleSetsInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListRuleSetsOutput, error)

ListRuleSets provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *mailmanager.ListTagsForResourceInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTrafficPolicies

func (_m *IClient) ListTrafficPolicies(ctx context.Context, params *mailmanager.ListTrafficPoliciesInput, optFns ...func(*mailmanager.Options)) (*mailmanager.ListTrafficPoliciesOutput, error)

ListTrafficPolicies provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() mailmanager.Options

Options provides a mock function with given fields:

func (*IClient) StartArchiveExport

func (_m *IClient) StartArchiveExport(ctx context.Context, params *mailmanager.StartArchiveExportInput, optFns ...func(*mailmanager.Options)) (*mailmanager.StartArchiveExportOutput, error)

StartArchiveExport provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartArchiveSearch

func (_m *IClient) StartArchiveSearch(ctx context.Context, params *mailmanager.StartArchiveSearchInput, optFns ...func(*mailmanager.Options)) (*mailmanager.StartArchiveSearchOutput, error)

StartArchiveSearch provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopArchiveExport

func (_m *IClient) StopArchiveExport(ctx context.Context, params *mailmanager.StopArchiveExportInput, optFns ...func(*mailmanager.Options)) (*mailmanager.StopArchiveExportOutput, error)

StopArchiveExport provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopArchiveSearch

func (_m *IClient) StopArchiveSearch(ctx context.Context, params *mailmanager.StopArchiveSearchInput, optFns ...func(*mailmanager.Options)) (*mailmanager.StopArchiveSearchOutput, error)

StopArchiveSearch provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *mailmanager.TagResourceInput, optFns ...func(*mailmanager.Options)) (*mailmanager.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *mailmanager.UntagResourceInput, optFns ...func(*mailmanager.Options)) (*mailmanager.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateArchive

func (_m *IClient) UpdateArchive(ctx context.Context, params *mailmanager.UpdateArchiveInput, optFns ...func(*mailmanager.Options)) (*mailmanager.UpdateArchiveOutput, error)

UpdateArchive provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateIngressPoint

func (_m *IClient) UpdateIngressPoint(ctx context.Context, params *mailmanager.UpdateIngressPointInput, optFns ...func(*mailmanager.Options)) (*mailmanager.UpdateIngressPointOutput, error)

UpdateIngressPoint provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateRelay

func (_m *IClient) UpdateRelay(ctx context.Context, params *mailmanager.UpdateRelayInput, optFns ...func(*mailmanager.Options)) (*mailmanager.UpdateRelayOutput, error)

UpdateRelay provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateRuleSet

func (_m *IClient) UpdateRuleSet(ctx context.Context, params *mailmanager.UpdateRuleSetInput, optFns ...func(*mailmanager.Options)) (*mailmanager.UpdateRuleSetOutput, error)

UpdateRuleSet provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateTrafficPolicy

func (_m *IClient) UpdateTrafficPolicy(ctx context.Context, params *mailmanager.UpdateTrafficPolicyInput, optFns ...func(*mailmanager.Options)) (*mailmanager.UpdateTrafficPolicyOutput, error)

UpdateTrafficPolicy provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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