mocks

package
v0.0.3 Latest Latest
Warning

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

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

func (_m *IClient) BatchExecuteStatement(ctx context.Context, params *dynamodb.BatchExecuteStatementInput, optFns ...func(*dynamodb.Options)) (*dynamodb.BatchExecuteStatementOutput, error)

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

func (*IClient) BatchGetItem

func (_m *IClient) BatchGetItem(ctx context.Context, params *dynamodb.BatchGetItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.BatchGetItemOutput, error)

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

func (*IClient) BatchWriteItem

func (_m *IClient) BatchWriteItem(ctx context.Context, params *dynamodb.BatchWriteItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.BatchWriteItemOutput, error)

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

func (*IClient) CreateBackup

func (_m *IClient) CreateBackup(ctx context.Context, params *dynamodb.CreateBackupInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateBackupOutput, error)

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

func (*IClient) CreateGlobalTable

func (_m *IClient) CreateGlobalTable(ctx context.Context, params *dynamodb.CreateGlobalTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateGlobalTableOutput, error)

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

func (*IClient) CreateTable

func (_m *IClient) CreateTable(ctx context.Context, params *dynamodb.CreateTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateTableOutput, error)

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

func (*IClient) DeleteBackup

func (_m *IClient) DeleteBackup(ctx context.Context, params *dynamodb.DeleteBackupInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteBackupOutput, error)

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

func (*IClient) DeleteItem

func (_m *IClient) DeleteItem(ctx context.Context, params *dynamodb.DeleteItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteItemOutput, error)

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

func (*IClient) DeleteResourcePolicy

func (_m *IClient) DeleteResourcePolicy(ctx context.Context, params *dynamodb.DeleteResourcePolicyInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteResourcePolicyOutput, error)

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

func (*IClient) DeleteTable

func (_m *IClient) DeleteTable(ctx context.Context, params *dynamodb.DeleteTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteTableOutput, error)

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

func (*IClient) DescribeBackup

func (_m *IClient) DescribeBackup(ctx context.Context, params *dynamodb.DescribeBackupInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeBackupOutput, error)

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

func (*IClient) DescribeContinuousBackups

func (_m *IClient) DescribeContinuousBackups(ctx context.Context, params *dynamodb.DescribeContinuousBackupsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeContinuousBackupsOutput, error)

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

func (*IClient) DescribeContributorInsights

func (_m *IClient) DescribeContributorInsights(ctx context.Context, params *dynamodb.DescribeContributorInsightsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeContributorInsightsOutput, error)

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

func (*IClient) DescribeEndpoints

func (_m *IClient) DescribeEndpoints(ctx context.Context, params *dynamodb.DescribeEndpointsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeEndpointsOutput, error)

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

func (*IClient) DescribeExport

func (_m *IClient) DescribeExport(ctx context.Context, params *dynamodb.DescribeExportInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeExportOutput, error)

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

func (*IClient) DescribeGlobalTable

func (_m *IClient) DescribeGlobalTable(ctx context.Context, params *dynamodb.DescribeGlobalTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeGlobalTableOutput, error)

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

func (*IClient) DescribeGlobalTableSettings

func (_m *IClient) DescribeGlobalTableSettings(ctx context.Context, params *dynamodb.DescribeGlobalTableSettingsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeGlobalTableSettingsOutput, error)

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

func (*IClient) DescribeImport

func (_m *IClient) DescribeImport(ctx context.Context, params *dynamodb.DescribeImportInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeImportOutput, error)

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

func (*IClient) DescribeKinesisStreamingDestination

func (_m *IClient) DescribeKinesisStreamingDestination(ctx context.Context, params *dynamodb.DescribeKinesisStreamingDestinationInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeKinesisStreamingDestinationOutput, error)

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

func (*IClient) DescribeLimits

func (_m *IClient) DescribeLimits(ctx context.Context, params *dynamodb.DescribeLimitsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeLimitsOutput, error)

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

func (*IClient) DescribeTable

func (_m *IClient) DescribeTable(ctx context.Context, params *dynamodb.DescribeTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTableOutput, error)

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

func (*IClient) DescribeTableReplicaAutoScaling

func (_m *IClient) DescribeTableReplicaAutoScaling(ctx context.Context, params *dynamodb.DescribeTableReplicaAutoScalingInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTableReplicaAutoScalingOutput, error)

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

func (*IClient) DescribeTimeToLive

func (_m *IClient) DescribeTimeToLive(ctx context.Context, params *dynamodb.DescribeTimeToLiveInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTimeToLiveOutput, error)

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

func (*IClient) DisableKinesisStreamingDestination

func (_m *IClient) DisableKinesisStreamingDestination(ctx context.Context, params *dynamodb.DisableKinesisStreamingDestinationInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DisableKinesisStreamingDestinationOutput, error)

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

func (*IClient) EnableKinesisStreamingDestination

func (_m *IClient) EnableKinesisStreamingDestination(ctx context.Context, params *dynamodb.EnableKinesisStreamingDestinationInput, optFns ...func(*dynamodb.Options)) (*dynamodb.EnableKinesisStreamingDestinationOutput, error)

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

func (*IClient) ExecuteStatement

func (_m *IClient) ExecuteStatement(ctx context.Context, params *dynamodb.ExecuteStatementInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ExecuteStatementOutput, error)

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

func (*IClient) ExecuteTransaction

func (_m *IClient) ExecuteTransaction(ctx context.Context, params *dynamodb.ExecuteTransactionInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ExecuteTransactionOutput, error)

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

func (*IClient) ExportTableToPointInTime

