Documentation
¶
Overview ¶
Package filter implements common filters for the RDS (resource discovery service) providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FreshnessFilter ¶
type FreshnessFilter struct {
// contains filtered or unexported fields
}
FreshnessFilter implements a filter that succeeds only if the given time is within a pre-defined duration.
func NewFreshnessFilter ¶
func NewFreshnessFilter(dStr string) (*FreshnessFilter, error)
NewFreshnessFilter returns a new freshness filter.
type RegexFilter ¶
type RegexFilter struct {
// contains filtered or unexported fields
}
RegexFilter implements a regex based filter.
func NewRegexFilter ¶
func NewRegexFilter(regexStr string) (*RegexFilter, error)
NewRegexFilter returns a new regex filter.
Click to show internal directories.
Click to hide internal directories.