driftctl/pkg/filter/filter.go

10 lines
244 B
Go

package filter
import "github.com/snyk/driftctl/pkg/resource"
type Filter interface {
IsTypeIgnored(ty resource.ResourceType) bool
IsResourceIgnored(res *resource.Resource) bool
IsFieldIgnored(res *resource.Resource, path []string) bool
}