driftctl/pkg/remote/aws/repository/mock_ECRRepository.go

37 lines
766 B
Go
Raw Normal View History

// Code generated by mockery v1.0.0. DO NOT EDIT.
package repository
import (
ecr "github.com/aws/aws-sdk-go/service/ecr"
mock "github.com/stretchr/testify/mock"
)
// MockECRRepository is an autogenerated mock type for the MockECRRepository type
type MockECRRepository struct {
mock.Mock
}
2021-03-02 12:47:30 +00:00
// ListAllRepositories provides a mock function with given fields:
func (_m *MockECRRepository) ListAllRepositories() ([]*ecr.Repository, error) {
ret := _m.Called()
var r0 []*ecr.Repository
if rf, ok := ret.Get(0).(func() []*ecr.Repository); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]*ecr.Repository)
}
}
var r1 error
if rf, ok := ret.Get(1).(func() error); ok {
r1 = rf()
} else {
r1 = ret.Error(1)
}
return r0, r1
}