mocks

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 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) AddPermission

func (_m *IClient) AddPermission(ctx context.Context, params *sns.AddPermissionInput, optFns ...func(*sns.Options)) (*sns.AddPermissionOutput, error)

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

func (*IClient) CheckIfPhoneNumberIsOptedOut

func (_m *IClient) CheckIfPhoneNumberIsOptedOut(ctx context.Context, params *sns.CheckIfPhoneNumberIsOptedOutInput, optFns ...func(*sns.Options)) (*sns.CheckIfPhoneNumberIsOptedOutOutput, error)

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

func (*IClient) ConfirmSubscription

func (_m *IClient) ConfirmSubscription(ctx context.Context, params *sns.ConfirmSubscriptionInput, optFns ...func(*sns.Options)) (*sns.ConfirmSubscriptionOutput, error)

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

func (*IClient) CreatePlatformApplication

func (_m *IClient) CreatePlatformApplication(ctx context.Context, params *sns.CreatePlatformApplicationInput, optFns ...func(*sns.Options)) (*sns.CreatePlatformApplicationOutput, error)

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

func (*IClient) CreatePlatformEndpoint

func (_m *IClient) CreatePlatformEndpoint(ctx context.Context, params *sns.CreatePlatformEndpointInput, optFns ...func(*sns.Options)) (*sns.CreatePlatformEndpointOutput, error)

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

func (*IClient) CreateSMSSandboxPhoneNumber

func (_m *IClient) CreateSMSSandboxPhoneNumber(ctx context.Context, params *sns.CreateSMSSandboxPhoneNumberInput, optFns ...func(*sns.Options)) (*sns.CreateSMSSandboxPhoneNumberOutput, error)

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

func (*IClient) CreateTopic

func (_m *IClient) CreateTopic(ctx context.Context, params *sns.CreateTopicInput, optFns ...func(*sns.Options)) (*sns.CreateTopicOutput, error)

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

func (*IClient) DeleteEndpoint

func (_m *IClient) DeleteEndpoint(ctx context.Context, params *sns.DeleteEndpointInput, optFns ...func(*sns.Options)) (*sns.DeleteEndpointOutput, error)

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

func (*IClient) DeletePlatformApplication

func (_m *IClient) DeletePlatformApplication(ctx context.Context, params *sns.DeletePlatformApplicationInput, optFns ...func(*sns.Options)) (*sns.DeletePlatformApplicationOutput, error)

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

func (*IClient) DeleteSMSSandboxPhoneNumber

func (_m *IClient) DeleteSMSSandboxPhoneNumber(ctx context.Context, params *sns.DeleteSMSSandboxPhoneNumberInput, optFns ...func(*sns.Options)) (*sns.DeleteSMSSandboxPhoneNumberOutput, error)

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

func (*IClient) DeleteTopic

func (_m *IClient) DeleteTopic(ctx context.Context, params *sns.DeleteTopicInput, optFns ...func(*sns.Options)) (*sns.DeleteTopicOutput, error)

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

func (*IClient) GetDataProtectionPolicy

func (_m *IClient) GetDataProtectionPolicy(ctx context.Context, params *sns.GetDataProtectionPolicyInput, optFns ...func(*sns.Options)) (*sns.GetDataProtectionPolicyOutput, error)

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

func (*IClient) GetEndpointAttributes

func (_m *IClient) GetEndpointAttributes(ctx context.Context, params *sns.GetEndpointAttributesInput, optFns ...func(*sns.Options)) (*sns.GetEndpointAttributesOutput, error)

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

func (*IClient) GetPlatformApplicationAttributes

func (_m *IClient) GetPlatformApplicationAttributes(ctx context.Context, params *sns.GetPlatformApplicationAttributesInput, optFns ...func(*sns.Options)) (*sns.GetPlatformApplicationAttributesOutput, error)

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

func (*IClient) GetSMSAttributes

func (_m *IClient) GetSMSAttributes(ctx context.Context, params *sns.GetSMSAttributesInput, optFns ...func(*sns.Options)) (*sns.GetSMSAttributesOutput, error)

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

func (*IClient) GetSMSSandboxAccountStatus

func (_m *IClient) GetSMSSandboxAccountStatus(ctx context.Context, params *sns.GetSMSSandboxAccountStatusInput, optFns ...func(*sns.Options)) (*sns.GetSMSSandboxAccountStatusOutput, error)

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

func (*IClient) GetSubscriptionAttributes

func (_m *IClient) GetSubscriptionAttributes(ctx context.Context, params *sns.GetSubscriptionAttributesInput, optFns ...func(*sns.Options)) (*sns.GetSubscriptionAttributesOutput, error)

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

func (*IClient) GetTopicAttributes

func (_m *IClient) GetTopicAttributes(ctx context.Context, params *sns.GetTopicAttributesInput, optFns ...func(*sns.Options)) (*sns.GetTopicAttributesOutput, error)

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

func (*IClient) ListEndpointsByPlatformApplication

func (_m *IClient) ListEndpointsByPlatformApplication(ctx context.Context, params *sns.ListEndpointsByPlatformApplicationInput, optFns ...func(*sns.Options)) (*sns.ListEndpointsByPlatformApplicationOutput, error)

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

