Documentation ¶
Overview ¶
Package filter provides helpers for filtering objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TagClause ¶
type TagClause struct { // Op is the clause operation logic. Op Operation // Tag is the tag name if this is a leaf node. Tag string // Children is the list of children branches (if any) Children []TagClause }
TagClause represents a tag filter clause.
func ParseTagClauses ¶
ParseTagClauses parses the list of filters provided into a TagClause matcher. It returns a boolean telling if the clauses are not empty.
Click to show internal directories.
Click to hide internal directories.