mockdynamodb

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 8 Imported by: 0

README

github.com/ebh/mockdynamodb

In-memory implementation of DynamoDB, ideal for unit testing

Continuous Integration Go Reference

Credit

This module was inspired by and basically copies github.com/elliotchance/mocksqs by Elliot Chance.

Creating the Service

The simplest way to create a new DynamoDB service is with mockdynamodb.New(). However, if you need tables you can use mockdynamodb.NewWithTables():

tableName := "foobar"
client := mocksqs.NewWithTables({tableName})

result, err := client.PutItem(&dynamodb.PutItemInput{
    TableName: aws.String(tableName),
})

Supported Functionality

Only some DynamoDB methods are implemented, at moment. Methods not implemented will panic. If you want a method implemented please raise an issue.

You can view the specific implementation details in the godoc documentation.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoDb

type DynamoDb struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *DynamoDb

New creates a new mockdynamodb client

func NewWithTables

func NewWithTables(tables []string) *DynamoDb

NewWithTables creates a new mockdynamodb client with tables

func (*DynamoDb) BatchExecuteStatement

BatchExecuteStatement is not implemented. It will panic in all cases.

func (*DynamoDb) BatchExecuteStatementRequest

BatchExecuteStatementRequest is not implemented. It will panic in all cases.

func (*DynamoDb) BatchExecuteStatementWithContext

BatchExecuteStatementWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) BatchGetItem

BatchGetItem is not implemented. It will panic in all cases.

func (*DynamoDb) BatchGetItemPages

func (db *DynamoDb) BatchGetItemPages(*dynamodb.BatchGetItemInput, func(*dynamodb.BatchGetItemOutput, bool) bool) error

BatchGetItemPages is not implemented. It will panic in all cases.

func (*DynamoDb) BatchGetItemPagesWithContext

func (db *DynamoDb) BatchGetItemPagesWithContext(aws.Context, *dynamodb.BatchGetItemInput, func(*dynamodb.BatchGetItemOutput, bool) bool, ...request.Option) error

BatchGetItemPagesWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) BatchGetItemRequest

BatchGetItemRequest is not implemented. It will panic in all cases.

func (*DynamoDb) BatchGetItemWithContext

BatchGetItemWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) BatchWriteItem

BatchWriteItem is not implemented. It will panic in all cases.

func (*DynamoDb) BatchWriteItemRequest

BatchWriteItemRequest is not implemented. It will panic in all cases.

func (*DynamoDb) BatchWriteItemWithContext

BatchWriteItemWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) CreateBackup

CreateBackup is not implemented. It will panic in all cases.

func (*DynamoDb) CreateBackupRequest

CreateBackupRequest is not implemented. It will panic in all cases.

func (*DynamoDb) CreateBackupWithContext

CreateBackupWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) CreateGlobalTable

CreateGlobalTable is not implemented. It will panic in all cases.

func (*DynamoDb) CreateGlobalTableRequest

CreateGlobalTableRequest is not implemented. It will panic in all cases.

func (*DynamoDb) CreateGlobalTableWithContext

CreateGlobalTableWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) CreateTable

CreateTable is not implemented. It will panic in all cases.

func (*DynamoDb) CreateTableRequest

CreateTableRequest is not implemented. It will panic in all cases.

func (*DynamoDb) CreateTableWithContext

CreateTableWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteBackup

DeleteBackup is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteBackupRequest

DeleteBackupRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteBackupWithContext

DeleteBackupWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteItem

DeleteItem is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteItemRequest

DeleteItemRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteItemWithContext

DeleteItemWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteTable

DeleteTable is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteTableRequest

DeleteTableRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DeleteTableWithContext

DeleteTableWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeBackup

DescribeBackup is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeBackupRequest

DescribeBackupRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeBackupWithContext

DescribeBackupWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeContinuousBackups

DescribeContinuousBackups is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeContinuousBackupsRequest

DescribeContinuousBackupsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeContinuousBackupsWithContext

DescribeContinuousBackupsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeContributorInsights

DescribeContributorInsights is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeContributorInsightsRequest

DescribeContributorInsightsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeContributorInsightsWithContext

DescribeContributorInsightsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeEndpoints

DescribeEndpoints is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeEndpointsRequest

DescribeEndpointsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeEndpointsWithContext

DescribeEndpointsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeExport

DescribeExport is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeExportRequest

DescribeExportRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeExportWithContext

DescribeExportWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeGlobalTable

DescribeGlobalTable is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeGlobalTableRequest

DescribeGlobalTableRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeGlobalTableSettings

DescribeGlobalTableSettings is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeGlobalTableSettingsRequest

DescribeGlobalTableSettingsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeGlobalTableSettingsWithContext

DescribeGlobalTableSettingsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeGlobalTableWithContext

DescribeGlobalTableWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeKinesisStreamingDestination

DescribeKinesisStreamingDestination is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeKinesisStreamingDestinationRequest

DescribeKinesisStreamingDestinationRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeKinesisStreamingDestinationWithContext

DescribeKinesisStreamingDestinationWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeLimits

DescribeLimits is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeLimitsRequest

DescribeLimitsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeLimitsWithContext

DescribeLimitsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTable

func (db *DynamoDb) DescribeTable(input *dynamodb.DescribeTableInput) (*dynamodb.DescribeTableOutput, error)

DescribeTable is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTableReplicaAutoScaling

DescribeTableReplicaAutoScaling is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTableReplicaAutoScalingRequest

DescribeTableReplicaAutoScalingRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTableReplicaAutoScalingWithContext

DescribeTableReplicaAutoScalingWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTableRequest

DescribeTableRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTableWithContext

DescribeTableWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTimeToLive

DescribeTimeToLive is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTimeToLiveRequest

DescribeTimeToLiveRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DescribeTimeToLiveWithContext

DescribeTimeToLiveWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) DisableKinesisStreamingDestination

DisableKinesisStreamingDestination is not implemented. It will panic in all cases.

func (*DynamoDb) DisableKinesisStreamingDestinationRequest

DisableKinesisStreamingDestinationRequest is not implemented. It will panic in all cases.

func (*DynamoDb) DisableKinesisStreamingDestinationWithContext

DisableKinesisStreamingDestinationWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) EnableKinesisStreamingDestination

EnableKinesisStreamingDestination is not implemented. It will panic in all cases.

func (*DynamoDb) EnableKinesisStreamingDestinationRequest

EnableKinesisStreamingDestinationRequest is not implemented. It will panic in all cases.

func (*DynamoDb) EnableKinesisStreamingDestinationWithContext

EnableKinesisStreamingDestinationWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ExecuteStatement

ExecuteStatement is not implemented. It will panic in all cases.

func (*DynamoDb) ExecuteStatementRequest

ExecuteStatementRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ExecuteStatementWithContext

ExecuteStatementWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ExecuteTransaction

ExecuteTransaction is not implemented. It will panic in all cases.

func (*DynamoDb) ExecuteTransactionRequest

ExecuteTransactionRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ExecuteTransactionWithContext

ExecuteTransactionWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ExportTableToPointInTime

ExportTableToPointInTime is not implemented. It will panic in all cases.

func (*DynamoDb) ExportTableToPointInTimeRequest

ExportTableToPointInTimeRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ExportTableToPointInTimeWithContext

ExportTableToPointInTimeWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) GetItem

GetItem is not implemented. It will panic in all cases.

func (*DynamoDb) GetItemRequest

GetItemRequest is not implemented. It will panic in all cases.

func (*DynamoDb) GetItemWithContext

func (db *DynamoDb) GetItemWithContext(aws.Context, *dynamodb.GetItemInput, ...request.Option) (*dynamodb.GetItemOutput, error)

GetItemWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) GetTable

func (db *DynamoDb) GetTable(name string) *Table

GetTable returns the table with the given name. If no table exists with with the given name `nil` is returned

func (*DynamoDb) ListBackups

ListBackups is not implemented. It will panic in all cases.

func (*DynamoDb) ListBackupsRequest

ListBackupsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ListBackupsWithContext

ListBackupsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListContributorInsights

ListContributorInsights is not implemented. It will panic in all cases.

func (*DynamoDb) ListContributorInsightsPages

ListContributorInsightsPages is not implemented. It will panic in all cases.

func (*DynamoDb) ListContributorInsightsPagesWithContext

func (db *DynamoDb) ListContributorInsightsPagesWithContext(aws.Context, *dynamodb.ListContributorInsightsInput, func(*dynamodb.ListContributorInsightsOutput, bool) bool, ...request.Option) error

ListContributorInsightsPagesWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListContributorInsightsRequest

ListContributorInsightsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ListContributorInsightsWithContext

ListContributorInsightsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListExports

ListExports is not implemented. It will panic in all cases.

func (*DynamoDb) ListExportsPages

func (db *DynamoDb) ListExportsPages(*dynamodb.ListExportsInput, func(*dynamodb.ListExportsOutput, bool) bool) error

ListExportsPages is not implemented. It will panic in all cases.

func (*DynamoDb) ListExportsPagesWithContext

func (db *DynamoDb) ListExportsPagesWithContext(aws.Context, *dynamodb.ListExportsInput, func(*dynamodb.ListExportsOutput, bool) bool, ...request.Option) error

ListExportsPagesWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListExportsRequest

ListExportsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ListExportsWithContext

ListExportsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListGlobalTables

ListGlobalTables is not implemented. It will panic in all cases.

func (*DynamoDb) ListGlobalTablesRequest

ListGlobalTablesRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ListGlobalTablesWithContext

ListGlobalTablesWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListTables

ListTables is not implemented. It will panic in all cases.

func (*DynamoDb) ListTablesPages

func (db *DynamoDb) ListTablesPages(*dynamodb.ListTablesInput, func(*dynamodb.ListTablesOutput, bool) bool) error

ListTablesPages is not implemented. It will panic in all cases.

func (*DynamoDb) ListTablesPagesWithContext

func (db *DynamoDb) ListTablesPagesWithContext(aws.Context, *dynamodb.ListTablesInput, func(*dynamodb.ListTablesOutput, bool) bool, ...request.Option) error

ListTablesPagesWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListTablesRequest

ListTablesRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ListTablesWithContext

ListTablesWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ListTagsOfResource

ListTagsOfResource is not implemented. It will panic in all cases.

func (*DynamoDb) ListTagsOfResourceRequest

ListTagsOfResourceRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ListTagsOfResourceWithContext

ListTagsOfResourceWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) PutItem

func (db *DynamoDb) PutItem(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)

PutItem is implemented. Use AddReturnPutItemOutput() set PutItemOutput for PutItem() to return. PutItem() will return PutItemOutputs in the same order in which AddReturnPutItemOutput() is called. If a nil value is given to AddReturnPutItemOutput() then PutItem() will return an error. Use ReceivedPutItemInputs() retrieve the inputs given to PutItem(), use for asserting.

func (*DynamoDb) PutItemRequest

PutItemRequest is not implemented. It will panic in all cases.

func (*DynamoDb) PutItemWithContext

func (db *DynamoDb) PutItemWithContext(ctx aws.Context, input *dynamodb.PutItemInput, opts ...request.Option) (*dynamodb.PutItemOutput, error)

PutItemWithContext is implemented. Uses same logic as PutItem() and thus does not record context or options

func (*DynamoDb) Query

func (db *DynamoDb) Query(input *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)

Query is implemented. Use AddReturnQueryOutput() set QueryOutput for Query() to return. Query() will return QueryOutputs in the same order in which AddReturnQueryOutput() is called. If a nil value is given to AddReturnQueryOutput() then Query() will return an error. Use ReceivedQueryInputs() retrieve the inputs given to Query(), use for asserting.

func (*DynamoDb) QueryPages

func (db *DynamoDb) QueryPages(i *dynamodb.QueryInput, fn func(*dynamodb.QueryOutput, bool) bool) error