func (_m *IClient) ExportTableToPointInTime(ctx context.Context, params *dynamodb.ExportTableToPointInTimeInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ExportTableToPointInTimeOutput, error)

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

func (*IClient) GetItem

func (_m *IClient) GetItem(ctx context.Context, params *dynamodb.GetItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error)

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

func (*IClient) GetResourcePolicy

func (_m *IClient) GetResourcePolicy(ctx context.Context, params *dynamodb.GetResourcePolicyInput, optFns ...func(*dynamodb.Options)) (*dynamodb.GetResourcePolicyOutput, error)

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

func (*IClient) ImportTable

func (_m *IClient) ImportTable(ctx context.Context, params *dynamodb.ImportTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ImportTableOutput, error)

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

func (*IClient) ListBackups

func (_m *IClient) ListBackups(ctx context.Context, params *dynamodb.ListBackupsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListBackupsOutput, error)

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

func (*IClient) ListContributorInsights

func (_m *IClient) ListContributorInsights(ctx context.Context, params *dynamodb.ListContributorInsightsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListContributorInsightsOutput, error)

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

func (*IClient) ListExports

func (_m *IClient) ListExports(ctx context.Context, params *dynamodb.ListExportsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListExportsOutput, error)

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

func (*IClient) ListGlobalTables

func (_m *IClient) ListGlobalTables(ctx context.Context, params *dynamodb.ListGlobalTablesInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListGlobalTablesOutput, error)

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

func (*IClient) ListImports

func (_m *IClient) ListImports(ctx context.Context, params *dynamodb.ListImportsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListImportsOutput, error)

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

func (*IClient) ListTables

func (_m *IClient) ListTables(ctx context.Context, params *dynamodb.ListTablesInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListTablesOutput, error)

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

func (*IClient) ListTagsOfResource

func (_m *IClient) ListTagsOfResource(ctx context.Context, params *dynamodb.ListTagsOfResourceInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListTagsOfResourceOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutItem

func (_m *IClient) PutItem(ctx context.Context, params *dynamodb.PutItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error)

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

func (*IClient) PutResourcePolicy

func (_m *IClient) PutResourcePolicy(ctx context.Context, params *dynamodb.PutResourcePolicyInput, optFns ...func(*dynamodb.Options)) (*dynamodb.PutResourcePolicyOutput, error)

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

func (*IClient) Query

func (_m *IClient) Query(ctx context.Context, params *dynamodb.QueryInput, optFns ...func(*dynamodb.Options)) (*dynamodb.QueryOutput, error)

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

func (*IClient) RestoreTableFromBackup

func (_m *IClient) RestoreTableFromBackup(ctx context.Context, params *dynamodb.RestoreTableFromBackupInput, optFns ...func(*dynamodb.Options)) (*dynamodb.RestoreTableFromBackupOutput, error)

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

func (*IClient) RestoreTableToPointInTime

func (_m *IClient) RestoreTableToPointInTime(ctx context.Context, params *dynamodb.RestoreTableToPointInTimeInput, optFns ...func(*dynamodb.Options)) (*dynamodb.RestoreTableToPointInTimeOutput, error)

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

func (*IClient) Scan

func (_m *IClient) Scan(ctx context.Context, params *dynamodb.ScanInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) TransactGetItems

func (_m *IClient) TransactGetItems(ctx context.Context, params *dynamodb.TransactGetItemsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.TransactGetItemsOutput, error)

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

func (*IClient) TransactWriteItems

func (_m *IClient) TransactWriteItems(ctx context.Context, params *dynamodb.TransactWriteItemsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.TransactWriteItemsOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateContinuousBackups

func (_m *IClient) UpdateContinuousBackups(ctx context.Context, params *dynamodb.UpdateContinuousBackupsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateContinuousBackupsOutput, error)

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

func (*IClient) UpdateContributorInsights

func (_m *IClient) UpdateContributorInsights(ctx context.Context, params *dynamodb.UpdateContributorInsightsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateContributorInsightsOutput, error)

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

func (*IClient) UpdateGlobalTable

func (_m *IClient) UpdateGlobalTable(ctx context.Context, params *dynamodb.UpdateGlobalTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateGlobalTableOutput, error)

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

func (*IClient) UpdateGlobalTableSettings

func (_m *IClient) UpdateGlobalTableSettings(ctx context.Context, params *dynamodb.UpdateGlobalTableSettingsInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateGlobalTableSettingsOutput, error)

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

func (*IClient) UpdateItem

func (_m *IClient) UpdateItem(ctx context.Context, params *dynamodb.UpdateItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateItemOutput, error)

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

func (*IClient) UpdateKinesisStreamingDestination

func (_m *IClient) UpdateKinesisStreamingDestination(ctx context.Context, params *dynamodb.UpdateKinesisStreamingDestinationInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateKinesisStreamingDestinationOutput, error)

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

func (*IClient) UpdateTable

func (_m *IClient) UpdateTable(ctx context.Context, params *dynamodb.UpdateTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateTableOutput, error)

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

func (*IClient) UpdateTableReplicaAutoScaling

func (_m *IClient) UpdateTableReplicaAutoScaling(ctx context.Context, params *dynamodb.UpdateTableReplicaAutoScalingInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateTableReplicaAutoScalingOutput, error)

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

func (*IClient) UpdateTimeToLive

func (_m *IClient) UpdateTimeToLive(ctx context.Context, params *dynamodb.UpdateTimeToLiveInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateTimeToLiveOutput, error)

UpdateTimeToLive 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