Documentation ¶
Index ¶
- func Constrains[T dynamo.Thing](returnVal map[string]types.AttributeValue) dynamo.KeyValNoContext[T]
- func DeleteItem[T dynamo.Thing](expectKey *map[string]types.AttributeValue) dynamo.KeyValNoContext[T]
- func GetItem[T dynamo.Thing](expectKey *map[string]types.AttributeValue, ...) dynamo.KeyValNoContext[T]
- func PutItem[T dynamo.Thing](expectVal *map[string]types.AttributeValue) dynamo.KeyValNoContext[T]
- func Query[T dynamo.Thing](expectKey *map[string]types.AttributeValue, returnLen int, ...) dynamo.KeyValNoContext[T]
- func UpdateItem[T dynamo.Thing](expectKey *map[string]types.AttributeValue, ...) dynamo.KeyValNoContext[T]
- type MockDynamoDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Constrains ¶
func Constrains[T dynamo.Thing]( returnVal map[string]types.AttributeValue, ) dynamo.KeyValNoContext[T]
func DeleteItem ¶
func DeleteItem[T dynamo.Thing]( expectKey *map[string]types.AttributeValue, ) dynamo.KeyValNoContext[T]
DeleteItem mock
func GetItem ¶
func GetItem[T dynamo.Thing]( expectKey *map[string]types.AttributeValue, returnVal *map[string]types.AttributeValue, ) dynamo.KeyValNoContext[T]
GetItem mocks
func PutItem ¶
func PutItem[T dynamo.Thing]( expectVal *map[string]types.AttributeValue, ) dynamo.KeyValNoContext[T]
PutItem mock
func Query ¶
func Query[T dynamo.Thing]( expectKey *map[string]types.AttributeValue, returnLen int, returnVal *map[string]types.AttributeValue, returnLastKey *map[string]types.AttributeValue, ) dynamo.KeyValNoContext[T]
Query mock
func UpdateItem ¶
func UpdateItem[T dynamo.Thing]( expectKey *map[string]types.AttributeValue, expectVal *map[string]types.AttributeValue, returnVal *map[string]types.AttributeValue, ) dynamo.KeyValNoContext[T]
UpdateItem mock
Types ¶
Click to show internal directories.
Click to hide internal directories.