driftctl/pkg/filter/filter.go

10 lines
250 B
Go

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