mocks

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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) AcceptPage

func (_m *IClient) AcceptPage(ctx context.Context, params *ssmcontacts.AcceptPageInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.AcceptPageOutput, error)

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

func (*IClient) ActivateContactChannel

func (_m *IClient) ActivateContactChannel(ctx context.Context, params *ssmcontacts.ActivateContactChannelInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ActivateContactChannelOutput, error)

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

func (*IClient) CreateContact

func (_m *IClient) CreateContact(ctx context.Context, params *ssmcontacts.CreateContactInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.CreateContactOutput, error)

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

func (*IClient) CreateContactChannel

func (_m *IClient) CreateContactChannel(ctx context.Context, params *ssmcontacts.CreateContactChannelInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.CreateContactChannelOutput, error)

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

func (*IClient) CreateRotation

func (_m *IClient) CreateRotation(ctx context.Context, params *ssmcontacts.CreateRotationInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.CreateRotationOutput, error)

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

func (*IClient) CreateRotationOverride

func (_m *IClient) CreateRotationOverride(ctx context.Context, params *ssmcontacts.CreateRotationOverrideInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.CreateRotationOverrideOutput, error)

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

func (*IClient) DeactivateContactChannel

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

func (*IClient) DeleteContact

func (_m *IClient) DeleteContact(ctx context.Context, params *ssmcontacts.DeleteContactInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.DeleteContactOutput, error)

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

func (*IClient) DeleteContactChannel

func (_m *IClient) DeleteContactChannel(ctx context.Context, params *ssmcontacts.DeleteContactChannelInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.DeleteContactChannelOutput, error)

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

func (*IClient) DeleteRotation

func (_m *IClient) DeleteRotation(ctx context.Context, params *ssmcontacts.DeleteRotationInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.DeleteRotationOutput, error)

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

func (*IClient) DeleteRotationOverride

func (_m *IClient) DeleteRotationOverride(ctx context.Context, params *ssmcontacts.DeleteRotationOverrideInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.DeleteRotationOverrideOutput, error)

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

func (*IClient) DescribeEngagement

func (_m *IClient) DescribeEngagement(ctx context.Context, params *ssmcontacts.DescribeEngagementInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.DescribeEngagementOutput, error)

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

func (*IClient) DescribePage

func (_m *IClient) DescribePage(ctx context.Context, params *ssmcontacts.DescribePageInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.DescribePageOutput, error)

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

func (*IClient) GetContact

func (_m *IClient) GetContact(ctx context.Context, params *ssmcontacts.GetContactInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.GetContactOutput, error)

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

func (*IClient) GetContactChannel

func (_m *IClient) GetContactChannel(ctx context.Context, params *ssmcontacts.GetContactChannelInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.GetContactChannelOutput, error)

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

func (*IClient) GetContactPolicy

func (_m *IClient) GetContactPolicy(ctx context.Context, params *ssmcontacts.GetContactPolicyInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.GetContactPolicyOutput, error)

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

func (*IClient) GetRotation

func (_m *IClient) GetRotation(ctx context.Context, params *ssmcontacts.GetRotationInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.GetRotationOutput, error)

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

func (*IClient) GetRotationOverride

func (_m *IClient) GetRotationOverride(ctx context.Context, params *ssmcontacts.GetRotationOverrideInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.GetRotationOverrideOutput, error)

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

func (*IClient) ListContactChannels

func (_m *IClient) ListContactChannels(ctx context.Context, params *ssmcontacts.ListContactChannelsInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListContactChannelsOutput, error)

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

func (*IClient) ListContacts

func (_m *IClient) ListContacts(ctx context.Context, params *ssmcontacts.ListContactsInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListContactsOutput, error)

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

func (*IClient) ListEngagements

func (_m *IClient) ListEngagements(ctx context.Context, params *ssmcontacts.ListEngagementsInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListEngagementsOutput, error)

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

func (*IClient) ListPageReceipts

func (_m *IClient) ListPageReceipts(ctx context.Context, params *ssmcontacts.ListPageReceiptsInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListPageReceiptsOutput, error)

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

func (*IClient) ListPageResolutions

func (_m *IClient) ListPageResolutions(ctx context.Context, params *ssmcontacts.ListPageResolutionsInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListPageResolutionsOutput, error)

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

func (*IClient) ListPagesByContact

func (_m *IClient) ListPagesByContact(ctx context.Context, params *ssmcontacts.ListPagesByContactInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListPagesByContactOutput, error)

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

func (*IClient) ListPagesByEngagement

func (_m *IClient) ListPagesByEngagement(ctx context.Context, params *ssmcontacts.ListPagesByEngagementInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListPagesByEngagementOutput, error)

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

func (*IClient) ListPreviewRotationShifts

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

func (*IClient) ListRotationOverrides

func (_m *IClient) ListRotationOverrides(ctx context.Context, params *ssmcontacts.ListRotationOverridesInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListRotationOverridesOutput, error)

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

func (*IClient) ListRotationShifts

func (_m *IClient) ListRotationShifts(ctx context.Context, params *ssmcontacts.ListRotationShiftsInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListRotationShiftsOutput, error)

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

func (*IClient) ListRotations

func (_m *IClient) ListRotations(ctx context.Context, params *ssmcontacts.ListRotationsInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.ListRotationsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutContactPolicy

func (_m *IClient) PutContactPolicy(ctx context.Context, params *ssmcontacts.PutContactPolicyInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.PutContactPolicyOutput, error)

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

func (*IClient) SendActivationCode

func (_m *IClient) SendActivationCode(ctx context.Context, params *ssmcontacts.SendActivationCodeInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.SendActivationCodeOutput, error)

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

func (*IClient) StartEngagement

func (_m *IClient) StartEngagement(ctx context.Context, params *ssmcontacts.StartEngagementInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.StartEngagementOutput, error)

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

func (*IClient) StopEngagement

func (_m *IClient) StopEngagement(ctx context.Context, params *ssmcontacts.StopEngagementInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.StopEngagementOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateContact

func (_m *IClient) UpdateContact(ctx context.Context, params *ssmcontacts.UpdateContactInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.UpdateContactOutput, error)

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

func (*IClient) UpdateContactChannel

func (_m *IClient) UpdateContactChannel(ctx context.Context, params *ssmcontacts.UpdateContactChannelInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.UpdateContactChannelOutput, error)

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

func (*IClient) UpdateRotation

func (_m *IClient) UpdateRotation(ctx context.Context, params *ssmcontacts.UpdateRotationInput, optFns ...func(*ssmcontacts.Options)) (*ssmcontacts.UpdateRotationOutput, error)

UpdateRotation 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