mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 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) BulkPublish

func (_m *IClient) BulkPublish(ctx context.Context, params *cognitosync.BulkPublishInput, optFns ...func(*cognitosync.Options)) (*cognitosync.BulkPublishOutput, error)

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

func (*IClient) DeleteDataset

func (_m *IClient) DeleteDataset(ctx context.Context, params *cognitosync.DeleteDatasetInput, optFns ...func(*cognitosync.Options)) (*cognitosync.DeleteDatasetOutput, error)

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

func (*IClient) DescribeDataset

func (_m *IClient) DescribeDataset(ctx context.Context, params *cognitosync.DescribeDatasetInput, optFns ...func(*cognitosync.Options)) (*cognitosync.DescribeDatasetOutput, error)

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

func (*IClient) DescribeIdentityPoolUsage

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

func (*IClient) DescribeIdentityUsage

func (_m *IClient) DescribeIdentityUsage(ctx context.Context, params *cognitosync.DescribeIdentityUsageInput, optFns ...func(*cognitosync.Options)) (*cognitosync.DescribeIdentityUsageOutput, error)

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

func (*IClient) GetBulkPublishDetails

func (_m *IClient) GetBulkPublishDetails(ctx context.Context, params *cognitosync.GetBulkPublishDetailsInput, optFns ...func(*cognitosync.Options)) (*cognitosync.GetBulkPublishDetailsOutput, error)

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

func (*IClient) GetCognitoEvents

func (_m *IClient) GetCognitoEvents(ctx context.Context, params *cognitosync.GetCognitoEventsInput, optFns ...func(*cognitosync.Options)) (*cognitosync.GetCognitoEventsOutput, error)

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

func (*IClient) GetIdentityPoolConfiguration

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

func (*IClient) ListDatasets

func (_m *IClient) ListDatasets(ctx context.Context, params *cognitosync.ListDatasetsInput, optFns ...func(*cognitosync.Options)) (*cognitosync.ListDatasetsOutput, error)

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

func (*IClient) ListIdentityPoolUsage

func (_m *IClient) ListIdentityPoolUsage(ctx context.Context, params *cognitosync.ListIdentityPoolUsageInput, optFns ...func(*cognitosync.Options)) (*cognitosync.ListIdentityPoolUsageOutput, error)

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

func (*IClient) ListRecords

func (_m *IClient) ListRecords(ctx context.Context, params *cognitosync.ListRecordsInput, optFns ...func(*cognitosync.Options)) (*cognitosync.ListRecordsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RegisterDevice

func (_m *IClient) RegisterDevice(ctx context.Context, params *cognitosync.RegisterDeviceInput, optFns ...func(*cognitosync.Options)) (*cognitosync.RegisterDeviceOutput, error)

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

func (*IClient) SetCognitoEvents

func (_m *IClient) SetCognitoEvents(ctx context.Context, params *cognitosync.SetCognitoEventsInput, optFns ...func(*cognitosync.Options)) (*cognitosync.SetCognitoEventsOutput, error)

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

func (*IClient) SetIdentityPoolConfiguration

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

func (*IClient) SubscribeToDataset

func (_m *IClient) SubscribeToDataset(ctx context.Context, params *cognitosync.SubscribeToDatasetInput, optFns ...func(*cognitosync.Options)) (*cognitosync.SubscribeToDatasetOutput, error)

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

func (*IClient) UnsubscribeFromDataset

func (_m *IClient) UnsubscribeFromDataset(ctx context.Context, params *cognitosync.UnsubscribeFromDatasetInput, optFns ...func(*cognitosync.Options)) (*cognitosync.UnsubscribeFromDatasetOutput, error)

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

func (*IClient) UpdateRecords

func (_m *IClient) UpdateRecords(ctx context.Context, params *cognitosync.UpdateRecordsInput, optFns ...func(*cognitosync.Options)) (*cognitosync.UpdateRecordsOutput, error)

UpdateRecords 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