func (*IClient) ListOriginationNumbers

func (_m *IClient) ListOriginationNumbers(ctx context.Context, params *sns.ListOriginationNumbersInput, optFns ...func(*sns.Options)) (*sns.ListOriginationNumbersOutput, error)

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

func (*IClient) ListPhoneNumbersOptedOut

func (_m *IClient) ListPhoneNumbersOptedOut(ctx context.Context, params *sns.ListPhoneNumbersOptedOutInput, optFns ...func(*sns.Options)) (*sns.ListPhoneNumbersOptedOutOutput, error)

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

func (*IClient) ListPlatformApplications

func (_m *IClient) ListPlatformApplications(ctx context.Context, params *sns.ListPlatformApplicationsInput, optFns ...func(*sns.Options)) (*sns.ListPlatformApplicationsOutput, error)

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

func (*IClient) ListSMSSandboxPhoneNumbers

func (_m *IClient) ListSMSSandboxPhoneNumbers(ctx context.Context, params *sns.ListSMSSandboxPhoneNumbersInput, optFns ...func(*sns.Options)) (*sns.ListSMSSandboxPhoneNumbersOutput, error)

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

func (*IClient) ListSubscriptions

func (_m *IClient) ListSubscriptions(ctx context.Context, params *sns.ListSubscriptionsInput, optFns ...func(*sns.Options)) (*sns.ListSubscriptionsOutput, error)

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

func (*IClient) ListSubscriptionsByTopic

func (_m *IClient) ListSubscriptionsByTopic(ctx context.Context, params *sns.ListSubscriptionsByTopicInput, optFns ...func(*sns.Options)) (*sns.ListSubscriptionsByTopicOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListTopics

func (_m *IClient) ListTopics(ctx context.Context, params *sns.ListTopicsInput, optFns ...func(*sns.Options)) (*sns.ListTopicsOutput, error)

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

func (*IClient) OptInPhoneNumber

func (_m *IClient) OptInPhoneNumber(ctx context.Context, params *sns.OptInPhoneNumberInput, optFns ...func(*sns.Options)) (*sns.OptInPhoneNumberOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) Publish

func (_m *IClient) Publish(ctx context.Context, params *sns.PublishInput, optFns ...func(*sns.Options)) (*sns.PublishOutput, error)

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

func (*IClient) PublishBatch

func (_m *IClient) PublishBatch(ctx context.Context, params *sns.PublishBatchInput, optFns ...func(*sns.Options)) (*sns.PublishBatchOutput, error)

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

func (*IClient) PutDataProtectionPolicy

func (_m *IClient) PutDataProtectionPolicy(ctx context.Context, params *sns.PutDataProtectionPolicyInput, optFns ...func(*sns.Options)) (*sns.PutDataProtectionPolicyOutput, error)

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

func (*IClient) RemovePermission

func (_m *IClient) RemovePermission(ctx context.Context, params *sns.RemovePermissionInput, optFns ...func(*sns.Options)) (*sns.RemovePermissionOutput, error)

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

func (*IClient) SetEndpointAttributes

func (_m *IClient) SetEndpointAttributes(ctx context.Context, params *sns.SetEndpointAttributesInput, optFns ...func(*sns.Options)) (*sns.SetEndpointAttributesOutput, error)

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

func (*IClient) SetPlatformApplicationAttributes

func (_m *IClient) SetPlatformApplicationAttributes(ctx context.Context, params *sns.SetPlatformApplicationAttributesInput, optFns ...func(*sns.Options)) (*sns.SetPlatformApplicationAttributesOutput, error)

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

func (*IClient) SetSMSAttributes

func (_m *IClient) SetSMSAttributes(ctx context.Context, params *sns.SetSMSAttributesInput, optFns ...func(*sns.Options)) (*sns.SetSMSAttributesOutput, error)

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

func (*IClient) SetSubscriptionAttributes

func (_m *IClient) SetSubscriptionAttributes(ctx context.Context, params *sns.SetSubscriptionAttributesInput, optFns ...func(*sns.Options)) (*sns.SetSubscriptionAttributesOutput, error)

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

func (*IClient) SetTopicAttributes

func (_m *IClient) SetTopicAttributes(ctx context.Context, params *sns.SetTopicAttributesInput, optFns ...func(*sns.Options)) (*sns.SetTopicAttributesOutput, error)

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

func (*IClient) Subscribe

func (_m *IClient) Subscribe(ctx context.Context, params *sns.SubscribeInput, optFns ...func(*sns.Options)) (*sns.SubscribeOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) Unsubscribe

func (_m *IClient) Unsubscribe(ctx context.Context, params *sns.UnsubscribeInput, optFns ...func(*sns.Options)) (*sns.UnsubscribeOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) VerifySMSSandboxPhoneNumber

func (_m *IClient) VerifySMSSandboxPhoneNumber(ctx context.Context, params *sns.VerifySMSSandboxPhoneNumberInput, optFns ...func(*sns.Options)) (*sns.VerifySMSSandboxPhoneNumberOutput, error)

VerifySMSSandboxPhoneNumber 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