Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterCommand ¶
type FilterCommand struct {
*cmds.CommandDescription
// contains filtered or unexported fields
}
FilterCommand implements a glazed command for filtering other commands
func NewFilterCommand ¶
func NewFilterCommand(commands []*cmds.CommandDescription) (*FilterCommand, error)
NewFilterCommand creates a new filter command with the given list of commands to filter
func (*FilterCommand) RunIntoGlazeProcessor ¶
func (c *FilterCommand) RunIntoGlazeProcessor( ctx context.Context, parsedLayers *layers.ParsedLayers, gp middlewares.Processor, ) error
RunIntoGlazeProcessor implements the GlazeCommand interface
type FilterSettings ¶
type FilterSettings struct {
Type string `glazed.parameter:"type"`
Types []string `glazed.parameter:"types"`
Tag string `glazed.parameter:"tag"`
Tags []string `glazed.parameter:"tags"`
AllTags []string `glazed.parameter:"all-tags"`
AnyTags []string `glazed.parameter:"any-tags"`
Path string `glazed.parameter:"path"`
PathGlob string `glazed.parameter:"path-glob"`
PathPrefix string `glazed.parameter:"path-prefix"`
Name string `glazed.parameter:"name"`
NamePattern string `glazed.parameter:"name-pattern"`
MetadataKey string `glazed.parameter:"metadata-key"`
MetadataValue string `glazed.parameter:"metadata-value"`
}
FilterSettings contains all the filter parameters
Click to show internal directories.
Click to hide internal directories.