Documentation ¶
Index ¶
- type DynamodbClient
- type DynamodbClient_Expecter
- 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 Lock
- type Lock_Expecter
- type Lock_Refresh_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 mockConstructorTestingTNewDynamodbClient) *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.
func (*DynamodbClient) EXPECT ¶
func (_m *DynamodbClient) EXPECT() *DynamodbClient_Expecter
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
type DynamodbClient_Expecter ¶
type DynamodbClient_Expecter struct {
// contains filtered or unexported fields
}
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)
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 ¶ added in v0.0.12
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 ¶ added in v0.0.12
func (_c *DynamodbClient_Scan_Call) RunAndReturn(run func(context.Context, *dynamodb.ScanInput, ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error)) *DynamodbClient_Scan_Call
type Lock ¶
Lock is an autogenerated mock type for the Lock type
func NewLock ¶
func NewLock(t mockConstructorTestingTNewLock) *Lock
NewLock creates a new instance of Lock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Lock) EXPECT ¶
func (_m *Lock) EXPECT() *Lock_Expecter
type Lock_Expecter ¶
type Lock_Expecter struct {
// contains filtered or unexported fields
}
func (*Lock_Expecter) Refresh ¶
func (_e *Lock_Expecter) Refresh(ctx interface{}) *Lock_Refresh_Call
Refresh is a helper method to define mock.On call
- ctx context.Context
type Lock_Refresh_Call ¶
Lock_Refresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Refresh'
func (*Lock_Refresh_Call) Return ¶
func (_c *Lock_Refresh_Call) Return(_a0 error) *Lock_Refresh_Call
func (*Lock_Refresh_Call) Run ¶
func (_c *Lock_Refresh_Call) Run(run func(ctx context.Context)) *Lock_Refresh_Call
func (*Lock_Refresh_Call) RunAndReturn ¶ added in v0.0.12
func (_c *Lock_Refresh_Call) RunAndReturn(run func(context.Context) error) *Lock_Refresh_Call