driftctl/test/aws/mock_FakeRequestFailure.go

109 lines
2.0 KiB
Go
Raw Normal View History

2021-05-04 16:37:45 +00:00
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
2021-05-04 16:37:45 +00:00
package aws
import mock "github.com/stretchr/testify/mock"
2021-05-04 16:37:45 +00:00
// MockFakeRequestFailure is an autogenerated mock type for the FakeRequestFailure type
type MockFakeRequestFailure struct {
mock.Mock
}
// Code provides a mock function with given fields:
2021-05-04 16:37:45 +00:00
func (_m *MockFakeRequestFailure) Code() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// Error provides a mock function with given fields:
2021-05-04 16:37:45 +00:00
func (_m *MockFakeRequestFailure) Error() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// HostID provides a mock function with given fields:
2021-05-04 16:37:45 +00:00
func (_m *MockFakeRequestFailure) HostID() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// Message provides a mock function with given fields:
2021-05-04 16:37:45 +00:00
func (_m *MockFakeRequestFailure) Message() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// OrigErr provides a mock function with given fields:
2021-05-04 16:37:45 +00:00
func (_m *MockFakeRequestFailure) OrigErr() error {
ret := _m.Called()
var r0 error
if rf, ok := ret.Get(0).(func() error); ok {
r0 = rf()
} else {
r0 = ret.Error(0)
}
return r0
}
// RequestID provides a mock function with given fields:
2021-05-04 16:37:45 +00:00
func (_m *MockFakeRequestFailure) RequestID() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// StatusCode provides a mock function with given fields:
2021-05-04 16:37:45 +00:00
func (_m *MockFakeRequestFailure) StatusCode() int {
ret := _m.Called()
var r0 int
if rf, ok := ret.Get(0).(func() int); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(int)
}
return r0
}