mock

package
v0.0.0-...-8ba208c Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MockTableName = "profiles"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	dynamodbiface.DynamoDBAPI

	PutItemOutputToReturn *dynamodb.PutItemOutput
	PutItemErrorToReturn  error

	GetItemOutputToReturn *dynamodb.GetItemOutput
	GetItemReturnObject   interface{}
	GetItemErrorToReturn  error

	DeleteItemOutputToReturn *dynamodb.DeleteItemOutput
	DeleteItemErrorToReturn  error
}

func (DB) DeleteItemWithContext

func (m DB) DeleteItemWithContext(ctx context.Context, input *dynamodb.DeleteItemInput, options ...request.Option) (*dynamodb.DeleteItemOutput, error)

func (DB) GetItemWithContext

func (m DB) GetItemWithContext(ctx context.Context, input *dynamodb.GetItemInput, options ...request.Option) (*dynamodb.GetItemOutput, error)

func (DB) PutItemWithContext

func (m DB) PutItemWithContext(ctx context.Context, input *dynamodb.PutItemInput, options ...request.Option) (*dynamodb.PutItemOutput, error)

Jump to

Keyboard shortcuts

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