Documentation
¶
Index ¶
- type MockLambda
- type MockLambda_Expecter
- type MockLambda_Invoke_Call
- func (_c *MockLambda_Invoke_Call) Return(_a0 *lambda.InvokeOutput, _a1 error) *MockLambda_Invoke_Call
- func (_c *MockLambda_Invoke_Call) Run(run func(ctx context.Context, params *lambda.InvokeInput, ...)) *MockLambda_Invoke_Call
- func (_c *MockLambda_Invoke_Call) RunAndReturn(...) *MockLambda_Invoke_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLambda ¶
MockLambda is an autogenerated mock type for the Lambda type
func NewMockLambda ¶
func NewMockLambda(t interface { mock.TestingT Cleanup(func()) }) *MockLambda
NewMockLambda creates a new instance of MockLambda. 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 (*MockLambda) EXPECT ¶
func (_m *MockLambda) EXPECT() *MockLambda_Expecter
func (*MockLambda) Invoke ¶
func (_m *MockLambda) Invoke(ctx context.Context, params *lambda.InvokeInput, optFns ...func(*lambda.Options)) (*lambda.InvokeOutput, error)
Invoke provides a mock function with given fields: ctx, params, optFns
type MockLambda_Expecter ¶
type MockLambda_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLambda_Expecter) Invoke ¶
func (_e *MockLambda_Expecter) Invoke(ctx interface{}, params interface{}, optFns ...interface{}) *MockLambda_Invoke_Call
Invoke is a helper method to define mock.On call
- ctx context.Context
- params *lambda.InvokeInput
- optFns ...func(*lambda.Options)
type MockLambda_Invoke_Call ¶
MockLambda_Invoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Invoke'
func (*MockLambda_Invoke_Call) Return ¶
func (_c *MockLambda_Invoke_Call) Return(_a0 *lambda.InvokeOutput, _a1 error) *MockLambda_Invoke_Call
func (*MockLambda_Invoke_Call) Run ¶
func (_c *MockLambda_Invoke_Call) Run(run func(ctx context.Context, params *lambda.InvokeInput, optFns ...func(*lambda.Options))) *MockLambda_Invoke_Call
func (*MockLambda_Invoke_Call) RunAndReturn ¶
func (_c *MockLambda_Invoke_Call) RunAndReturn(run func(context.Context, *lambda.InvokeInput, ...func(*lambda.Options)) (*lambda.InvokeOutput, error)) *MockLambda_Invoke_Call
Click to show internal directories.
Click to hide internal directories.