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, input *dynamodb.QueryInput, ...) (*dynamodb.QueryOutput, 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{}, input interface{}, optFns ...interface{}) *DynamoDBClient_Query_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, input *dynamodb.QueryInput, ...)) *DynamoDBClient_Query_Call
- func (_c *DynamoDBClient_Query_Call) RunAndReturn(...) *DynamoDBClient_Query_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, input *dynamodb.QueryInput, optFns ...func(*dynamodb.Options)) (*dynamodb.QueryOutput, error)
Query provides a mock function with given fields: ctx, input, 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{}, input interface{}, optFns ...interface{}) *DynamoDBClient_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- input *dynamodb.QueryInput
- 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, input *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