Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildExpression ¶
Types ¶
type DriftIgnore ¶
type DriftIgnore struct {
// contains filtered or unexported fields
}
func NewDriftIgnore ¶
func NewDriftIgnore(path string, ignorePatterns ...string) *DriftIgnore
func (*DriftIgnore) IsFieldIgnored ¶
func (r *DriftIgnore) IsFieldIgnored(res *resource.Resource, path []string) bool
func (*DriftIgnore) IsResourceIgnored ¶
func (r *DriftIgnore) IsResourceIgnored(res *resource.Resource) bool
func (*DriftIgnore) IsTypeIgnored ¶
func (r *DriftIgnore) IsTypeIgnored(ty resource.ResourceType) bool
type FilterEngine ¶
type FilterEngine struct {
// contains filtered or unexported fields
}
func NewFilterEngine ¶
func NewFilterEngine(expr *jmespath.JMESPath) *FilterEngine
type MockFilter ¶
MockFilter is an autogenerated mock type for the Filter type
func NewMockFilter ¶
func NewMockFilter(t mockConstructorTestingTNewMockFilter) *MockFilter
NewMockFilter creates a new instance of MockFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockFilter) IsFieldIgnored ¶
func (_m *MockFilter) IsFieldIgnored(res *resource.Resource, path []string) bool
IsFieldIgnored provides a mock function with given fields: res, path
func (*MockFilter) IsResourceIgnored ¶
func (_m *MockFilter) IsResourceIgnored(res *resource.Resource) bool
IsResourceIgnored provides a mock function with given fields: res
func (*MockFilter) IsTypeIgnored ¶
func (_m *MockFilter) IsTypeIgnored(ty resource.ResourceType) bool
IsTypeIgnored provides a mock function with given fields: ty
Click to show internal directories.
Click to hide internal directories.