37 lines
853 B
Go
37 lines
853 B
Go
// Code generated by mockery v1.0.0. DO NOT EDIT.
|
|
|
|
package mocks
|
|
|
|
import (
|
|
cloudfront "github.com/aws/aws-sdk-go/service/cloudfront"
|
|
mock "github.com/stretchr/testify/mock"
|
|
)
|
|
|
|
// CloudfrontRepository is an autogenerated mock type for the CloudfrontRepository type
|
|
type CloudfrontRepository struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// ListAllDistributions provides a mock function with given fields:
|
|
func (_m *CloudfrontRepository) ListAllDistributions() ([]*cloudfront.DistributionSummary, error) {
|
|
ret := _m.Called()
|
|
|
|
var r0 []*cloudfront.DistributionSummary
|
|
if rf, ok := ret.Get(0).(func() []*cloudfront.DistributionSummary); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).([]*cloudfront.DistributionSummary)
|
|
}
|
|
}
|
|
|
|
var r1 error
|
|
if rf, ok := ret.Get(1).(func() error); ok {
|
|
r1 = rf()
|
|
} else {
|
|
r1 = ret.Error(1)
|
|
}
|
|
|
|
return r0, r1
|
|
}
|