QueryPages is implemented. It will panic in all cases. Use AddReturnQueryOutput() set QueryOutput for QueryPages() to return. QueryPages() will return QueryOutputs in the same order in which AddReturnQueryOutput() is called. If a nil value is given to AddReturnQueryOutput() then QueryPages() will return an error. Use ReceivedQueryInputs() retrieve the inputs given to QueryPages(), use for asserting.

func (*DynamoDb) QueryPagesWithContext

func (db *DynamoDb) QueryPagesWithContext(_ aws.Context, i *dynamodb.QueryInput, fn func(*dynamodb.QueryOutput, bool) bool, _ ...request.Option) error

QueryPagesWithContext is implemented. Uses same logic as QueryPages() and thus does not record context or options

func (*DynamoDb) QueryRequest

QueryRequest is not implemented. It will panic in all cases.

func (*DynamoDb) QueryWithContext

func (db *DynamoDb) QueryWithContext(_ aws.Context, input *dynamodb.QueryInput, _ ...request.Option) (*dynamodb.QueryOutput, error)

QueryWithContext is implemented. Uses same logic as Query() and thus does not record context or options

func (*DynamoDb) RestoreTableFromBackup

RestoreTableFromBackup is not implemented. It will panic in all cases.

func (*DynamoDb) RestoreTableFromBackupRequest

RestoreTableFromBackupRequest is not implemented. It will panic in all cases.

func (*DynamoDb) RestoreTableFromBackupWithContext

RestoreTableFromBackupWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) RestoreTableToPointInTime

RestoreTableToPointInTime is not implemented. It will panic in all cases.

func (*DynamoDb) RestoreTableToPointInTimeRequest

RestoreTableToPointInTimeRequest is not implemented. It will panic in all cases.

func (*DynamoDb) RestoreTableToPointInTimeWithContext

RestoreTableToPointInTimeWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) Scan

func (db *DynamoDb) Scan(input *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)

Scan is not implemented. It will panic in all cases.

func (*DynamoDb) ScanPages

func (db *DynamoDb) ScanPages(i *dynamodb.ScanInput, fn func(*dynamodb.ScanOutput, bool) bool) error

ScanPages is not implemented. It will panic in all cases.

func (*DynamoDb) ScanPagesWithContext

func (db *DynamoDb) ScanPagesWithContext(_ aws.Context, i *dynamodb.ScanInput, fn func(*dynamodb.ScanOutput, bool) bool, _ ...request.Option) error

ScanPagesWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) ScanRequest

func (db *DynamoDb) ScanRequest(*dynamodb.ScanInput) (*request.Request, *dynamodb.ScanOutput)

ScanRequest is not implemented. It will panic in all cases.

func (*DynamoDb) ScanWithContext

func (db *DynamoDb) ScanWithContext(_ aws.Context, input *dynamodb.ScanInput, _ ...request.Option) (*dynamodb.ScanOutput, error)

ScanWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) TagResource

TagResource is not implemented. It will panic in all cases.

func (*DynamoDb) TagResourceRequest

TagResourceRequest is not implemented. It will panic in all cases.

func (*DynamoDb) TagResourceWithContext

TagResourceWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) TransactGetItems

TransactGetItems is not implemented. It will panic in all cases.

func (*DynamoDb) TransactGetItemsRequest

TransactGetItemsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) TransactGetItemsWithContext

TransactGetItemsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) TransactWriteItems

TransactWriteItems is not implemented. It will panic in all cases.

func (*DynamoDb) TransactWriteItemsRequest

TransactWriteItemsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) TransactWriteItemsWithContext

TransactWriteItemsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UntagResource

UntagResource is not implemented. It will panic in all cases.

func (*DynamoDb) UntagResourceRequest

UntagResourceRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UntagResourceWithContext

UntagResourceWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateContinuousBackups

UpdateContinuousBackups is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateContinuousBackupsRequest

UpdateContinuousBackupsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateContinuousBackupsWithContext

UpdateContinuousBackupsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateContributorInsights

UpdateContributorInsights is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateContributorInsightsRequest

UpdateContributorInsightsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateContributorInsightsWithContext

UpdateContributorInsightsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateGlobalTable

UpdateGlobalTable is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateGlobalTableRequest

UpdateGlobalTableRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateGlobalTableSettings

UpdateGlobalTableSettings is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateGlobalTableSettingsRequest

UpdateGlobalTableSettingsRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateGlobalTableSettingsWithContext

UpdateGlobalTableSettingsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateGlobalTableWithContext

UpdateGlobalTableWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateItem

UpdateItem is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateItemRequest

UpdateItemRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateItemWithContext

UpdateItemWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTable

UpdateTable is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTableReplicaAutoScaling

UpdateTableReplicaAutoScaling is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTableReplicaAutoScalingRequest

UpdateTableReplicaAutoScalingRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTableReplicaAutoScalingWithContext

UpdateTableReplicaAutoScalingWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTableRequest

UpdateTableRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTableWithContext

UpdateTableWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTimeToLive

UpdateTimeToLive is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTimeToLiveRequest

UpdateTimeToLiveRequest is not implemented. It will panic in all cases.

func (*DynamoDb) UpdateTimeToLiveWithContext

UpdateTimeToLiveWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) WaitUntilTableExists

func (db *DynamoDb) WaitUntilTableExists(*dynamodb.DescribeTableInput) error

WaitUntilTableExists is not implemented. It will panic in all cases.

func (*DynamoDb) WaitUntilTableExistsWithContext

func (db *DynamoDb) WaitUntilTableExistsWithContext(aws.Context, *dynamodb.DescribeTableInput, ...request.WaiterOption) error

WaitUntilTableExistsWithContext is not implemented. It will panic in all cases.

func (*DynamoDb) WaitUntilTableNotExists

func (db *DynamoDb) WaitUntilTableNotExists(*dynamodb.DescribeTableInput) error

WaitUntilTableNotExists is not implemented. It will panic in all cases.

func (*DynamoDb) WaitUntilTableNotExistsWithContext

func (db *DynamoDb) WaitUntilTableNotExistsWithContext(aws.Context, *dynamodb.DescribeTableInput, ...request.WaiterOption) error

WaitUntilTableNotExistsWithContext is not implemented. It will panic in all cases.

type Table

type Table struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Table) AddReturnPutItemOutput

func (t *Table) AddReturnPutItemOutput(outputs ...*dynamodb.PutItemOutput)

AddReturnPutItemOutput pushes a PutItemOutput that will then be returned by calls to PutItem() PutItemOutputs are returned in the same order in which they are pushed If nil is pushed then PutItem() will return an error

func (*Table) AddReturnQueryOutput

func (t *Table) AddReturnQueryOutput(outputs ...*dynamodb.QueryOutput)

AddReturnQueryOutput pushes a QueryOutput that will then be returned by calls to Query() QueryOutputs are returned in the same order in which they are pushed If nil is pushed then Query() will return an error

func (*Table) AddReturnScanOutput

func (t *Table) AddReturnScanOutput(outputs ...*dynamodb.ScanOutput)

AddReturnScanOutput pushes a ScanOutput that will then be returned by calls to Scan() ScanOutputs are returned in the same order in which they are pushed If nil is pushed then Scan() will return an error

func (*Table) ReceivedPutItemInputs

func (t *Table) ReceivedPutItemInputs() *[]dynamodb.PutItemInput

ReceivedPutItemInputs returns the PutItemInputs submitted by all calls to PutItem() The order of the elements returned is the order in which they were received by PutItem()

func (*Table) ReceivedQueryInputs

func (t *Table) ReceivedQueryInputs() *[]dynamodb.QueryInput

ReceivedQueryInputs returns the QueryInputs submitted by all calls to Query() The order of the elements returned is the order in which they were received by Query()

func (*Table) ReceivedScanInputs

func (t *Table) ReceivedScanInputs() *[]dynamodb.ScanInput

ReceivedScanInputs returns the ScanInputs submitted by all calls to Scan() The order of the elements returned is the order in which they were received by Scan()

Jump to

Keyboard shortcuts

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