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) 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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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.