driftctl/enumeration/mock_Filter.go

56 lines
1.2 KiB
Go

// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
package enumeration
import (
resource "github.com/snyk/driftctl/enumeration/resource"
mock "github.com/stretchr/testify/mock"
)
// MockFilter is an autogenerated mock type for the Filter type
type MockFilter struct {
mock.Mock
}
// IsFieldIgnored provides a mock function with given fields: res, path
func (_m *MockFilter) IsFieldIgnored(res *resource.Resource, path []string) bool {
ret := _m.Called(res, path)
var r0 bool
if rf, ok := ret.Get(0).(func(*resource.Resource, []string) bool); ok {
r0 = rf(res, path)
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// IsResourceIgnored provides a mock function with given fields: res
func (_m *MockFilter) IsResourceIgnored(res *resource.Resource) bool {
ret := _m.Called(res)
var r0 bool
if rf, ok := ret.Get(0).(func(*resource.Resource) bool); ok {
r0 = rf(res)
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// IsTypeIgnored provides a mock function with given fields: ty
func (_m *MockFilter) IsTypeIgnored(ty resource.ResourceType) bool {
ret := _m.Called(ty)
var r0 bool
if rf, ok := ret.Get(0).(func(resource.ResourceType) bool); ok {
r0 = rf(ty)
} else {
r0 = ret.Get(0).(bool)
}
return r0
}