driftctl/mocks/FakeRequestFailure.go

109 lines
2.0 KiB
Go
Raw Normal View History

// Code generated by mockery v2.3.0. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
// FakeRequestFailure is an autogenerated mock type for the FakeRequestFailure type
type FakeRequestFailure struct {
mock.Mock
}
// Code provides a mock function with given fields:
func (_m *FakeRequestFailure) 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:
func (_m *FakeRequestFailure) 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:
func (_m *FakeRequestFailure) 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:
func (_m *FakeRequestFailure) 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:
func (_m *FakeRequestFailure) 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:
func (_m *FakeRequestFailure) 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:
func (_m *FakeRequestFailure) 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
}