Documentation ¶ Index ¶ func Register(name string, f factory) type Filter type Set func New(configs map[string]interface{}) (set Set, errs []error) func (set Set) Apply(nodesOrigin *runtime.Nodes) *runtime.Nodes Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Register ¶ func Register(name string, f factory) Register registers a new filter Types ¶ type Filter ¶ type Filter interface { Apply(*runtime.Node) *runtime.Node } Filter is a filter instance type Set ¶ type Set []Filter Set is a list of configured filters func New ¶ func New(configs map[string]interface{}) (set Set, errs []error) New returns and initializes a set of filters func (Set) Apply ¶ func (set Set) Apply(nodesOrigin *runtime.Nodes) *runtime.Nodes Apply applies the filter set to the given node list and returns a new node list Source Files ¶ View all filter.go Directories ¶ Expand all Path Synopsis blocklist domainappendsite domainassite haslocation inarea noowner site