Documentation
¶
Index ¶
- type DynamodbClient
- func (_m *DynamodbClient) DeleteItem(ctx context.Context, params *dynamodb.DeleteItemInput, ...) (*dynamodb.DeleteItemOutput, error)
- func (_m *DynamodbClient) EXPECT() *DynamodbClient_Expecter
- func (_m *DynamodbClient) GetItem(ctx context.Context, params *dynamodb.GetItemInput, ...) (*dynamodb.GetItemOutput, error)
- func (_m *DynamodbClient) PutItem(ctx context.Context, params *dynamodb.PutItemInput, ...) (*dynamodb.PutItemOutput, error)
- func (_m *DynamodbClient) Query(ctx context.Context, params *dynamodb.QueryInput, ...) (*dynamodb.QueryOutput, error)
- func (_m *DynamodbClient) Scan(ctx context.Context, params *dynamodb.ScanInput, ...) (*dynamodb.ScanOutput, error)
- func (_m *DynamodbClient) TransactWriteItems(ctx context.Context, params *dynamodb.TransactWriteItemsInput, ...) (*dynamodb.TransactWriteItemsOutput, error)
- func (_m *DynamodbClient) UpdateItem(ctx context.Context, params *dynamodb.UpdateItemInput, ...) (*dynamodb.UpdateItemOutput, error)
- type DynamodbClient_DeleteItem_Call
- func (_c *DynamodbClient_DeleteItem_Call) Return(_a0 *dynamodb.DeleteItemOutput, _a1 error) *DynamodbClient_DeleteItem_Call
- func (_c *DynamodbClient_DeleteItem_Call) Run(run func(ctx context.Context, params *dynamodb.DeleteItemInput, ...)) *DynamodbClient_DeleteItem_Call
- func (_c *DynamodbClient_DeleteItem_Call) RunAndReturn(...) *DynamodbClient_DeleteItem_Call
- type DynamodbClient_Expecter
- func (_e *DynamodbClient_Expecter) DeleteItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_DeleteItem_Call
- func (_e *DynamodbClient_Expecter) GetItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_GetItem_Call
- func (_e *DynamodbClient_Expecter) PutItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_PutItem_Call
- func (_e *DynamodbClient_Expecter) Query(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_Query_Call
- func (_e *DynamodbClient_Expecter) Scan(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_Scan_Call
- func (_e *DynamodbClient_Expecter) TransactWriteItems(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_TransactWriteItems_Call
- func (_e *DynamodbClient_Expecter) UpdateItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_UpdateItem_Call
- type DynamodbClient_GetItem_Call
- func (_c *DynamodbClient_GetItem_Call) Return(_a0 *dynamodb.GetItemOutput, _a1 error) *DynamodbClient_GetItem_Call
- func (_c *DynamodbClient_GetItem_Call) Run(run func(ctx context.Context, params *dynamodb.GetItemInput, ...)) *DynamodbClient_GetItem_Call
- func (_c *DynamodbClient_GetItem_Call) RunAndReturn(...) *DynamodbClient_GetItem_Call
- type DynamodbClient_PutItem_Call
- func (_c *DynamodbClient_PutItem_Call) Return(_a0 *dynamodb.PutItemOutput, _a1 error) *DynamodbClient_PutItem_Call
- func (_c *DynamodbClient_PutItem_Call) Run(run func(ctx context.Context, params *dynamodb.PutItemInput, ...)) *DynamodbClient_PutItem_Call
- func (_c *DynamodbClient_PutItem_Call) RunAndReturn(...) *DynamodbClient_PutItem_Call
- type DynamodbClient_Query_Call
- func (_c *DynamodbClient_Query_Call) Return(_a0 *dynamodb.QueryOutput, _a1 error) *DynamodbClient_Query_Call
- func (_c *DynamodbClient_Query_Call) Run(run func(ctx context.Context, params *dynamodb.QueryInput, ...)) *DynamodbClient_Query_Call
- func (_c *DynamodbClient_Query_Call) RunAndReturn(...) *DynamodbClient_Query_Call
- type DynamodbClient_Scan_Call
- func (_c *DynamodbClient_Scan_Call) Return(_a0 *dynamodb.ScanOutput, _a1 error) *DynamodbClient_Scan_Call
- func (_c *DynamodbClient_Scan_Call) Run(run func(ctx context.Context, params *dynamodb.ScanInput, ...)) *DynamodbClient_Scan_Call
- func (_c *DynamodbClient_Scan_Call) RunAndReturn(...) *DynamodbClient_Scan_Call
- type DynamodbClient_TransactWriteItems_Call
- func (_c *DynamodbClient_TransactWriteItems_Call) Return(_a0 *dynamodb.TransactWriteItemsOutput, _a1 error) *DynamodbClient_TransactWriteItems_Call
- func (_c *DynamodbClient_TransactWriteItems_Call) Run(run func(ctx context.Context, params *dynamodb.TransactWriteItemsInput, ...)) *DynamodbClient_TransactWriteItems_Call
- func (_c *DynamodbClient_TransactWriteItems_Call) RunAndReturn(...) *DynamodbClient_TransactWriteItems_Call
- type DynamodbClient_UpdateItem_Call
- func (_c *DynamodbClient_UpdateItem_Call) Return(_a0 *dynamodb.UpdateItemOutput, _a1 error) *DynamodbClient_UpdateItem_Call
- func (_c *DynamodbClient_UpdateItem_Call) Run(run func(ctx context.Context, params *dynamodb.UpdateItemInput, ...)) *DynamodbClient_UpdateItem_Call
- func (_c *DynamodbClient_UpdateItem_Call) RunAndReturn(...) *DynamodbClient_UpdateItem_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamodbClient ¶
DynamodbClient is an autogenerated mock type for the DynamodbClient type
func NewDynamodbClient ¶
func NewDynamodbClient(t interface {
mock.TestingT
Cleanup(func())
}) *DynamodbClient
NewDynamodbClient creates a new instance of DynamodbClient. 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 (*DynamodbClient) DeleteItem ¶
func (_m *DynamodbClient) 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 (*DynamodbClient) EXPECT ¶
func (_m *DynamodbClient) EXPECT() *DynamodbClient_Expecter
func (*DynamodbClient) GetItem ¶
func (_m *DynamodbClient) 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 (*DynamodbClient) PutItem ¶
func (_m *DynamodbClient) 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 (*DynamodbClient) Query ¶
func (_m *DynamodbClient) 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 (*DynamodbClient) Scan ¶
func (_m *DynamodbClient) 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 (*DynamodbClient) TransactWriteItems ¶
func (_m *DynamodbClient) 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 (*DynamodbClient) UpdateItem ¶
func (_m *DynamodbClient) 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
type DynamodbClient_DeleteItem_Call ¶
DynamodbClient_DeleteItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteItem'
func (*DynamodbClient_DeleteItem_Call) Return ¶
func (_c *DynamodbClient_DeleteItem_Call) Return(_a0 *dynamodb.DeleteItemOutput, _a1 error) *DynamodbClient_DeleteItem_Call
func (*DynamodbClient_DeleteItem_Call) Run ¶
func (_c *DynamodbClient_DeleteItem_Call) Run(run func(ctx context.Context, params *dynamodb.DeleteItemInput, optFns ...func(*dynamodb.Options))) *DynamodbClient_DeleteItem_Call
func (*DynamodbClient_DeleteItem_Call) RunAndReturn ¶
func (_c *DynamodbClient_DeleteItem_Call) RunAndReturn(run func(context.Context, *dynamodb.DeleteItemInput, ...func(*dynamodb.Options)) (*dynamodb.DeleteItemOutput, error)) *DynamodbClient_DeleteItem_Call
type DynamodbClient_Expecter ¶
type DynamodbClient_Expecter struct {
// contains filtered or unexported fields
}
func (*DynamodbClient_Expecter) DeleteItem ¶
func (_e *DynamodbClient_Expecter) DeleteItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_DeleteItem_Call
DeleteItem is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.DeleteItemInput
- optFns ...func(*dynamodb.Options)
func (*DynamodbClient_Expecter) GetItem ¶
func (_e *DynamodbClient_Expecter) GetItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_GetItem_Call
GetItem is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.GetItemInput
- optFns ...func(*dynamodb.Options)
func (*DynamodbClient_Expecter) PutItem ¶
func (_e *DynamodbClient_Expecter) PutItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_PutItem_Call
PutItem is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.PutItemInput
- optFns ...func(*dynamodb.Options)
func (*DynamodbClient_Expecter) Query ¶
func (_e *DynamodbClient_Expecter) Query(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.QueryInput
- optFns ...func(*dynamodb.Options)
func (*DynamodbClient_Expecter) Scan ¶
func (_e *DynamodbClient_Expecter) Scan(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_Scan_Call
Scan is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.ScanInput
- optFns ...func(*dynamodb.Options)
func (*DynamodbClient_Expecter) TransactWriteItems ¶
func (_e *DynamodbClient_Expecter) TransactWriteItems(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_TransactWriteItems_Call
TransactWriteItems is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.TransactWriteItemsInput
- optFns ...func(*dynamodb.Options)
func (*DynamodbClient_Expecter) UpdateItem ¶
func (_e *DynamodbClient_Expecter) UpdateItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamodbClient_UpdateItem_Call
UpdateItem is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.UpdateItemInput
- optFns ...func(*dynamodb.Options)
type DynamodbClient_GetItem_Call ¶
DynamodbClient_GetItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetItem'
func (*DynamodbClient_GetItem_Call) Return ¶
func (_c *DynamodbClient_GetItem_Call) Return(_a0 *dynamodb.GetItemOutput, _a1 error) *DynamodbClient_GetItem_Call
func (*DynamodbClient_GetItem_Call) Run ¶
func (_c *DynamodbClient_GetItem_Call) Run(run func(ctx context.Context, params *dynamodb.GetItemInput, optFns ...func(*dynamodb.Options))) *DynamodbClient_GetItem_Call
func (*DynamodbClient_GetItem_Call) RunAndReturn ¶
func (_c *DynamodbClient_GetItem_Call) RunAndReturn(run func(context.Context, *dynamodb.GetItemInput, ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error)) *DynamodbClient_GetItem_Call
type DynamodbClient_PutItem_Call ¶
DynamodbClient_PutItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutItem'
func (*DynamodbClient_PutItem_Call) Return ¶
func (_c *DynamodbClient_PutItem_Call) Return(_a0 *dynamodb.PutItemOutput, _a1 error) *DynamodbClient_PutItem_Call
func (*DynamodbClient_PutItem_Call) Run ¶
func (_c *DynamodbClient_PutItem_Call) Run(run func(ctx context.Context, params *dynamodb.PutItemInput, optFns ...func(*dynamodb.Options))) *DynamodbClient_PutItem_Call
func (*DynamodbClient_PutItem_Call) RunAndReturn ¶
func (_c *DynamodbClient_PutItem_Call) RunAndReturn(run func(context.Context, *dynamodb.PutItemInput, ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error)) *DynamodbClient_PutItem_Call
type DynamodbClient_Query_Call ¶
DynamodbClient_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*DynamodbClient_Query_Call) Return ¶
func (_c *DynamodbClient_Query_Call) Return(_a0 *dynamodb.QueryOutput, _a1 error) *DynamodbClient_Query_Call
func (*DynamodbClient_Query_Call) Run ¶
func (_c *DynamodbClient_Query_Call) Run(run func(ctx context.Context, params *dynamodb.QueryInput, optFns ...func(*dynamodb.Options))) *DynamodbClient_Query_Call
func (*DynamodbClient_Query_Call) RunAndReturn ¶
func (_c *DynamodbClient_Query_Call) RunAndReturn(run func(context.Context, *dynamodb.QueryInput, ...func(*dynamodb.Options)) (*dynamodb.QueryOutput, error)) *DynamodbClient_Query_Call
type DynamodbClient_Scan_Call ¶
DynamodbClient_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*DynamodbClient_Scan_Call) Return ¶
func (_c *DynamodbClient_Scan_Call) Return(_a0 *dynamodb.ScanOutput, _a1 error) *DynamodbClient_Scan_Call
func (*DynamodbClient_Scan_Call) Run ¶
func (_c *DynamodbClient_Scan_Call) Run(run func(ctx context.Context, params *dynamodb.ScanInput, optFns ...func(*dynamodb.Options))) *DynamodbClient_Scan_Call
func (*DynamodbClient_Scan_Call) RunAndReturn ¶
func (_c *DynamodbClient_Scan_Call) RunAndReturn(run func(context.Context, *dynamodb.ScanInput, ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error)) *DynamodbClient_Scan_Call
type DynamodbClient_TransactWriteItems_Call ¶
DynamodbClient_TransactWriteItems_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactWriteItems'
func (*DynamodbClient_TransactWriteItems_Call) Return ¶
func (_c *DynamodbClient_TransactWriteItems_Call) Return(_a0 *dynamodb.TransactWriteItemsOutput, _a1 error) *DynamodbClient_TransactWriteItems_Call
func (*DynamodbClient_TransactWriteItems_Call) Run ¶
func (_c *DynamodbClient_TransactWriteItems_Call) Run(run func(ctx context.Context, params *dynamodb.TransactWriteItemsInput, optFns ...func(*dynamodb.Options))) *DynamodbClient_TransactWriteItems_Call
func (*DynamodbClient_TransactWriteItems_Call) RunAndReturn ¶
func (_c *DynamodbClient_TransactWriteItems_Call) RunAndReturn(run func(context.Context, *dynamodb.TransactWriteItemsInput, ...func(*dynamodb.Options)) (*dynamodb.TransactWriteItemsOutput, error)) *DynamodbClient_TransactWriteItems_Call
type DynamodbClient_UpdateItem_Call ¶
DynamodbClient_UpdateItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateItem'
func (*DynamodbClient_UpdateItem_Call) Return ¶
func (_c *DynamodbClient_UpdateItem_Call) Return(_a0 *dynamodb.UpdateItemOutput, _a1 error) *DynamodbClient_UpdateItem_Call
func (*DynamodbClient_UpdateItem_Call) Run ¶
func (_c *DynamodbClient_UpdateItem_Call) Run(run func(ctx context.Context, params *dynamodb.UpdateItemInput, optFns ...func(*dynamodb.Options))) *DynamodbClient_UpdateItem_Call
func (*DynamodbClient_UpdateItem_Call) RunAndReturn ¶
func (_c *DynamodbClient_UpdateItem_Call) RunAndReturn(run func(context.Context, *dynamodb.UpdateItemInput, ...func(*dynamodb.Options)) (*dynamodb.UpdateItemOutput, error)) *DynamodbClient_UpdateItem_Call