53 lines
1.3 KiB
Go
53 lines
1.3 KiB
Go
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
|
|
|
|
package repository
|
|
|
|
import (
|
|
applicationautoscaling "github.com/aws/aws-sdk-go/service/applicationautoscaling"
|
|
mock "github.com/stretchr/testify/mock"
|
|
)
|
|
|
|
// MockAppAutoScalingRepository is an autogenerated mock type for the AppAutoScalingRepository type
|
|
type MockAppAutoScalingRepository struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// DescribeScalableTargets provides a mock function with given fields: _a0
|
|
func (_m *MockAppAutoScalingRepository) DescribeScalableTargets(_a0 string) ([]*applicationautoscaling.ScalableTarget, error) {
|
|
ret := _m.Called(_a0)
|
|
|
|
var r0 []*applicationautoscaling.ScalableTarget
|
|
if rf, ok := ret.Get(0).(func(string) []*applicationautoscaling.ScalableTarget); ok {
|
|
r0 = rf(_a0)
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).([]*applicationautoscaling.ScalableTarget)
|
|
}
|
|
}
|
|
|
|
var r1 error
|
|
if rf, ok := ret.Get(1).(func(string) error); ok {
|
|
r1 = rf(_a0)
|
|
} else {
|
|
r1 = ret.Error(1)
|
|
}
|
|
|
|
return r0, r1
|
|
}
|
|
|
|
// ServiceNamespaceValues provides a mock function with given fields:
|
|
func (_m *MockAppAutoScalingRepository) ServiceNamespaceValues() []string {
|
|
ret := _m.Called()
|
|
|
|
var r0 []string
|
|
if rf, ok := ret.Get(0).(func() []string); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).([]string)
|
|
}
|
|
}
|
|
|
|
return r0
|
|
}
|