2021-02-24 15:26:12 +00:00
|
|
|
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
|
|
|
|
|
|
|
|
package repository
|
|
|
|
|
|
|
|
import (
|
|
|
|
lambda "github.com/aws/aws-sdk-go/service/lambda"
|
|
|
|
mock "github.com/stretchr/testify/mock"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MockLambdaRepository is an autogenerated mock type for the LambdaRepository type
|
|
|
|
type MockLambdaRepository struct {
|
|
|
|
mock.Mock
|
|
|
|
}
|
|
|
|
|
2021-03-01 15:04:43 +00:00
|
|
|
// ListAllLambdaEventSourceMappings provides a mock function with given fields:
|
|
|
|
func (_m *MockLambdaRepository) ListAllLambdaEventSourceMappings() ([]*lambda.EventSourceMappingConfiguration, error) {
|
|
|
|
ret := _m.Called()
|
|
|
|
|
|
|
|
var r0 []*lambda.EventSourceMappingConfiguration
|
|
|
|
if rf, ok := ret.Get(0).(func() []*lambda.EventSourceMappingConfiguration); ok {
|
|
|
|
r0 = rf()
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).([]*lambda.EventSourceMappingConfiguration)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func() error); ok {
|
|
|
|
r1 = rf()
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
2021-02-24 15:26:12 +00:00
|
|
|
// ListAllLambdaFunctions provides a mock function with given fields:
|
|
|
|
func (_m *MockLambdaRepository) ListAllLambdaFunctions() ([]*lambda.FunctionConfiguration, error) {
|
|
|
|
ret := _m.Called()
|
|
|
|
|
|
|
|
var r0 []*lambda.FunctionConfiguration
|
|
|
|
if rf, ok := ret.Get(0).(func() []*lambda.FunctionConfiguration); ok {
|
|
|
|
r0 = rf()
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
|
|
|
r0 = ret.Get(0).([]*lambda.FunctionConfiguration)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func() error); ok {
|
|
|
|
r1 = rf()
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|